Finder legacy terms no longer compile
Finder legacy terms no longer compile
- Subject: Finder legacy terms no longer compile
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 04 Apr 2003 09:46:01 -0800
OS 10.2.4 , AS 1.9.1 (and UI Scripting beta installed), Script Editor 2.0
beta, Script Debugger 3.0.6
All of a sudden, scripts will not compile with
tell application "Finder" to get name of every process
'process' is highlighted, and the error is "Expected class name but found
identifier." Pre-exisitng scripts when opened display the raw code <<class
prcs>> instead. Same for 'application process' / <<class pcap>>, etc.
It compiles fine if I substitute 'application "System Events"'.
Unfortuntately, this was in a script for a Classic app to be used in OS 8/9,
so that's not an option.
The failure occurs both in Script Editor 2.0 beta and in Scipt debugger
3.0.6. Quitting and relaunching editors doesn't help. Rebooting the computer
doesn't change anything. If I compile and save the raw code, boot into OS
9.2.2, the script both works and compiles as 'process' when opened.
Unfortunately, a some terms - like process - aren't included as elements of
teh application in Finder Basics, so their raw codes aren't available, even
in SD's Finder dictionary (nor, I should imagine, via Smile's Copy
Translate, when you can't get the term to compile in the first place.) You
just "have to know them". 'process' has simply disappeared as a Finder
application keyword. It was working just fine until today.
What's happened? Even booting into OS 9.2.2 as I had to do, then back into
10.2.4 doesn't bring 'process' back. Where'd it go?
Naturally I'll use System Events from now on in OS 10.2. But I still
maintain and update a number of classic scripts. This is very odd.
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.