Re: Run AppleScript in the background (hide window)
Re: Run AppleScript in the background (hide window)
- Subject: Re: Run AppleScript in the background (hide window)
- From: "John C. Welch" <email@hidden>
- Date: Wed, 13 Feb 2008 07:05:17 -0600
- Thread-topic: Run AppleScript in the background (hide window)
On 02/13/2008 01:26 AM, "Mathieu Thouvenin" <email@hidden>
wrote:
>> Mac OS X 10.5 or Mac OS X 10.4?
>
> I'm on 10.5.
> I'll try ed's solution, but it's not just the fact that I don't want
> the window to appear, it's that I don't want the application to open,
> so it stays in the Dashboard while executing the AppleScript. I don't
> know if it's possible or not?
While it's not 100% coverage, take a look at the changes to scripting both
system preferences itself, and the preferences scripting additions in 10.5
For example, you can, in theory, directly tell System Preferences to reveal
a pane. I'm not sure if that actually works.
The more useful bits are the additions to system events:
Network preferences
Security prefs
Accounts prefs
Appearance prefs
CD & DVD prefs
Expose prefs
It's not complete (obviously), but it may save you some GUI work. Also, when
you're about to GUI-script a System Preference, you may want to see what
that preference is really doing, as there may be a more direct way to script
that setting.
--
Bizarro Scoble? Wouldn't that just be someone who could write a post that
has something resembling a point?
Nadyne Mielke
_______________________________________________
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