• 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: Type Text(Sigma) question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Type Text(Sigma) question


  • Subject: Re: Type Text(Sigma) question
  • From: JJ <email@hidden>
  • Date: Fri, 02 Feb 2001 22:07:51 +0100

Super Julio dixit:

> ORIGINAL POST
>>> The following works fine when saved as an applet (either dbl-clicked in
>>> Finder, or called by Quickeys) :
>>>
>>> tell application "Scripter." to activate
>>> type text "a" holding down command
>>> type text "c" holding down command
>>>
>>> However, I tried using identical syntax at beginning of an Applet which
>>> goes on to do other things (Beginning with a Tell app "Tex-Edit" ) and it
>>> failed. Wouldn't compile at the type text command?....
>>>
>>> So whats the differnce.
>>>
>>> Although I can easily work round this by using Quickeys, I'd prefer to
>>> stick with pure AppleScript.
>
>>> xandra
>
>
> JJ responded:
>> This works fine for me:
>
>> tell application "Tex-Edit Plus"
>> activate
>> type text "a" holding down command
>> end tell
> etc....
>
> Yes this would work fine in Tex-Edit. I need the OSAX to copy all text
> from Scripter (which is NOT Scriptable -- I really should have been clear
> about this.)
>
> I'd understand if using Sigma didn't work at all with Scripter, but it
> Does IF, the applet stops there, but fails if I continue
> on...why?...workarounds?
>
> still very confused,
> xandra
>
>
>
>
>
>
>
>
>
> Alixandra Leigh
> AceDesign
> email@hidden
> ------------------------------------------
> Furniture:
>> <http://home.rochester.rr.com/alexleighs/furniture/furniture.htm>
> Renderings:
>> <http://home.rochester.rr.com/alexleighs/interiors/interiors.htm>
>
>
>
there is an extension called "Prefab Player" (http://www.prefab.com/) often
used to script non-scriptable apps.
The syntax would be

tell app "Prefab Player"
disable user input
do menu menu item "Select all" of menu "Edit"
do menu menu item "Copy" of menu "Edit"
enable user input
end tell


References: 
 >Re: Type Text(Sigma) question (From: Xandra Lee <email@hidden>)

  • Prev by Date: BetterTelnet
  • Next by Date: Re: Maybe not the Finder, but a 'wait for FMP' problem [WAS: Re: R23's Osaxen Rant] - Simple Solution...
  • Previous by thread: Re: Type Text(Sigma) question
  • Next by thread: Current hour and minute
  • Index(es):
    • Date
    • Thread