Kodi Community Forum

Full Version: [CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
(2013-11-20, 02:51)Angelscry Wrote: [ -> ]If you go into your launcher "Advanced Options", you will see an option to "Force XBMC to toggle into windowed mode" before starting your application. It will surely help. By default XBMC is let into fullscren (fullscreen window or true fullscreen mode). There is no option into Advanced Launcher to minimize XBMC (there is no really reasons to do so). But, if you want to do so, you must do it using your own .bat script.

For .bat scripts you must have to know that they are started hidden by default by Advanced Launcher. To see the related command windows, go into Advanced Launcher settings > Advanced > Debug Options > and activate the "Show batch command window" option.
.
Finally if your .bat script is not working corretly, so it means that you have an error into your script. To be able to see this reported error : start XBMC from a command prompt window. The error message of the application started by Advanced Launcher will be reported into the same command prompt window.

Thanks for the help. By putting on the "Show batch command window" option it seems to work fine now Smile, I was going to try that last night but ran out of time so thought I'd ask rather than spending another day trying to work it out Smile.

Thanks again.
(2013-11-20, 15:51)mike351 Wrote: [ -> ]Well I have just finished installing Win7HP on to the media centre pc, and XBMC still minimises itself when my external program is launched using Advanced Launcher. This pc is a netbook, with 1g ram, 1.6ghz atom cpu, intel graphics chipset and realtek audio.

Maybe this is something Windows is doing due to either the cpu type or amount of ram?

Mike
Maybe a solution : http://pcsupport.about.com/od/windowsxp/...ocus02.htm
You can try to check into the Windows registry if the ForegroundLockTimeout parameter is the same on all your Windows 7 operating system.
Solution found...

I think when you install XBMC, if it is on low end hardware, the installer disables the "Use a fullscreen window rather than true fullscreen". I didn't check this as on the other hardware it always seemed to be enabled by default.

I guess the installer checks the base configuration of the hardware and adjusts this set I should have checked it anyway.

So now my external app launches, XBMC remains on screen just not in focus, and the songs play as they should!

Mike
Now I have run in to another issue. When the app I am launching runs, after it connects (its an app that connects to a bluetooth device) to the device, it flicks in to full screen mode, and i'm back with the issue of XBMC not continuing on to the next song(s).

While it waits for the connection to establish, it runs in a small window, and the songs will play as they should, so I need to work out how to stop the app from going full screen I guess.

This is driving me nuts!

Mike
It's perfect on Windows. But I really want it launch android apps on my pad. Is that possible?
(2013-11-28, 06:11)newkitty Wrote: [ -> ]It's perfect on Windows. But I really want it launch android apps on my pad. Is that possible?
XBMC already natively support Android Apps launch. If you want to start files using a specific App, this last one must support command line to start them. And this is the more difficult part (found how App start files). You will found an example here with Firefox : http://www.gwenael.org/forum/viewtopic.php?id=624
Hello! Angelscry

I use Files launcher(e.g.game emulator) and Games.bat with the command
@echo OFF
%1
My folder in xbmc is calling games,so is it possible to make command line to autoscan folde with command
<onclick>---</onclick>
Regular way I use c button on my keyboard and Add Items/Scan for new Items.

Best Regards
(2013-11-30, 17:05)senna99 Wrote: [ -> ]Hello! Angelscry

I use Files launcher(e.g.game emulator) and Games.bat with the command
@echo OFF
%1
My folder in xbmc is calling games,so is it possible to make command line to autoscan folde with command
<onclick>---</onclick>
Regular way I use c button on my keyboard and Add Items/Scan for new Items.

Best Regards
No... It is actually not possible.
too bad
ok thank you very much for your response.
(2013-11-30, 17:05)senna99 Wrote: [ -> ]Hello! Angelscry

I use Files launcher(e.g.game emulator) and Games.bat with the command
@echo OFF
%1
My folder in xbmc is calling games,so is it possible to make command line to autoscan folde with command
<onclick>---</onclick>
Regular way I use c button on my keyboard and Add Items/Scan for new Items.

Best Regards
Code:
...
<onclick>ContextMenu</onclick>
...

Confused ...? ? ?
I'll try thanks

So far I have tried over 50 combinations the enter the line,not one line does not work.
But anyway I not include games everyday in xbmc,it is not that important,
but it would be nice to be able to scan folder on startup or on <onclick>---</onclick> command .

I do not want to bore you, with that question in the future.

Best Regards
I understand your request... But it is not so simple. If you have 10 different categories, including 65 differents launchers, and pointing to 45 differents folders... which folder(s) will be scanned? All? And with which scrappers? Is that so complicated to select the launcher you want to be updated > press "C" key (or the corresponding assigned button of your remote) > Add Items > Scan of New Items?
Everything is ok Angelscry
I understand it all,I still grateful for this beautiful addon.
Perhaps in the future you you make addon only for games and nothing more.
I wish you all the best in future work.

Best Regards
Hi Angelscry,

I was trying to get DeSmuME to work and modified the script you posted on the wiki. Just some trial and error in autoit v3, resulted in a launch script that (based on a resolution of 1920x1080):
-Launches DeDmuME version 9.10
-Goes full screen
-Places the cursor at the scenter of the bottom DS screen
-Traps the mouse in the area of the bottom DS screen

Thanks for the example on the wiki (and advanced launcher of course Smile), and here is the modified script. Perhaps you can upload it to the wiki to help others (you probably wouldn't need my help to create it, but as a coding noob I had some trouble getting DeSmuMe to work at first, so I can image others would as well).

Greetings,
Th3Eagle

Code:
#include <Misc.au3>
Opt("WinTextMatchMode", 3)
$path = "C:\Games\Emulator\Nintento DS\DeSmuME\"
$app = "DeSmuME_0.9.10_x86.exe"
$windows = "DeSmuME 0.9.10 x86"

If $CmdLine[0] == 1 Then
    Run('"' & $path & $app & '" "' & $CmdLine[1] & '"')
    WinWait ( $windows )
    WinActivate ( $windows )
    WinWaitActive ( $windows )
    Send("!{ENTER}")
    MouseMove ( 960, 810, 0 )
    _MouseTrap(600, 540, 1320, 1080)
    ProcessWaitClose( $app )
EndIf
Exit 0
Know there is 5000 messages on this thread. Regardless the app does a great job. Want to thank the developer for having this available as a tool. Will some day need to read the epic novel list of discussions.
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