• 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
Property not behaving in Smile 3.6.0 (Build 668)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Property not behaving in Smile 3.6.0 (Build 668)


  • Subject: Property not behaving in Smile 3.6.0 (Build 668)
  • From: Robert Poland <email@hidden>
  • Date: Fri, 23 Dec 2011 10:23:19 -0700

Hi,

The following script, cut from a larger script, isn't behaving as it did before. The Check Syntax command says;  

-- Unused variables:

show window "Zoom copy" selection {58, 71} -- unused var: optionKeyDown
 --  set optionKeyDown to false -- reset property

Does it fail for others? Several scripts now exhibit this error.


property optionKeyDown : false

on run
main()
beep
set optionKeyDown to false -- reset property
end run

on main()
delay 1
set modKeys to do shell script (quoted form of "/Library/Application Support/getkeys")
-- test for modifier keys down
if modKeys contains "option" then set optionKeyDown to true


-- ** OPTIONS ** --
if optionKeyDown then
beep 2
end if
end main

TIA,

Robert Poland - Fort Collins, CO



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Property not behaving in Smile 3.6.0 (Build 668)
      • From: Stan Cleveland <email@hidden>
  • Prev by Date: Re: Satimage OSAX and Console messages.
  • Next by Date: finder - how do I rename/move this?
  • Previous by thread: Re: Bugs in Smile
  • Next by thread: Re: Property not behaving in Smile 3.6.0 (Build 668)
  • Index(es):
    • Date
    • Thread