What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Thx ;)]Little help for Opendlg and .lnk file pls

[Thx ;)]Little help for Opendlg and .lnk file pls
Author: Message:
Flash
Junior Member
**

Avatar
All time Ready

Posts: 86
Reputation: 2
44 / Male / Flag
Joined: Aug 2006
O.P. Undecided  [Thx ;)]Little help for Opendlg and .lnk file pls
Its possible to get the parameter of a .lnk file when i select them with this code????

code:
var oOpenDlg = new ActiveXObject("UserAccounts.CommonDialog");
//var FSO = new ActiveXObject("Scripting.FileSystemObject");
//var sourceFile = pPlusWnd.GetControlText('EdtFrom').replace(/(^\s*)|(\s*$)/g, '');
// Open a Common OpenFile dialog
oOpenDlg.FileName = sourceFile;
oOpenDlg.Filter = 'Game Executable (*.exe,*.lnk)|*.exe;*.lnk'

oOpenDlg.FilterIndex = (oOpenDlg.FileName === '' || oOpenDlg.Filter.indexOf("." + FsObj.GetExtensionName(oOpenDlg.FileName).toUpperCase() + ';') !== -1) ? 1 : 2;
oOpenDlg.Flags = 0x1000 | 0x800 | 0x4;
oOpenDlg.ShowOpen();
edit omg

This post was edited on 03-14-2007 at 02:55 AM by Flash.
My script: Psdp
03-03-2007 02:39 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Thx ;)]Little help for Opendlg and .lnk file pls - by Flash on 03-03-2007 at 02:39 PM
RE: Little help for Opendlg and .ink file pls - by ShawnZ on 03-03-2007 at 02:41 PM
RE: Little help for Opendlg and .ink file pls - by MeEtc on 03-03-2007 at 03:07 PM
Little help for Opendlg and .lnk file pls - by Flash on 03-03-2007 at 08:58 PM
RE: Little help for Opendlg and .lnk file pls - by Flash on 03-12-2007 at 03:01 AM
RE: Little help for Opendlg and .lnk file pls - by matty on 03-12-2007 at 07:01 AM
RE: Little help for Opendlg and .lnk file pls - by Flash on 03-13-2007 at 12:05 AM
RE: Little help for Opendlg and .lnk file pls - by matty on 03-13-2007 at 06:48 AM
RE: Little help for Opendlg and .lnk file pls - by Flash on 03-13-2007 at 09:30 AM
RE: [Thx ;)]Little help for Opendlg and .lnk file pls - by CookieRevised on 03-14-2007 at 07:03 AM
RE: [Thx ;)]Little help for Opendlg and .lnk file pls - by Flash on 03-14-2007 at 01:13 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