2012-04-24, 21:12
(2012-04-24, 05:09)XeroKool Wrote: Hey, thanks a lot for the update. Haven't tested it out fully yet but I do have a question. Upon launching the AutoIt script I noticed that it immediately closed the Sikuli IDE window that I had previously opened (no worries though, I had already saved what I was working on). My question is, is it possible for the script to only kill instances of xbmc-o-mate and not all Sikuli processes? Again, this issue only occurs upon initial launch, after which everything is fine.
Hmmm yea...I guess I didn't figure anyone would be using the IDE or for that matter running another Sikuli application.. That was poor foresight on my part as you may well indeed write another Sikuli app for control.
I will update this in the next version, but for expediency sake you can edit line 162 in the Auto Script (and then recompile if you like)
Code:
If StringInStr($objItem.caption, "java", 0) AND StringInStr($objItem.commandline, "sikuli", 0)Then
Change it to:
Code:
If StringInStr($objItem.caption, "java", 0) AND StringInStr($objItem.commandline, "xbmcflix-o-mate.sikuli", 0)Then
That should keep your IDE or any other sikuli java processes open when starting XBMCFlix-o-mate.
thanks