run from command line
Hi,
I have a file with more than 1500 lines. If a i try to run from sikulix i don't have any trouble. But if i want to run from command line (Windows) i don't have any response and is not working.
For that reason i try to make a python script to try to open sikulix and then press ctrl+r. The problem there is that always show a message of error on line 399 column 26, even if i don't have anything there.
The script python describe below is this:
from pynput.keyboard import Key,Controller
import os
import time
os.startfile(
time.sleep(5)
print("comenzando a escribir")
keyboard = Controller()
keyboard.
keyboard.press("r")
keyboard.
keyboard.
print("done")
This code works only when the sikulix file is lower than 399 lines.
Regards
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask moncho for more information if necessary.