General applescript questions
General applescript questions
- Subject: General applescript questions
- From: Michael Malchiodi <email@hidden>
- Date: Fri, 15 Mar 2002 09:10:19 -0500
Hi, I am new to applescript and have a few questions regarding this
language. All the applications I write must work across the board on the
various apple operating systems. I have created an app that runs fine on
os 9 however when the user runs the app(script) on os x the script seems to
launch the classic environment(which takes way to long). The result of of
launching the classic environment is that the os does perform the
operations I want but not in the manner I would like. For example the
script simply calls the apple system profiler and then launches the
profiler in the background. This works fine in os 9 however in os x the
profiler is launched in the face of the user. What I would like is
a statement that will force the code to run on the os x operating system
and not launch the classic environment. Ideally this code should be
understood but ignored by classic operating systems for backwards
compatability.
Will a classic operating system be able to execute a script created in os
x. Will the classic operating system be able to run a script created using
applescript version 1.8 when the local version of applescript is 1.1 for
example. I am wondering if this is the reason some of my scripts are
launching the classic environment from os x.
What is a good book for applescripting. I have the oreilly but it really
acts more like a grocery list of things available for scripting than a
decent reference book. I would like to have a book that contains the
functions I can call from applescript. For example applescript's version
of instring, or mid, left, right etc. I can not find this. Danny Goodman's
book do not seem to be much help as well.
Sorry for the enormity of these questions. I was hopping apple did a better
job with the os compatability than microsoft did however I am not sure
which one is worse. I guess this is why people use linux?
_______________________________________________
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.