2013-06-22, 02:38
(2013-06-21, 14:04)Angelscry Wrote:(2013-06-21, 08:14)itwasme2001 Wrote: If i launch a Program the XBMC is getting minimized. But i want to start the program in front of the xbmc.Go into your launcher settings ("C" key) > Edit Launcher > Advanced Modifications > Toogle XBMC into Windows Mode > and set this option to OFF.
This works in the last version of advanced launcher... what can i do
(2013-06-21, 11:46)lokipoki Wrote:(2013-06-19, 15:58)Angelscry Wrote: Oupsss... try this instead :
Code:Run(@ComSpec & ' /c "D:\HTPC\Games\PC\' & $CmdLine[1] & '.lnk"', @DesktopCommonDir, @SW_HIDE)
It still doesn't work. Here is my whole scenario again:
Folder structure:
Ink I read into advanced launcher:
D:\HTPC\Games\PC\
Ink which will be executed through launcher.exe
D:\HTPC\Games\PC\Ink\
Application: explorer.exe
Arguments:%romname%
So I'm using the .ink in D:\HTPC\Games\PC\ to execute the launcher.exe which has this code:
Code:Run(@ComSpec & ' /c "D:\HTPC\Games\PC\' & $CmdLine[1] & '.lnk"', @DesktopCommonDir, @SW_HIDE)
I get this error:
Windows cant find Alan Wake (in this case). Make sure you typed in the name correctly , and then try again.
Here the launcher:
Code:<launcher>
<id>1e9be597e592f2f0110aafef6cf7239f</id>
<name>explorer</name>
<category>default</category>
<application>C:\Windows\explorer.exe</application>
<args>%romname%</args>
<rompath>D:\HTPC\Games\PC\</rompath>
<thumbpath>D:\HTPC\Games\PC\boxfront\</thumbpath>
<fanartpath>D:\HTPC\Games\PC\screenshot\</fanartpath>
<trailerpath></trailerpath>
<custompath></custompath>
<romext>lnk</romext>
<platform>IBM PC Compatible</platform>
<thumb></thumb>
<fanart></fanart>
<genre></genre>
<release></release>
<publisher></publisher>
<launcherplot></launcherplot>
<finished>false</finished>
<minimize>false</minimize>
<lnk>true</lnk>
<roms>
<rom>
<id>d7e9b6804dfe39d6bef822f6be68e945</id>
<name>Alan Wake</name>
<filename>D:\HTPC\Games\PC\Alan Wake.lnk</filename>
<thumb>D:\HTPC\Games\PC\boxfront\Alan Wake.JPG</thumb>
<fanart>D:\HTPC\Games\PC\screenshot\Alan Wake.JPG</fanart>
<trailer></trailer>
<custom></custom>
<genre></genre>
<release></release>
<publisher></publisher>
<gameplot></gameplot>
<finished>false</finished>
<altapp></altapp>
<altarg></altarg>
</rom>
<rom>
<id>fafb962fcdf8b77d11f9776a1bf41dc7</id>
<name>Anno 1404</name>
<filename>D:\HTPC\Games\PC\Anno 1404.lnk</filename>
<thumb>D:\HTPC\Games\PC\boxfront\Anno 1404.JPG</thumb>
<fanart></fanart>
<trailer></trailer>
<custom></custom>
<genre></genre>
<release></release>
<publisher></publisher>
<gameplot></gameplot>
<finished>false</finished>
<altapp></altapp>
<altarg></altarg>
</rom>
<rom>
<id>c8fa63ea9617ffee4d185a7c7f343f22</id>
<name>Arcania</name>
<filename>D:\HTPC\Games\PC\Arcania.lnk</filename>
<thumb>D:\HTPC\Games\PC\boxfront\Arcania.JPG</thumb>
<fanart></fanart>
<trailer></trailer>
<custom></custom>
<genre></genre>
<release></release>
<publisher></publisher>
<gameplot></gameplot>
<finished>false</finished>
<altapp></altapp>
<altarg></altarg>
</rom>
<rom>
<id>fbcabe68eb815bd4fce9a90cc9c27be4</id>
<name>Black Mirror 2</name>
<filename>D:\HTPC\Games\PC\Black Mirror 2.lnk</filename>
<thumb>D:\HTPC\Games\PC\boxfront\Black Mirror 2.JPG</thumb>
<fanart></fanart>
<trailer></trailer>
<custom></custom>
<genre></genre>
<release></release>
<publisher></publisher>
<gameplot></gameplot>
<finished>false</finished>
<altapp></altapp>
<altarg></altarg>
</rom>
<rom>
<id>874ce77619cea53757a6d8ab5cf48fee</id>
<name>Civilization V</name>
<filename>D:\HTPC\Games\PC\Civilization V.lnk</filename>
<thumb>D:\HTPC\Games\PC\boxfront\Civilization V.JPG</thumb>
<fanart></fanart>
<trailer></trailer>
<custom></custom>
<genre></genre>
<release></release>
<publisher></publisher>
<gameplot></gameplot>
<finished>false</finished>
<altapp></altapp>
<altarg></altarg>
</rom>
<rom>
<id>8f8279118d2e7fd598d1dbb35e7ab8be</id>
<name>Company of Heroes</name>
<filename>D:\HTPC\Games\PC\Company of Heroes.lnk</filename>
<thumb>D:\HTPC\Games\PC\boxfront\Company of Heroes.JPG</thumb>
<fanart></fanart>
<trailer></trailer>
<custom></custom>
<genre></genre>
<release></release>
<publisher></publisher>
<gameplot></gameplot>
<finished>false</finished>
<altapp></altapp>
<altarg></altarg>
</rom>
<rom>
<id>6c0de4861a0645e6c1cd3a7250d5164f</id>
<name>Fallout 3</name>
<filename>D:\HTPC\Games\PC\Fallout 3.lnk</filename>
<thumb>D:\HTPC\Games\PC\boxfront\Fallout 3.JPG</thumb>
<fanart></fanart>
<trailer></trailer>
<custom></custom>
<genre></genre>
<release></release>
<publisher></publisher>
<gameplot></gameplot>
<finished>false</finished>
<altapp></altapp>
<altarg></altarg>
</rom>
<rom>
<id>7b7963658f2ce908abf0373e8b91b24f</id>
<name>NBA 2K13</name>
<filename>D:\HTPC\Games\PC\NBA 2K13.lnk</filename>
<thumb>D:\HTPC\Games\PC\boxfront\NBA 2K13.JPG</thumb>
<fanart>D:\HTPC\Games\PC\screenshot\NBA 2K13.JPG</fanart>
<trailer></trailer>
<custom></custom>
<genre></genre>
<release></release>
<publisher></publisher>
<gameplot></gameplot>
<finished>false</finished>
<altapp></altapp>
<altarg></altarg>
</rom>
<rom>
<id>e722c446a40bfa878992a6c2a6577466</id>
<name>SimCity</name>
<filename>D:\HTPC\Games\PC\SimCity.lnk</filename>
<thumb>D:\HTPC\Games\PC\boxfront\SimCity.JPG</thumb>
<fanart>D:\HTPC\Games\PC\screenshot\SimCity.GIF</fanart>
<trailer></trailer>
<custom></custom>
<genre></genre>
<release></release>
<publisher></publisher>
<gameplot></gameplot>
<finished>false</finished>
<altapp></altapp>
<altarg></altarg>
</rom>
<rom>
<id>4f8d482a3a48fdfeb891afa869b2df19</id>
<name>Skyrim</name>
<filename>D:\HTPC\Games\PC\Skyrim.lnk</filename>
<thumb>D:\HTPC\Games\PC\boxfront\Skyrim.JPG</thumb>
<fanart></fanart>
<trailer></trailer>
<custom></custom>
<genre></genre>
<release></release>
<publisher></publisher>
<gameplot></gameplot>
<finished>false</finished>
<altapp></altapp>
<altarg></altarg>
</rom>
</roms>
</launcher>
</launchers>
I tried everything. Whats wrong?!
Cheers.
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...