what additional info do you need to view, in addittion to what Apple System Profiler gives you?
Sorry for asking such a lame question, but how can I get a list of system attributes available with APPLESCRIPT ? I took a look at several websites, but I found nothing...please help !
what additional info do you need to view, in addittion to what Apple System Profiler gives you?
Serendipity is a lucky guess !
While you're in the Script Editor, choose "Open Dictionary" from the "File" menu. Then, choose the Application you wish to script, and click "open." There you go. Have fun.
Enjoy your AppleScript!
-Adam S ... PowerBook G4 (Mac OS X... the latest version, whatever it is, I've got it, dangit) and original iPod (iLove music, therefore iLove iPod)
<shamelessplug>http://www.geocities.com/adambyte</shamelessplug>
dictionary is a good place to start.
but don't forget http://www.apple.com/applescript/ either![]()
Mac Mini Server | MacBook Pro | iPhone | Other Macs + a bunch of iPods, Newtons and other toys
Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do.
~ Samuel Clemens | G's corner | Photos | @ Plus+ and Game Center
Thanx for your replies, but I think I should give you an example of what I am searching for. Look :
tell application "Finder"
end tell
Thanx for your replies, but I think I should give you an example of what I am searching for. Look :
tell application "Finder"
set OSVersion to system attribute "sysv"
end tell
How can I have a list of the others system attributes like SYSV ?
http://www.apple.com/applescript/rel...es/181OSX.html
The gestalt selectors are listed here:The system attribute command has been extended to provide information on the user's environment variables. These are set up at user login time and cannot be altered. If the direct parameter to system attribute is a four-character Gestalt code, it is executed as in Standard Additions 1.7; if not, it attempts to get an environment variable by that name, returning either the value of the variable or an empty string. (Note that system attribute now will not fail with an error; it simply returns an empty string.) If called with no parameters, system attribute returns a list of all currently-defined environment variables.
http://developer.apple.com/documenta...stalt_Manager/
Thank you for your help ! Now, I'll be able to become an APPLESCRIPT Wizard ;-)
Bookmarks