Re: Forcing Terminal to not resize
Re: Forcing Terminal to not resize
- Subject: Re: Forcing Terminal to not resize
- From: Joseph Weaks <email@hidden>
- Date: Fri, 6 Jun 2003 20:09:55 -0500
Dave,
Short of disabling the zoom, one would have thought a simple solution
would be to distribute a little applet that repositioned the size of
Terminal's window. Something like:
tell application "Terminal" to set bounds of window 1 to {0,22,503,386}
but this would only be standardized on the same displays.
You still have to use 'size' and 'position' to 'get' the bounds of a
window in Terminal because 'bounds' has still not been fixed in 10.2.
Gives the error NSInternalScriptError.
Mr. Tea offered this kludge in the brief discussion last fall:
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
You can't do any of this in 10.1.x.
I didn't offer a solution since but you did say "any" info would be
appreciated.
Cheers,
Joe Weaks
On Friday, June 6, 2003, at 06:23 PM, Dave Stewart wrote:
We're using the mac Terminal app as a terminal emulator to access a
business software package running on a server. This works amazingly well,
except sometimes people grab that little resize triangle at the bottom
right of the screen and move it. This obviously causes the window to
resize. The problem is the terminal window is now a different size and
therefore renders differently. This spawns a call to me to figure out why
the window looks weird and I have to reset the Terminal window size to
the proper dimensions.
It occurred to me that I might be able to modify the .term file to
disable the grow box entirely, but I can't figure out the key to use in
Property List Editor that makes this happen.
...
_______________________________________________
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.