sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #36203
[Question #280304]: How to use variables between scripts for focus
New question #280304 on Sikuli:
https://answers.launchpad.net/sikuli/+question/280304
Hi,
I opened Google Chrome in a script called yenikullanici.sikuli as follows:
chrome = App.open("C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe http://10.6.0.185:8080/SystemManager/")
I don't close Chrome at the end of script and I need to focus to chrome on my second script.
But when I try to make chrome.focus() I get an error message of "'NoneType' object has no attribute 'focus'"
Is there a way to create the application global?
Regards
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.