• 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: InDesign jumping to forground --> Hardware specific?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: InDesign jumping to forground --> Hardware specific?


  • Subject: Re: InDesign jumping to forground --> Hardware specific?
  • From: Wayne Melrose <email@hidden>
  • Date: Fri, 10 Aug 2012 11:40:30 +1000


On 10/08/2012, at 11:26 AM, Shane Stanley <email@hidden> wrote:

On 10/08/2012, at 10:55 AM, Wayne Melrose <email@hidden> wrote:

I say it's when I export PDF's however a simplified script shows that it's actually when the file opens. Even if you turn off the window for the file, it will still make indesign jump to the foreground.

Is it ID jumping to the foreground, or just the window jumping to the foreground?


By ID jumping, do you mean is InDesign as an application jumping to the foreground? Yes, I believe it is. Again, hard for me to know, as I can't replicate it here, (my computer behaves, and the office where this is happening is no where near me.) 

However, my original post had this script (below), where I was hiding InDesign, again, worked on my machine, however the problem machines brought InDesign to the foreground. 


set strFolderPath to (choose folder with prompt "Choose InDesign documents folder") as string

set strOutputFolder to choose folder with prompt "Choose PDF export folder"

set lstSelectedFiles to paragraphs of (do shell script "ls " & (quoted form of (POSIX path of (strFolderPath))))


setUserInteration(false)

tell application "System Events"
set visible of process "Adobe InDesign CS5" to false
end tell

set intIndex to 0
repeat with strFilepath in lstSelectedFiles
set intIndex to intIndex + 1
set strCurrentFilePathHFS to (strFolderPath & (strFilepath as string) as string)

tell application "Adobe InDesign CS5"

open strCurrentFilePathHFS without showing window
export document 1 format PDF type to ((strOutputFolder & intIndex & ".pdf") as string) without showing options
close front document saving no
end tell

end repeat

setUserInteration(true)




on setUserInteration(blnUserInteraction)
tell application "Adobe InDesign CS5.5"
tell script preferences
if blnUserInteraction then
set user interaction level to interact with all
else
set user interaction level to never interact
end if
end tell
end tell
end setUserInteration

 _______________________________________________
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: InDesign jumping to forground --> Hardware specific?
      • From: Shane Stanley <email@hidden>
References: 
 >Re: InDesign jumping to forground --> Hardware specific? (From: Wayne Melrose <email@hidden>)
 >Re: InDesign jumping to forground --> Hardware specific? (From: Shane Stanley <email@hidden>)
 >Re: InDesign jumping to forground --> Hardware specific? (From: Wayne Melrose <email@hidden>)
 >Re: InDesign jumping to forground --> Hardware specific? (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: InDesign jumping to forground --> Hardware specific?
  • Next by Date: Re: InDesign jumping to forground --> Hardware specific?
  • Previous by thread: Re: InDesign jumping to forground --> Hardware specific?
  • Next by thread: Re: InDesign jumping to forground --> Hardware specific?
  • Index(es):
    • Date
    • Thread