2013-06-23, 13:50
(2013-06-23, 06:02)lokipoki Wrote:Ok... I doesn't work because you cannot pass the argument ($CmdLine[1]) through the first .LNK file. Because it is not :(2013-06-22, 02:38)lokipoki Wrote:(2013-06-21, 14:04)Angelscry Wrote: Go into your launcher settings ("C" key) > Edit Launcher > Advanced Modifications > Toogle XBMC into Windows Mode > and set this option to OFF.
First, according to your launcher setup, you are not starting your autoit script but explorer.exe :
Code:...
<application>C:\Windows\explorer.exe</application>
...
Second, if you want to use .lnk files but not let Advanced Launcher start them natively you need to go into you ("C" key) > Edit Launcher > Advanced Modifications > Shortcuts (.lnk) support > and set this option to OFF.
Ok. I try that when I come home...
I turn of the ink. but nothing happens. Also I dont use the launcher.exe as application because all of the .ink in D:\HTPC\Games\PC\ point to the launcher.exe. I hope you understand what you mean.
.ink+explorer.exe (XBMC)>launcher.exe>.ink (Games)
I think the problem is somewhere in my code:
Code:Run(@ComSpec & ' /c "D:\HTPC\Games\PC\' & $CmdLine[1] & '.lnk"', @DesktopCommonDir, @SW_HIDE)
I think it doesnt pass on the .ink extension to my launcher.exe. But I can only guess.
Cheers.
Code:
.ink+explorer.exe (XBMC)>launcher.exe>.ink (Games)
but :
Code:
explorer.exe (XBMC)> .lnk > launcher.exe>.lnk (Games)
than happen. So the %romname% is send to .lnk file and it is not able to send it to launcher.exe. I don't understand why you manage 2 .lnk files for each game when you can only do this with one :
Code:
launcher.exe (XBMC)>.lnk (Games)