RE: Re: (no subject)That
RE: Re: (no subject)That
- Subject: RE: Re: (no subject)That
- From: email@hidden
- Date: Wed, 19 Oct 2011 17:32:08 +0200
hi Dana,
you mean like this? Still hangs, now on the line "set user interaction..."
set openfile to choose file with prompt "Choose an Indesign document:"
tell application "Finder"
open openfile
end tell
tell application "Adobe InDesign CS4"
set user interaction level of script preferences to never interact
tell document 1
-- do something
end tell
end tell
set user interaction level
of script preferences
to never interact
That usually does it for me.
On Oct 19, 2011, at 11:16 AM, Alex Zavatone wrote:
Can't you say something like "without interaction" or "without user dialogs"??
On Oct 19, 2011, at 10:14 AM,
email@hidden wrote:
hi all,
Does anyone know how to tackle the following?
This works only if I don't get a message about missing assets or whatever popup interrupt the page from opening
When I get a message before the page opens the scripts will hang...
set
openfile to
choose file with prompt "Choose an Indesign document:"
tell
application "Finder"
open openfileend tell
tell
application "Adobe InDesign CS4"
tell
document 1
-- do something end tell
end tell
many thanks,
Jan
http://lists.apple.com/archives/applescript-users
This email sent to
email@hidden
_______________________________________________
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