Kodi Community Forum
[CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Game Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=291)
+---- Thread: [CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC (/showthread.php?tid=85724)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - snyft - 2014-12-29

How do i make advanced launcher run an AHK script before and after start of a program?


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2014-12-29

(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.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - snyft - 2014-12-29

(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 - Angelscry - 2014-12-29

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.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - graysky - 2014-12-30

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


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2014-12-30

(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.



RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - DaveyK - 2014-12-30

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.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2014-12-30

(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?


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - snyft - 2014-12-31

(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.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2014-12-31

(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.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - snyft - 2014-12-31

(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.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - DaveyK - 2014-12-31

(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?


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2014-12-31

(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?


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - snyft - 2014-12-31

@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"


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2014-12-31

(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.