• 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: 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

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

  • Prev by Date: Re: Top-posting [ was Variable names]
  • Next by Date: Re: Script Modification
  • Previous by thread: Setting bounds in Terminal
  • Next by thread: Re: Setting bounds in Terminal
  • Index(es):
    • Date
    • Thread