• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Jon's Commands X (d1)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Jon's Commands X (d1) (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: osascript - path to me
  • Next by Date: Re: MacRoman to hex-ISO Latin 1
  • Previous by thread: Jon's Commands X (d1)
  • Next by thread: Re: Jon's Commands X (d1)
  • Index(es):
    • Date
    • Thread