What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » dialog boxes

dialog boxes
Author: Message:
DeBiese
New Member
*


Posts: 4
42 / Male / –
Joined: Aug 2006
RE: dialog boxes
I tried this code, but i always get 'ret = 1'...

    WriteDWORD(84, 0); // FlagsEx
    } with OpenFileName


I had to remove the with OpenFileName at the end. Otherwise my script wouldn't even start...

Now, can anyone tell me if there's an error on this page?
And if this should work, how do i obtain the path to the file when i click open in the dialog box?


[EDIT]

Never mind i found it:

ret = 0 => Cancel is clicked
ret = 1 => Open is clicked
  var file = s_file.ReadString(0) => the full path to the chosen file

[/EDIT]

This post was edited on 09-13-2006 at 08:09 PM by DeBiese.
09-13-2006 06:10 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
dialog boxes - by teddytim on 07-10-2006 at 01:34 AM
RE: dialog boxes - by matty on 07-10-2006 at 01:43 AM
RE: dialog boxes - by DeBiese on 09-13-2006 at 06:10 PM
RE: dialog boxes - by Dempsey on 09-13-2006 at 06:23 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On