Re: Setting bounds in Terminal
Re: Setting bounds in Terminal
- Subject: Re: Setting bounds in Terminal
- From: Robert Poland <email@hidden>
- Date: Sun, 16 Jan 2011 11:21:09 -0700
> On Jan 16, 2011, at 11:00 AM, Axel Luttgens wrote:
>
>
> 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
Thanks Axel, That did the trick.
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