← Back to team overview

sikuli-driver team mailing list archive

[Question #270930]: Set Size of Screen

 

New question #270930 on Sikuli:
https://answers.launchpad.net/sikuli/+question/270930

1.1.0(2015-08-20_01:00nightly)/Mac10.10.5/Java8(64)1.8.0_25-b17
Trying to not use Automator
In Automator I can use Apple Script to Set the Size and Position of a Widow - Need this for obvious reasons where I need it to be exactly the same each time I run Sikuli

So in Automator :-

Open the App and pause 5 seconds - ok I can do that in Sikuli

Apple Script :-
on run {input, parameters}
	tell application "MyApp"
		activate
	end tell
end run

Apple Script :-
on run {input, parameters}
	tell application "MyApp" to set the bounds of the first window to {0, 23, 1422, 949}
	return input
end run

Any Suggestions to do this in Sikuli would be appreciated

Note: MyApp is a Safari based browser created by  "Fluid" 

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