• 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: Stoping the script until "Enter" is pressed?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stoping the script until "Enter" is pressed?


  • Subject: Re: Stoping the script until "Enter" is pressed?
  • From: Jolly Roger <email@hidden>
  • Date: Tue, 13 Feb 2001 12:03:27 -0600
  • Replyto: email@hidden

on 2/13/2001 11:42 AM, Mr Tea (email@hidden) wrote:

> This from Jolly Roger - dateline 2/13/01 5.08 pm:
>
>> Note: this may not work on older systems - I am not sure how far back the
>> "input state" command is supported.
>
> Looks like my version of OS 9.1 is 'too old' then.
>
> The script snippet you posted refused to compile here, the word 'state' was
> highlighted and Script Editor told me, in its inimitable way, that it
> 'expected end of line but found identifier'.
>
> Could it be that there's an itsy bitsy scripting addition involved here?

Yikes! So there is! I'm just not functioning at 100% today, my apologies!

The scripting addition needed for this command is Akua Sweets. Here is the
relevant dictionary entry from Akua:

Akua Interface Sweets V1.27 : Various additions dealing with user events,
menus, windows and controls.

input state : Get/Set the input state (state of keys, mouse and button).
input state [ Input State Rec] -- The input you wish to post as if user
input (if any). Use a Rect instead of a point as the location (with
button:down) to drag a box (or double click if the top-left and bottom-right
are the same). Use button:false to click at the location given (instead
[background check boolean] -- Defaults to TRUE, this ignores
modifier keys when in the background.
Result : Input State Rec -- The current state of affairs.

I had assumed that it was a Standard Additions command. My bad. So,
Maxime, if you want this functionality, you will first need to install Akua
Sweets.

...sorry about that!

JR


References: 
 >Re: Stoping the script until "Enter" is pressed? (From: Mr Tea <email@hidden>)

  • Prev by Date: Re: Ascii code freeware for keys/combos
  • Next by Date: Re: Accessing a Record by variable
  • Previous by thread: Re: Stoping the script until "Enter" is pressed?
  • Next by thread: Re: Stoping the script until "Enter" is pressed?
  • Index(es):
    • Date
    • Thread