Issue with process names
Issue with process names
- Subject: Issue with process names
- From: David Crowe <email@hidden>
- Date: Mon, 06 Feb 2012 09:26:27 +0800
I have found a strange thing in Lion with process names that are obtained from "Finder" or "System Events" as "name of every process".
Some important processes have a name that cannot be used in a <<tell application "X">> statement. For example, the name of Adobe Acrobat Pro comes out as "AdobeAcrobat" and "FileMaker Pro Advanced" comes out as "FileMaker Pro".
I've tried "short name" and "displayed name" to no avail.
The only thing that appears to work is to extract the process name from the filename (e.g. "Adobe Acrobat Pro.app").
This change in behaviour of course broke some long running scripts.
- David Crowe
_______________________________________________
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