sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #45040
Re: [Question #661738]: when determine NUM_LOCK, sikuli stoped
Question #661738 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661738
Status: Answered => Open
Ju1+i-我. is still having a problem:
sorry,I originally wanted to ask questions, but clicked bug,it's my mistake.
here is my code:
type(Key.HOME,Key.SHIFT)
wait(1)
if Env.isLockOn(Key.NUM_LOCK) == True:
type(Key.NUM_LOCK)
wait(1)
type(Key.END,Key.SHIFT)
#wait(1)
paste("Date:" + self.systemDate[0:4] + "/" + self.systemDate[4:6] + "/" + self.systemDate[6:8] + ' ' + "Time:" + self.systemDate[8:13])
wait(1)
type(Key.ENTER)
wait(1)
it doesn't work after type(Key.HOME,Key.SHIFT)
could you please help me to see where the problem is ?
many thanks
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.