• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: Re: (no subject)That
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 openfile
end 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

  • Follow-Ups:
    • Re: (no subject)That
      • From: Dana Hill <email@hidden>
  • Prev by Date: Re: (no subject)That
  • Next by Date: Set column width in list view
  • Previous by thread: Re: (no subject)That
  • Next by thread: Re: (no subject)That
  • Index(es):
    • Date
    • Thread