Re: [gcmac] Scripting problem with GraphicConverter
Re: [gcmac] Scripting problem with GraphicConverter
- Subject: Re: [gcmac] Scripting problem with GraphicConverter
- From: Robert Poland <email@hidden>
- Date: Fri, 10 Jun 2011 05:46:49 -0600
Thanks Kader,
But like all of the other iterations that fails when run from the GraphicConverter Scripts menu. L ike all of the other iterations i t does work when run from Smile.
On Jun 10, 2011, at 4:52 AM, Kader Mokhefi wrote: tell application "GraphicConverter" activate if (count window) = 0 then ------------------ IF no documents are open, then there is no toobox -------------- display dialog "No open windows" return end if tell window 1 -- main window hide tools -- need GC 4.4.1b or later set {leftSide, topSide, rightSide, bottomSide} to bounds
tell application "System Events" keystroke "k" using command down delay 1 -- Position Toolbox ------------ The tell statements must be nested correctly --------------------------- tell process "GraphicConverter" tell window "Tools" set position to {10, 20} -- {(rightLimit - TBWidth), topmargin} end tell end tell end tell end tell end tell
Kind regards
Robert Poland - Fort Collins, CO
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden