Run Sikuli-IDE from command line on Mac in background
Hi,
I'm having trouble running Sikuli from the command line on Mac... well, it runs fine, but it always brings the Sikuli-IDE.app to the foreground when I run the .skl script, and so the focus in the target app is lost. This proves extremely problematic for typing, as the focus is on the Sikuli-IDE faceless app during script runtime unless I add a switchApp() command to every individual command I'm running.
A little background on that... we're using a C#-based framework for our automation, and using Sikuli to augment it in cases where we don't have a programmatic solution. When I get to one of these cases, I basically just issue a direct Sikuli command via a parameters file I import via the Sikuli.skl script. Then, I use the 'exec' command to execute the command using Sikuli. This works great for finding images, since the IDE-app is faceless, but clicking and typing is problematic because of the aforementioned focus issues.
Is there a way I can run the .skl files without having the Sikuli-IDE.app come to the foreground?
Thanks in advance,
Chris D.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- cdepner
- Solved:
- Last query:
- Last reply: