Hi
Lots of “doesn’t work anymore with Mavericks”. One more here
I use a script in Indesign with a lot of “display dialog” that are supposed to “give up after” a lapse of time. This script used to work perfectly with Indesign CS6 under Lion. Now, under Mavericks, my “dialogs” don’t “give up” anymore : I have to stay in front of the screen and click “OK” every time one dialog appears.
This occurs ONLY in Indesign. If I launch the same script from “Applescript editor”, then it works.
I’ve allowed EVERY apps (CoreServices, etc. included) present on my mac in the privacy panel of system preferences, but nothing changed.
Here is a little sample of my script where the “giving up after” fails when launched from Indesign :
dialog("Vérification/création des dossiers.", "1")
set dossPSs to makeFolder("Fichiers .ps", path to desktop)
set dossBD to makeFolder("BD", dossPSs) as text
set dossHD to makeFolder("HD", dossPSs) as text
on dialog(theStatus, casDialog)
if casDialog = "1" then
display dialog theStatus buttons {"OK"} default button "OK" giving up after 2
.
end if
return button returned of result
end dialog
on makeFolder(theName, theOutputFolder)
tell application "Finder"
if (folder theName of theOutputFolder exists) = false then
set theFolder to make new folder at theOutputFolder with properties {name:theName}
set dialogCrea to 1
else
set theFolder to folder theName of theOutputFolder
set dialogCrea to 0
end if
end tell
return theFolder
end makeFolder
Thanks in advance if someone could help me