2014-12-29, 13:43
How do i make advanced launcher run an AHK script before and after start of a program?
(2014-12-29, 17:32)Angelscry Wrote: Make a bash script that will start your AHK script before and after the program start. And into Advanced Launcher replace the program executable by your script.
(2014-12-29, 18:32)snyft Wrote:Just create a .bat script similar to this :(2014-12-29, 17:32)Angelscry Wrote: Make a bash script that will start your AHK script before and after the program start. And into Advanced Launcher replace the program executable by your script.
I have no idea how to make an bash script. I'm using windows, i know my ways around some things. But scripting and the sort is not my thing.
I got help making an AHK script that press f1 (hotkey that switches my dual monitor setup, changing primary display and default audio)
I would appreciate your help dear Creater.
C:/path/to/your/first/AHK/script.exe
C:/path/to/your/application.exe
C:/path/to/your/second/AHK/script.exe
/usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/bin/kodi-standalone2 -- :0 -nolisten tcp vt7
(2014-12-30, 20:45)graysky Wrote: Thanks for the code; I have it running on Kodi. I am using it to simply launch /usr/bin/chromium which it does, but the resulting browser runs in a smaller window which I am unable to modifyx. What am I doing wrong?If you use Kodi into standalone mode, so it means that you do not have any windows manager actually running. So you system is not able to correctly display and manage application windows (like the chromium one). If you want to start correctly external application you mainly have 2 solutions:
I am launching kodi via a systemd service that does this:
Code:/usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/bin/kodi-standalone2 -- :0 -nolisten tcp vt7
(2014-12-30, 23:47)DaveyK Wrote: I have Advanced Launcher working on XBMC (Gotham 13.2) (Windows 7). games running etc. When I follow the (identical) steps to Launch Emulators on Minix x8-H (running Gotham 13.2 also) it tells me it is 'Launching' but the Emulator does not appear on the screen. This might be something to do with the settings on the Minix / XBMC itself? (to have the emulator appear on the screen as maybe it is running but not visible?).Setting for what exactly? Your Minix system is under Windows? Linux? Android?
Can anyone tell me the settings that they have that work?!
Thanks.
(2014-12-29, 18:35)Angelscry Wrote: Just create a .bat script similar to this :
Code:C:/path/to/your/first/AHK/script.exe
C:/path/to/your/application.exe
C:/path/to/your/second/AHK/script.exe
At this point as I didn't know what you want to start exactly (AHK script name, application name, type of launcher, arguments used, etc...) it will not be able to guide you more.
E:/snyft/AppData/Roaming/Kodi/userdata/addon_data/script.steam.launcher/scripts/displayfusion.exe
E:/Spel/The Binding of Isaac Rebirth/isaac-ng.exe
E:/snyft/AppData/Roaming/Kodi/userdata/addon_data/script.steam.launcher/scripts/displayfusion.exe
(2014-12-31, 01:04)Angelscry Wrote:(2014-12-31, 01:01)snyft Wrote: I don't think the last one will do anything in the code?That's your scripts, so you know better than anyone how they works. But if you wnant to switch back the display as it was previously, maybe you will need to start another script after the game will be closed.
(2014-12-30, 23:55)Angelscry Wrote:(2014-12-30, 23:47)DaveyK Wrote: I have Advanced Launcher working on XBMC (Gotham 13.2) (Windows 7). games running etc. When I follow the (identical) steps to Launch Emulators on Minix x8-H (running Gotham 13.2 also) it tells me it is 'Launching' but the Emulator does not appear on the screen. This might be something to do with the settings on the Minix / XBMC itself? (to have the emulator appear on the screen as maybe it is running but not visible?).Setting for what exactly? Your Minix system is under Windows? Linux? Android?
Can anyone tell me the settings that they have that work?!
Thanks.
(2014-12-31, 12:08)DaveyK Wrote:Which emulator are you using? Are you trying to start a Windows dedicated emulator on an Android based system?(2014-12-30, 23:55)Angelscry Wrote:(2014-12-30, 23:47)DaveyK Wrote: I have Advanced Launcher working on XBMC (Gotham 13.2) (Windows 7). games running etc. When I follow the (identical) steps to Launch Emulators on Minix x8-H (running Gotham 13.2 also) it tells me it is 'Launching' but the Emulator does not appear on the screen. This might be something to do with the settings on the Minix / XBMC itself? (to have the emulator appear on the screen as maybe it is running but not visible?).Setting for what exactly? Your Minix system is under Windows? Linux? Android?
Can anyone tell me the settings that they have that work?!
Thanks.
Hi,
It is Android.
TBH I'm not sure, I'm stuck at this point.
The Launcher states it is launching but the emulator screen doesn't appear on-screen as it does when running on Windows.... I was thinking there may be a setting required somewhere to have the emulator appear on-screen?
(2014-12-31, 19:39)snyft Wrote: @AngelscryI'm not a windows user, but if this command line is working on your system, you can copy it into a .bat script file and start this script from Advanced Launcher.
Is it possible to write custom command line or argument for windows?
Like -monitor "2" or something.
So example being:
E:/Spel/The Binding of Isaac Rebirth/isaac-ng.exe -"C:\Program Files (x86)\DisplayFusion\DisplayFusionCommand.exe" - monitor "2"