Trouble launching applications in Windows

Asked by Axsuul

Something like this doesn't seem to work in Sikuli

openApp("C:\Program Files\foobar2000\foobar2000.exe")

Any suggestions?

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Phat W. (cp-gphone) said :
#1

The string you are providing "C:\Program Files\foobar2000\foobar2000.exe" contains shortcut commands for Sikuli. The key command you are calling is \f. To remedy this, use capital letters after \'s. So your string should read: "C:\Program Files\Foobar2000\Foobar2000.exe"

Revision history for this message
Axsuul (axsuul) said :
#2

Thanks for the reply. How about something like this?

switchApp("C:\Program Files\Arbortext\CSDB for S1000D\ACQUIREDcs.exe")

Revision history for this message
Sergey Darovskih (darovskih) said :
#3

Can you try this command: switchApp("C:\\Program Files\\Arbortext\\CSDB for S1000D\\ACQUIREDcs.exe")?

Can you help with this problem?

Provide an answer of your own, or ask Axsuul for more information if necessary.

To post a message you must log in.