application dictionaries stop working
application dictionaries stop working
- Subject: application dictionaries stop working
- From: "Jacopille, David" <email@hidden>
- Date: Tue, 14 Aug 2018 20:31:40 +0000
- Thread-topic: application dictionaries stop working
Applescript dictionaries sometimes fail to work after a restart.
E.g. Any term in the Illustrator applescript library would fail on
enter-compile.
tell application id "com.adobe.illustrator"
set user interaction level to never interact
end tell
Notably you can run this and it will store to 'ai' the application path of the
current Illustrator version on the machine, so it's not the 'application id'
function.
set ai to application id "com.adobe.illustrator"
And if you start with:
tell application "force-pick-Illustrator"
and pick the Illustrator application on prompt the "set user interaction..."
line compiles to this:
set «class pUIL» to «constant eMUIe45a»
In the above scenario if you just set the initial like to 'tell application
"Adobe Illustrator"' which it resolves to, then the script doesn't compile.
Restarting the machine a second time usually brings the functionality back.
Is there some OS X process that can be killed and restarted that will get the
applescript dictionaries to work again?
Thanks,
Dave
MFS Email system made the following annotation
---------------------------------------------------------------------------------------------------------------------------------------
This email communication and any attachments may contain proprietary,
confidential, or privileged information. If you are not the intended recipient,
you are hereby notified that you have received this email in error and that any
review, disclosure, dissemination, distribution or copying of it or its
contents is prohibited. The sender does not waive confidentiality or any
privilege by mistransmission. If you have received this email in error, please
notify the sender immediately, delete this email, and destroy all copies and
any attachments.
_______________________________________________
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