How to automatically acknowledge a dialog
How to automatically acknowledge a dialog
- Subject: How to automatically acknowledge a dialog
- From: "Patrik B." <email@hidden>
- Date: Fri, 25 May 2007 00:13:04 -0700
I tried both variations and it didn't go anywhere.
In theory the system event should work with keystroke "o" as that is the key
that can be pushed to continue opening the file instead of pushing r for
reading composite data. However it never gets to the part of the script were
it pushes o. The script seems to wait for Photoshop to finish "opening the
file" and then pushes o however many times after the fact that the file is open.
In regards to "showing dialog never" - I tried this already and it didn't
work. Dialog still comes up. I guess it is a compatibility issue of CS3 and CS2.
I guess I'll fall back onto ikey or something or holding down o until done
each time.
Best, Patrik
> tell application "UserNotificationCenter"
> activate
> tell application "System Events" to keystroke ";" using
> {shift down, command down}
> end tell
> Try this and see if it works with your files:
> on open fileList
> repeat with myFile in fileList
> tell application "Adobe Photoshop CS2"
> open myFile showing dialogs never
> end tell
> end repeat
> end open
>
> HTH,
>
> ES
>
_______________________________________________
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