matty
Scripting Guru
Posts: 8336 Reputation: 109
39 / /
Joined: Dec 2002
Status: Away
|
RE: Little help for Opendlg and .lnk file pls
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);
}
|
|