[Automator] Open Application in specified location on screen

Charles Howse chowse at charter.net
Tue Jan 20 13:14:24 PST 2009


On Jan 20, 2009, at 1:13 PM, John Azevedo wrote:

> Can you share the script?

Oh, sure, how rude of me..

tell application "Preview" to open "/Users/charles/Documents/ 
us_tup_closeradar_plus_usen.jpg"
	tell application "System Events" to tell process "Preview"
		set position of window 1 to {960, 0}
	end tell

>
>
>
> On Jan 20, 2009, at 2:10 PM, Charles Howse wrote:
>
>> Sorry to reply to myself, but I've solved this with an Applescript.
>>
>>
>> On Jan 20, 2009, at 8:00 AM, Charles Howse wrote:
>>
>>> Hi,
>>> Can anyone help with a way to open "Preview.app" in x/y  
>>> coordinates on the screen?
>>> I want it to open with it's upper right corner in the upper right  
>>> corner of the screen.
>>> I've moved it there several times, but it's not remembering the  
>>> location like Finder does.
>>>
>>>
>>>
>>> --
>>> Later,
>>> Charles
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Automator mailing list
>>> Automator at listserver.themacintoshguy.com
>>> http://listserver.themacintoshguy.com/mailman/listinfo/automator
>>
>> _______________________________________________
>> Automator mailing list
>> Automator at listserver.themacintoshguy.com
>> http://listserver.themacintoshguy.com/mailman/listinfo/automator
>
> _______________________________________________
> Automator mailing list
> Automator at listserver.themacintoshguy.com
> http://listserver.themacintoshguy.com/mailman/listinfo/automator



More information about the Automator mailing list