Copyright 1993-99 by Jon Pugh. All rights reserved.
alias zone name string -- The zone of the original item.
alias machine name string -- The machine of the original item.
alias volume name string -- The name of the volume the original item is from.
alias path string -- The path of the original alias.
alias alias -- The alias from the file. This is only present when resolving is true.
alias was changed boolean -- Was this alias changed when resolved? This is only present when resolving is true.
machine type string -- The name of the Macintosh model.
CPU type string -- The CPU installed.
System version string -- The current System version.
FPU boolean -- Does this machine have an FPU?
Color Quickdraw boolean -- Does this machine have color Quickdraw?
AppleTalk version extended real -- The current AppleTalk version.
keyboard string -- The name of the main keyboard.
Data Access Manager boolean -- Does this machine have the Data Access Manager installed?
software power off boolean -- Does this machine turn off when shutdown?
logical RAM integer -- Amount of RAM available to the system.
physical RAM integer -- Amount of RAM installed in this machine.
active scripts integer -- Number of script systems active.
virtual memory boolean -- Is virtual memory on?
scriptable Finder boolean -- Is the scriptable Finder present?
owner name string -- The owner name in sharing setup.
sharing name string -- The machine name in sharing setup.
PowerPC boolean -- Whether this machine is a PowerPC.
Open Transport boolean -- Whether this machine has Open Transport available.
Open Transport version extended real -- The Open Transport version.
ethernet address string -- The current address of the ethernet port.
Display Manager version extended real -- The Display Manager version.
Jons version extended real -- The version of Jon's Commands.
name string -- The name of this type of screen.
screen id integer -- The unique id of the screen.
screen size point -- The height and width of the screen.
bounds bounding rectangle -- The boundary rectangle for the screen.
refresh rate integer -- The refresh frequency of this monitor (DM2 only).
color depth small integer -- The screen color depth setting.
in color boolean -- If the screen is in color (versus grayscale).
has menu bar boolean -- If this is the main screen which the menu bar is on.
supported resolutions a list of record -- The resolutions supported by this monitor (DM2 only).
resolution index integer -- The index into the supported resolutions list for this resolution.
safe resolution boolean -- Is this resolution safe or does it require user confirmation?
AE user interaction level AE interact with self/AE interact with local/AE interact with all -- The new interteraction level.
Result: AE interact with self/AE interact with local/AE interact with all -- The old interaction level.
alias information alias -- An alias or a file containing an alias resource (like a Finder alias file).
[id integer] -- The resource id of the desired alias resource (defaults to 0 or first found).
[resolving boolean] -- Use “without resolving” to avoid password dialogs.
Result: alias info object -- A record containing the alias information.
choose color string -- The prompt for the color picker dialog (default is Pick a color:).
[starting color RGB color] -- The color to start from (gray is the default).
Result: RGB color -- The chosen color.
clipboard info
[for type class] -- The data type about which information is requested.
Result: list -- A list of lists of data type & size.
copyFile anything -- The file (or list) to copy as file, alias or string.
to anything -- The destination folder or file.
[replacing yes/no/ask] -- Whether to replace an existing file.
deleteFile anything -- A file, folder or list as file, alias or string.
unlocking boolean -- Delete locked files (default is to error on locked files).
safety net boolean -- This will only delete empty folders unless “without safety net” is used, in which case it will delete everything in the folder.
execute FKEY string -- The name or number of the FKEY resource.
fileIsBusy alias
Result: boolean -- Whether the file is open or not.
free memory appZone/sysZone -- The zone to check for free space.
Result: integer -- The free memory in bytes.
keyboard lights a list of num lock light/caps lock light/scroll lock light -- The lights (or 0-7) which you wish to be on (null data or -1 will leave lights as is, empty list or 0 turns all lights off).
Result: a list of num lock light/caps lock light/scroll lock light -- The lights which are currently on (will be 0-7 if a number was used for input).
keys pressed
Result: a list of string -- A list of key names.
load embedded scripting additions
[only the top resource file used boolean] -- Use only the top resource file. Default is to use all resource files (except Jon's Commands).
machine environment string -- An optional custom Gestalt code.
[check bit integer] -- The bit to check (from 0 to 31 with 0 as lowest bit).
Result: environment info object -- The environment record.
moveFile anything -- A file or folder (or list) as file, alias or string.
to anything -- The new folder as file, alias or string.
play sound sound -- A sound resource name or ID number, a sound file reference or a sound descriptor.
renameFile anything -- A file or folder as file, alias or string.
to string -- The new name (not a pathname).
run script resource anything -- A script resource name or ID number.
[Result: anything]
screen list
[starting with main screen/deepest screen/largest screen] -- The first screen in the list.
Result: a list of screen info object -- Current screen configuration.
set cursor to arrow cursor/watch cursor/busy cursor/I beam cursor/cross cursor/plus cursor/string/short integer -- The new cursor.
with cursor list string/short integer -- The name or number of an acur resource.
set screens to a list of screen info object -- Desired screen configuration.
set sound volume to small integer -- A volume level from 0 to 7.
[large range boolean] -- Whether to use 0-255 range (default is false, 0-7).
set the clipboard to anything -- The data to place on the clipboard.
snag object reference -- The object parameter to snag.
in 'file' -- The file to save the object into.
[id integer] -- The resource id for the object (128 by default).
[type string] -- The resource type of the saved object ("obj " by default).
sound volume
[large range boolean] -- Whether to use 0-255 range (default is false, 0-7).
Result: small integer -- The volume level, from 0 to 7.
the clipboard
[as type class] -- The type of data desired.
Result: a list of anything -- The data from the clipboard.
the ticks
Result: integer -- The number of ticks since the machine was started.
walk folders a list of file specification -- The folders to walk through.
with script script -- The script object to send the open message to.
[using folders boolean] -- Whether to use folders (default is false).
[using files boolean] -- Whether to use files (default is true).
[only using files of type string] -- The type(s) of files to operate on.
[invisibles boolean] -- Whether to use invisible files (default is true).
|| url: http://www.foodoo.sunreal.com.au/info/dictionaries/JonsComds_212_asDict.html
|| created: 4-Aug-03, 9:48 PM; updated: 4-Aug-03, 2:48 PM
|| size: 43305 bytes