Re: recording scripts
Re: recording scripts
- Subject: Re: recording scripts
- From: Michelle Steiner <email@hidden>
- Date: Tue, 10 Feb 2004 09:50:58 -0700
On Feb 10, 2004, at 8:52 AM, Mike Bautsch wrote:
I am using Script Editor 2.0 (v36) and I can't get it to record any of
my actions whether I am in the finder or any other app. Is there a
problem with this version?
The application has to be recordable. Although the OS X Finder (at
least in Panther 10.3.2) is recordable, not all functions are
recordable. Here is a script I recorded, with notes about what wasn't
recorded.
tell application "Finder"
activate
make new Finder window
make new folder at startup disk with properties {name:"untitled
folder"}
set name of folder "untitled folder" of startup disk to "foo "
set target of Finder window 1 to folder "foo " of startup disk
--the above line was recorded when I double-clicked the folder's icon
set position of Finder window 1 to {241, 307}
--I assume this happened when the folder opened.
--I option-dragged a file from the desktop to the folder, and I dragged
the copied file, the original file, and the folder to the trash; none
of those drags were recorded.
empty trash
end tell
--
Those who extol the "nobility of labor" mean the labor of others.
_______________________________________________
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.