Posts: 3146 Reputation: 43
32 / /
Joined: Jan 2003
RE: Little help for Opendlg and .ink file pls
what is an ink file?
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
lol thx but i want, when is select the lnk file with opendialog its possible to got the parameter eg:
"H:\Battlefield 2142\BF2142Launcher.exe" +menu 1 +fullscreen 1 +eaAccountName Flash +eaAccountPassword 112323 +soldierName Flash27
This post was edited on 03-03-2007 at 08:58 PM by Flash.
code:function OnEvent_Initialize(_bMessengerStart){ /*
Initialize the shortcut to read the properties
*/ var _oShortcut = new ActiveXObject('WScript.Shell' ).CreateShortcut('C:\\firefox.exe.lnk');
/*
Print out the properties of the icon
*/
Debug.Trace('.TargetPath : '+_oShortcut.TargetPath);
Debug.Trace('.Arguments : '+_oShortcut.Arguments);
Debug.Trace('.IconLocation : '+_oShortcut.IconLocation);
}
RE: [Thx ;)]Little help for Opendlg and .lnk file pls
If this is for starting up programs, you don't need to look into the shortcut file. A shortcut file is especially there so you simply can run it like any other program and it will start up the 'parameter' (as you call it) anyways.