Property not behaving in Smile 3.6.0 (Build 668)
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