Re: Set bounds of a window with NO dictionary
Re: Set bounds of a window with NO dictionary
- Subject: Re: Set bounds of a window with NO dictionary
- From: Axel Luttgens <email@hidden>
- Date: Sun, 07 Oct 2007 15:28:10 +0200
On 6/10/07 16:49, Robert Poland wrote:
Hi,
I have this script that when called by iKey will set the bounds of a
window.
The problem: I want to apply this to an application which has no
Applescript support.
This line works for supported apps;
tell application (path to frontmost application as Unicode text)
set front window's bounds to {newL, newT, wd, ht}
end tell
Is there a way to set the bounds of unsupported apps?
Hello Robert,
Perhaps could UI elements do the trick?
For example, I just tried this one here:
tell application "System Events"
tell process "Netscape"
tell window 1
set size to {640, 480}
set position to {100, 20}
end tell
end tell
end tell
HTH,
Axel
_______________________________________________
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