Re: I didn't tell AppleScript Editor to do anything!
Re: I didn't tell AppleScript Editor to do anything!
- Subject: Re: I didn't tell AppleScript Editor to do anything!
- From: Luther Fuller <email@hidden>
- Date: Tue, 22 Jan 2013 10:58:56 -0600
On Jan 22, 2013, at 9:53 AM, Chris Paveglio wrote: Tell Application "System Events" Tell process "System Preferences" Activate Tell window 1 ...do stuff now…
The script I had so many questions about last week contains ...
tell application "System Events" tell process "Mail" set frontmost to true ------------------------- keystroke "p" using {command down} -- opens Print dialog
I forget why I didn't use 'activate', but I think, perhaps, I did use 'activate', but had a problem with it. And I've forgotten what that problem may have been. You might want to experiment.
|
_______________________________________________
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