Re: slow shell
Re: slow shell
- Subject: Re: slow shell
- From: Steve Thompson <email@hidden>
- Date: Wed, 05 Jan 2011 22:39:56 +0000
On 5 Jan 2011, at 22:19, Robert Poland wrote: Speaking of slow shell scripts; does anyone have a faster version of this?
tell (do shell script "/usr/sbin/system_profiler SPDisplaysDataType | grep Resolution") to set {newR, newB} to {word 2 as number, word 4 as number} -- get screen size for monitor
tell application "Finder" get bounds of window of desktop --> {0, 0, 1440, 900} end tell Result: {0, 0, 1440, 900}
|
_______________________________________________
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
References: | |
| >slow shell (From: Robert Poland <email@hidden>) |