• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Setting bounds in Terminal
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Setting bounds in Terminal
      • From: Bill Briggs <email@hidden>
References: 
 >Setting bounds in Terminal (From: Robert Poland <email@hidden>)
 >Re: Setting bounds in Terminal (From: Axel Luttgens <email@hidden>)

  • Prev by Date: Re: Script Modification
  • Next by Date: Re: Setting bounds in Terminal
  • Previous by thread: Re: Setting bounds in Terminal
  • Next by thread: Re: Setting bounds in Terminal
  • Index(es):
    • Date
    • Thread