• 1
  • 425
  • 426
  • 427(current)
  • 428
  • 429
  • 453
[CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC
How do i make advanced launcher run an AHK script before and after start of a program?
(2014-12-29, 13:43)snyft Wrote: How do i make advanced launcher run an AHK script before and after start of a program?
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, 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.
Version 2.5.8 : As the new version of Kodi (Helix) is officially released, and that not any Advanced Launcher bug related to this new version of Kodi have been reported (I do not see any also on my side), this new version of Advanced Launcher only bring some small esthetical updates (mostly replace XBMC strings by Kodi ones and indicate Helix compatibility).

Changelog :
  • Esthetic update related to Kodi/Helix version.

(2014-12-29, 18:32)snyft Wrote:
(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.
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.
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?

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

Image
Need help programming a Streamzap remote?
(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?

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

Image
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:

  1. start XBMC into a light desktop/windows manager (so not into standalone-mode) and then start your applications simply directly from XBMC.
  2. continue to use XBMC into standalone mode, but then start form XBMC scripts that will launch a desktop/windows manager prior to start your applications.
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?).
Can anyone tell me the settings that they have that work?!
Thanks.
(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?).
Can anyone tell me the settings that they have that work?!
Thanks.
Setting for what exactly? Your Minix system is under Windows? Linux? Android?
(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.

It's mostly for game.exe, i want to run the script before the application and then when i close the application or minimize it.
So something like:
Code:
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

I don't think the last one will do anything in the code?
I don't need any arguments that i know about.
(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-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.

Well it sends an "f1".
Yeah that's what i need to do. Have no idea how to do it automatic or if it's even possible.
I guess this has nothing to do with AL so thank you very much for taking the time.
(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?).
Can anyone tell me the settings that they have that work?!
Thanks.
Setting for what exactly? Your Minix system is under Windows? Linux? Android?

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, 12:08)DaveyK Wrote:
(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?).
Can anyone tell me the settings that they have that work?!
Thanks.
Setting for what exactly? Your Minix system is under Windows? Linux? Android?

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?
Which emulator are you using? Are you trying to start a Windows dedicated emulator on an Android based system?
@Angelscry
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"
(2014-12-31, 19:39)snyft Wrote: @Angelscry
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"
I'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.
  • 1
  • 425
  • 426
  • 427(current)
  • 428
  • 429
  • 453

Logout Mark Read Team Forum Stats Members Help
[CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC24