• 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: Input key
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Input key


  • Subject: Re: Input key
  • From: Paul Berkowitz <email@hidden>
  • Date: Wed, 20 Mar 2002 11:32:03 -0800

That won't work at all, but using Sigma's additions to do that might well
work:

type text (ASCII character 27)

And there probably is a way with input state too, using one or more of its
other parameters (raw keys, etc.) What you should do is test it out by
devising a way to hold down the key, then running input state: probably by
means of an applet which displays the various record properties of input
state into a display dialog (you'll have to label the properties with
strings: display dialog won't just display a record as is). Hold down esc
key and double-click the applet - I don't know if that will work. Actually
you can probably just put 'input state' into a script in Script Editor with
the Script Result window showing and click Run. Then you'll see the whole
record, and can figure it out.

I'm in OS X where Akua doesn't work, so I can't test this now.

--
Paul Berkowitz

> From: Dana McDonald <email@hidden>
> Date: Wed, 20 Mar 2002 08:49:27 -0500
> To: "'email@hidden'" <email@hidden>
> Subject: Re: Input key
>
> haven't tested but try
>
> input state {keys down: ASCII Character 27}
>
> Dana McDonald
> Myrtle Beach, SC
>
>
>> From: Vincent Gibson <email@hidden>
>> Date: Wed, 20 Mar 2002 10:31:53 -0000
>> To: "'email@hidden'"<email@hidden>
>> Subject: Input key
>>
>> Hi all,
>> I'm trying to tell aother machine
>> to fake a key press. all works fine
>> using Akua sweetes, problem is
>> i need to use the escape key
>> and that doesn't work .
>>
>> Input state {keys down:"esc"}
>>
>> any ideas any soloutions?
>>
>> am near to deadline.
>>
>> thanx in advance
>>
>> Vincent
> _______________________________________________
> 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.
_______________________________________________
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: Input key
      • From: Andy Wylie <email@hidden>
    • Re: Input key
      • From: Andy Wylie <email@hidden>
    • Re: Input key
      • From: Dana McDonald <email@hidden>
References: 
 >Re: Input key (From: Dana McDonald <email@hidden>)

  • Prev by Date: Re: Stumped with open file - correction!
  • Next by Date: Re: How can I send email using AppleScript
  • Previous by thread: Re: Input key
  • Next by thread: Re: Input key
  • Index(es):
    • Date
    • Thread