• 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: TypeText on OS X?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re: TypeText on OS X?


  • Subject: re: TypeText on OS X?
  • From: Charles Arthur <email@hidden>
  • Date: Thu, 6 Jun 2002 11:29:56 +0100

On Thu, 6 Jun 2002 00:49:21 -0400, Thomas Zeilstra <email@hidden> wrote:

>I've found the TypeText command to be very useful in OS 9 (I believe
>it's from "Sandi's Additions". It basically makes the computer think
>that you just typed in something with the keyboard. Is there anything
>like that for OS X?

Youpi Key lets you mimic keyboard (and menu) events and a stack of other
things besides, and at #0 ($0) it's hard to beat the price. Except if
someone paid you to use it. Whatever happened to dotcoms?

http://perso.club-internet.fr/phupe/english/YKIndex.html

Also lets you run scripts, and map the running of scripts to keyboard
combinations - so, in its way, like OSA Menu, except (am I allowed to say
this?) more powerful. It sits in the menu, and you can map particular
scripts (and all sorts of other things) to particular applications, or have
them global.

The only wrinkle I've noticed is that if a script fails, you don't get told
so. I've mentioned this to the author, who says he'll have a look at
getting error alerts in the next version. (It's presently 1.7.)

>tell application "Finder"
> TypeText "Macintosh HD"
> TypeText "o" with command
> TypeText "Applications (Mac OS 9)"
> TypeText "o" with command
> TypeText "SimpleText"
> TypeText "o" with command
> TypeText "I'm writing in Simpletext...yeah!!"
>end tell
>
>--yes, i know i could just open simpletext but I wanted to show what
>typetext did....

Except you couldn't do the last step without the OSAX, because Simpletext
isn't scriptable.

Charles

----------------------------
http://www.ukclimbing.com : 1100+ British crags, 350+ British climbing
walls - searchable by distance and anything else you care to think of -
with weather forecasts for every one, plus maps, articles, news and
features. And there's even a cool shop attached.



________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________
_______________________________________________
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: TypeText on OS X?
      • From: Simon Forster <email@hidden>
  • Prev by Date: Re: Another shell script query
  • Next by Date: Re: Question of the day: (.???) for Compiled AppleScript Files
  • Previous by thread: TypeText on OS X?
  • Next by thread: Re: TypeText on OS X?
  • Index(es):
    • Date
    • Thread