← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #201829]: Launch .slk from VBA?

 

Question #201829 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/201829

STAN posted a new comment:
RaiMan, thank you for responding so quickly.

In trying to resolve it I read through all of the post. First I used
ShellAndWait function created by Chip. I created my script, saved it,
archived it in zip format and removed the "zip" extension. I copied the
code straight from here and created a test subroutine shown below. Since
this test did not work I started looking into what I might have done
differently than this post described and the only thing that I see is
different is post #4 where you are saying that  Sikuli-IDE.bat/Sikuli-
IDE-w is needed.

Am I missing something? Thank you in advance.

Sub Test()
 SikuliPath = "C:\Program Files (x86)\Sikuli X\sikuli-script.jar"
 SikuliFilePath = "C:\Users\CASH\Desktop\Projects\GC.sikuli"

Debug.Print "Starting at " & Now()
 Call ShellAndWait("java -jar " & Chr(34) & SikuliPath & Chr(34) & " " & Chr(34) & SikuliFilePath & Chr(34), 4000000, vbHide, PromptUser)
Debug.Print "Ending at " & Now()
End Sub

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.