Re: Another bug with 'bounds'
Re: Another bug with 'bounds'
- Subject: Re: Another bug with 'bounds'
- From: Mr Tea <email@hidden>
- Date: Thu, 17 Oct 2002 20:04:11 +0100
This from David Crowe - dated 17-10-02 06.47 pm:
>
I cannot read the bounds of a "Terminal" application window (in OS X
>
10.2)...
Here's a kludge:
tell application "Terminal"
set {{P1, P2}, {S1, S2}} to {position, size} of window 1
set theBounds to {P1, P2} & {P1 + S1, P2 + S2}
end tell
>
The script
>
>
tell app "Terminal"
>
bounds of window 1
>
end
>
>
... gets the error "Terminal got an error: NSInternalScriptError"
I get "Terminal got an error: An error of type 8 has occurred.", which
probably amounts to the same thing.
>
Is there a useful place where bugs like this can be reported?
If you have a (free) ADC membership you can post bug reports at
http://developer.apple.com/bugreporter/index.html - that's probably the most
direct route for mortals.
Mr Tea
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.