2013-07-09, 13:40
(2013-07-06, 16:21)Angelscry Wrote:(2013-07-04, 08:22)lokipoki Wrote:I have taken time to test it on my Windows system this morning and all the last information I have send you are working perfectly on my system. Are you sure you have compiled your autoit script correctly?(2013-07-04, 04:24)Angelscry Wrote: When Advanced Launcher .lnk support is activated, .lnk files are started by explorer.exe. So in your case, lnk file are effectively started (by explorer.exe) but test.exe is not started. When Advanced Launcher .lnk support is desactivated, .lnk files are started by the application defined into the launcher. So in your case, test.exe is started, but not the .lnk files (because your test.exe executable have nothing inside its code to manage and start .lnk files).
Remember that .lnk files ARE NOT executables. .lnk files are shortcuts managed by explorer.exe to redirect to another executable fand start it.
To make you test.exe file working it must manage .lnk files paths as argument and be able to start these lnk. files. According to this page, the way to start .lnk files using autoit is :
Code:Run(@ComSpec & " /c " & '"C:\Documents and Settings\All Users\Menu Démarrer\Programmes\Microsoft AntiSpyware\Uninstall Microsoft AntiSpyware.lnk"', "", @SW_HIDE)
So to work with Advanced Launcher, your script must be something like this :
Code:Run(@ComSpec & " /c " & '"' & $CmdLine[1] & '"', "", @SW_HIDE)
And your launcher configuration must be like this :
Application : D:\HTPC\Games\PC\Test.exe
Arguments : "%rom%"
File Extension : lnk
.lnk support : OFF
Ok. I tried exactly that. But when select a game nothing happens
Hey. I just made a completely new launcher with all those settings. And its working !!! I dont see anything I did different than before. But thanks I really appreciate your time and afford. Now Im setting up the fanart + rotating disc just like I did with pcsx2. I get back to you if need help with that
Cheers.