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