• 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
SE2 script snippet for Mouse Speed fails???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SE2 script snippet for Mouse Speed fails???


  • Subject: SE2 script snippet for Mouse Speed fails???
  • From: Dale Gillard <email@hidden>
  • Date: Sun, 22 Dec 2002 12:20:19 +1100

Hi all

I've copied the following snippet from the 'Setting Trackpad-Mouse Speed' script in the SE2 documentation. I get the error msg "Syntax Error - Expected end of line but found class name" when checking the syntax. It highlights the phrase "menu item" in the line beginning "click menu item". If i comment this line out, the script works fine.

I've upgraded to 10.2.3, so does this mean that 10.2.3 wasn't properly installed? I can't imagine it's a SE2 bug if the script is provided in Apple's docs.

Thanks
Dale

-------------
tell application "System Preferences"
activate
end tell

tell application "System Events"
tell process "System Preferences"
click menu item "Mouse" of menu "View" of menu bar 1
delay 3
end tell
end tell
---------
_______________________________________________
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.

  • Follow-Ups:
    • Re: SE2 script snippet for Mouse Speed fails???
      • From: Sander Tekelenburg <email@hidden>
    • Re: SE2 script snippet for Mouse Speed fails???
      • From: email@hidden
  • Prev by Date: Re: BIG number as string
  • Next by Date: Re: SE2 script snippet for Mouse Speed fails???
  • Previous by thread: Re: New GUI Scripting
  • Next by thread: Re: SE2 script snippet for Mouse Speed fails???
  • Index(es):
    • Date
    • Thread