Re: Setting bounds in Terminal
Re: Setting bounds in Terminal
- Subject: Re: Setting bounds in Terminal
- From: Axel Luttgens <email@hidden>
- Date: Sun, 16 Jan 2011 19:00:04 +0100
Le 16 janv. 2011 à 18:26, Robert Poland a écrit :
> Hi,
>
> OS 10.6.6.
>
> I am trying to set the bounds of a window in terminal.
>
> [...]
Hello Robert,
Terminal's window size is strongly bound to the number of rows and columns displayed (these are essential parameters for the running shell/app), and hence to the currently used font; I guess it thus can't be set to arbitrary values.
Perhaps could you make some use of something along those lines:
tell application "Terminal"
tell front window
tell first tab
set number of columns to 81
set number of rows to 25
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