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 - REralte - 2013-08-01

Can anyone here please can help me I'm trying to rum PCSX2 in advanced launcher to open the emulator and close XBMC. This is the script im running but it say the scrip is paused, any help please.



#include <Misc.au3>

HotKeySet("{ESC}", "Terminate")

If $CmdLine[0] == 1 Then
_MouseTrap(@DesktopWidth, @DesktopHeight, @DesktopWidth, @DesktopHeight)
ProcessClose ( "XBMC.exe" )
Run ( '"C:\Program Files (x86)\PCSX2 0.9.7\pcsx2-r3878.exe" --nogui "' & $CmdLine[1] & '"', "C:\Program Files (x86)\PCSX2 0.9.7\" )
While 1
Sleep(100)
WEnd
EndIf

Func Terminate()
ProcessClose ( "pcsx2-r3878.exe" )
Run ( '"C:\Program Files (x86)\XBMC\XBMC.exe"' )
Exit 0
EndFunc


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2013-08-01

(2013-08-01, 16:13)REralte Wrote: Can anyone here please can help me I'm trying to rum PCSX2 in advanced launcher to open the emulator and close XBMC. This is the script im running but it say the scrip is paused, any help please.



#include <Misc.au3>

HotKeySet("{ESC}", "Terminate")

If $CmdLine[0] == 1 Then
_MouseTrap(@DesktopWidth, @DesktopHeight, @DesktopWidth, @DesktopHeight)
ProcessClose ( "XBMC.exe" )
Run ( '"C:\Program Files (x86)\PCSX2 0.9.7\pcsx2-r3878.exe" --nogui "' & $CmdLine[1] & '"', "C:\Program Files (x86)\PCSX2 0.9.7\" )
While 1
Sleep(100)
WEnd
EndIf

Func Terminate()
ProcessClose ( "pcsx2-r3878.exe" )
Run ( '"C:\Program Files (x86)\XBMC\XBMC.exe"' )
Exit 0
EndFunc
But at which step the script is paused?


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - REralte - 2013-08-01

it paused when i start pcsx2-launcher showing an icon on the right side below of the screen


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2013-08-02

(2013-08-01, 22:19)REralte Wrote: it paused when i start pcsx2-launcher showing an icon on the right side below of the screen
Ok... but does the script close XBMC? Does the script start PSX2? When you press ESC, does the script close PCSX2? Does the script restart XBMC? At which step the script if pauseed?

For the icon appearing into the taskbar, that's normal, you are starting an executable autoitscript. If you do not want to see such icon you need to disable it into you autoit scrip adding the lines :

Code:
#NoTrayIcon
...

at the beginning on your script code : http://www.autoitscript.com/autoit3/docs/keywords/NoTrayIcon.htm


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Sajk - 2013-08-02

I've been reading through the thread and playing around with the settings in XBMC but can't seem to get my problem solved. I watch my TV with SimpleTV and I've set it up to start with advanced launcher from XBMC and everything is working fine, but when I quit SimpleTV my XBMC doesn't go into fullscreen again.

I've set the launcher NOT to toggle XBMC into Windowed mode when I start SimpleTV but then it just minimizes XBMC and I have to klick on XBMC to get into fullscreen again. If I set the launcher to toggle into Windowed mode it does just that but doesn't set me back to fullscreen mode at exit so I have to go into settings and change to Fullscreen mode again, which is a pain in the A..

I've tinkered with every possible setting in there but just can't seem to get to work.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2013-08-02

(2013-08-02, 09:39)Sajk Wrote: I've been reading through the thread and playing around with the settings in XBMC but can't seem to get my problem solved. I watch my TV with SimpleTV and I've set it up to start with advanced launcher from XBMC and everything is working fine, but when I quit SimpleTV my XBMC doesn't go into fullscreen again.

I've set the launcher NOT to toggle XBMC into Windowed mode when I start SimpleTV but then it just minimizes XBMC and I have to klick on XBMC to get into fullscreen again. If I set the launcher to toggle into Windowed mode it does just that but doesn't set me back to fullscreen mode at exit so I have to go into settings and change to Fullscreen mode again, which is a pain in the A..

I've tinkered with every possible setting in there but just can't seem to get to work.
Are you Using the "fullscreen window" or the "true fullscreen" option into XBMC system settings? Normally if you use the "fullscreen window" option into XBMC and the "toogle XBMC into Window" option into the Advanced Launcher settings. Trye to play with this 2 options to obtain the perfect transition for your application.

The problem is that this bug is not linked to XBMC. XBMC is simply not able the return into fullscreen mode correctly. XBMC statut into Windows is as fullscreen, but the reel display is minimized. I have reported this bug 2 years ago to XBMC devellopers, but it seems that they are more interested to add new features than fix bugs.

You will found also here some trick to force XBMC to regain focus : http://www.gwenael.org/forum/viewtopic.php?id=199


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - REralte - 2013-08-02

Thanks Angelscry for answering me, the script close XBMC but never start PSX2, it takes me to my desktop showing pauseed in the taskbar


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - glenrocks - 2013-08-03

Hi,

Excuse me for being naiive but I thought I will ask here after I could not find solution searching within the forum...maybe I missed the relevant post so asking here.

Is it possible to launch chrome or any browser within xbmc with full flash support?? Instead of launcher opening desktop window chrome!! Maybe I am missing option telling application to launch within xbmc and not outside...or this is not in scope of launcher?

Thanks in advance. Smile

G


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2013-08-03

(2013-08-02, 17:42)REralte Wrote: Thanks Angelscry for answering me, the script close XBMC but never start PSX2, it takes me to my desktop showing pauseed in the taskbar
Try to remove the

Code:
_MouseTrap(@DesktopWidth, @DesktopHeight, @DesktopWidth, @DesktopHeight)

line from the script. I just remember now that some users encounter some problem using this line.

(2013-08-03, 05:48)glenrocks Wrote: Hi,

Excuse me for being naiive but I thought I will ask here after I could not find solution searching within the forum...maybe I missed the relevant post so asking here.

Is it possible to launch chrome or any browser within xbmc with full flash support?? Instead of launcher opening desktop window chrome!! Maybe I am missing option telling application to launch within xbmc and not outside...or this is not in scope of launcher?

Thanks in advance. Smile

G
No it is not possible. Goal of this add-on is to start applications out of XBMC.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - REralte - 2013-08-03

Keep doing the same Angelscry removing this line

_MouseTrap(@DesktopWidth, @DesktopHeight, @DesktopWidth, @DesktopHeight)

this is very frustrating

This is what i have: PCSX2 0.9.7 installed in C:\program files with the executable pcsx2-r3878.exe inside the folder PCSX2 0.9.7


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2013-08-03

(2013-08-03, 15:43)REralte Wrote: Keep doing the same Angelscry removing this line

_MouseTrap(@DesktopWidth, @DesktopHeight, @DesktopWidth, @DesktopHeight)

this is very frustrating

This is what i have: PCSX2 0.9.7 installed in C:\program files with the executable pcsx2-r3878.exe inside the folder PCSX2 0.9.7
How do you start the autoit script form Advanced Launcher?


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - REralte - 2013-08-03

c:\program files\PCSX2 0.9.7\pcsx2-launcher.exe


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2013-08-04

(2013-08-03, 18:44)REralte Wrote: c:\program files\PCSX2 0.9.7\pcsx2-launcher.exe
And the arguments?


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - REralte - 2013-08-04

"%rom%"


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2013-08-04

(2013-08-03, 18:44)REralte Wrote: c:\program files\PCSX2 0.9.7\pcsx2-launcher.exe
If pcsx2-launcher.exe is installed into the same folder than pcsx2-r3878.exe and your PCSX2 installation folder is really c:\program files\PCSX2 0.9.7\, then the PCSX2 path into your autoit script is wrong. Script must be :

Code:
#include <Misc.au3>

HotKeySet("{ESC}", "Terminate")

If $CmdLine[0] == 1 Then
    _MouseTrap(@DesktopWidth, @DesktopHeight, @DesktopWidth, @DesktopHeight)
    ProcessClose ( "XBMC.exe" )
    Run ( '"C:\Program Files\PCSX2 0.9.7\pcsx2-r3878.exe" --nogui "' & $CmdLine[1] & '"', "C:\Program Files\PCSX2 0.9.7\" )
    While 1
        Sleep(100)
    WEnd
EndIf

Func Terminate()
    ProcessClose ( "pcsx2-r3878.exe" )
    Run ( '"C:\Program Files (x86)\XBMC\XBMC.exe"' )
    Exit 0
EndFunc

Now... You will also have to check if the XBMC path is C:\Program Files (x86)\XBMC\ or C:\Program Files\XBMC.