Question #680383 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680383
Description changed to:
First question:
I am using app.open (to launch Nox) then app.focus (to go to the "Nox Player"
window)
How do I set the region to the Nox window (only one window open)?
#sample code
App.open("D:\\Program Files\\Nox\\bin\\Nox.exe")
sleep(15)
App.focus("NoxPlayer")
#
Second question:
I have my first sikuli script mostly working (it should take ~30m to run,
currently ~1.5 hours, so it needs optimized)
I load Nox, clear android app data, load the app, select the google ID, select
the account (1 of 5 potential) then perform the desired action (my first test
is just to open and close the app for all 8 Google IDs, 25 accounts -- 60s
global app timer between accounts)
Currently this script is 1600+ lines, with a large amount of repeat
content (indicating my lack of coding skills) I am pretty certain I did
this the hardest way possible, so where would I start to simplify and
consolidate?
Regretfully I am not near my personal computer, but I will gladly load any
files (.skl?) for reference when I get home this evening
Updated Source File:
https://www.dropbox.com/s/9eahdut5szxhsh0/DailyLogon.skl?dl=0
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp