Re: Jon's Commands X (d1)
Re: Jon's Commands X (d1)
- Subject: Re: Jon's Commands X (d1)
- From: Peter Fischer <email@hidden>
- Date: Mon, 20 May 2002 16:14:27 +0200
I have a feeling that Jon really opened something here.
On a iMac 800, OS 10.1.4, I created a folder "Users/Shared/Scripting
Additions Folder" and put "Jon's Commands.osax" in it. I can get a
dictionary, but I think that may not be a functional location.
I tried to find the usual (as in OS 9) Scripting Addition to check
out "GetKey info" and struck out there also.
The command <if (keys pressed) contains "Option"> gives the error
"Expected "," but found identifier."
Hi Robert,
as discribet in the dictionary, keys pressed will return a list of strings.
So you have to write something like this:
if (keys pressed) contains {"Command"} then
display dialog "The Command key was pressed"
else
display dialog "The script started without any modifier key"
end if
--
Peter Fischer
Fischer-Bayern
"The source for german AppleScripters"
http://www.fischer-bayern.de
_______________________________________________
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.