Re: Highlights of AppleScript 1.5.5 in Mac OS 9.1
Re: Highlights of AppleScript 1.5.5 in Mac OS 9.1
- Subject: Re: Highlights of AppleScript 1.5.5 in Mac OS 9.1
- From: email@hidden
- Date: Fri, 12 Jan 2001 19:00:14 -0800
I played around with 9.1 while recording and here are some results:
tell application "Web Sharing"
activate
quit
end tell
That's all that recorded.
I got the same results from "Keyboard", "Location Manager" control panel.
Location Manager is scriptable but I don't think Web Sharring or Keyboard
even have dictionaries. They probably should show any commands when
recording.
Keychain Access is recordable, but again, nothing useful! How do they do
that without a dictionary?
tell application "Keychain Access"
activate
select window "Edbs Keychain"
close window "Ed Stockly TV Times"
close window "Edbs Keychain"
end tell
The appearance control panel seems to have more commands recorded than in
9.04, but still has some problems.
tell application "Appearance"
activate
--set B+class dcacB; to B+constant ****miniB;
set scroll bar arrow style to single
set scroll box style to fixed
--set B+class ????B; to true
set sound track to "Platinum Sounds"
set background pattern to "JdKB?J"
set views font to "Helvetica"
set font smoothing to false
set font smoothing to true
set minimum font smoothing size to 14
set appearance variant to "Teal"
set appearance to "Apple platinum"
quit
end tell
File Exchange seems fully recordable (I think it was in 9.04 as well)
tell application "File Exchange"
activate
set current panel to PC exchange
set mapping on opening files to false
set mapping PC extensions to false
set PC disks mount at startup to false
set current panel to file translation
set includes servers to true
set dialog suppress if only one to true
set always shows choices to false
set automatic translation to true
quit
end tell
Apple System Profiler seems more recordable, but what's recorded is not
that useful.
tell application "Apple System Profiler"
activate
close window "Apple System Profiler"
close window "Apple System Profiler"
close application "Apple System Profiler" saving no
quit application "Apple System Profiler"
end tell
Grrr! The Sherlock 2 dictionary is changed and it seems to run faster, but
it still seems limited to searching by content unless you use a preset
search file. Also it's recordable, but doesn't record anything useful.
tell application "Sherlock 2"
activate
-- set B+class pposB; of window "Sherlock" to {142, 37}
close window "Sherlock"
end tell
Mouse is recordable, as in 9.04..
tell application "Mouse"
activate
set tracking speed to 4
set mouse tracks to 4
set thick ibeam to true
set thick ibeam to false
set mouse tracks to 0
set mouse tracks to 1
set mouse tracks to 2
set double click speed to 2
end tell
Anybody get any different results?