• 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 - Scripting non-Scriptable Apps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Type Text(Sigma) question - Scripting non-Scriptable Apps


  • Subject: Re: Type Text(Sigma) question - Scripting non-Scriptable Apps
  • From: email@hidden
  • Date: Wed, 31 Jan 2001 20:11:05 EST

Xandra,

Two and a half thoughts.

1) Are you sure you didn't miss a quote(") around the application name
anywhere?

2) Are you certain you're not enclosing the "type text" lines in a tell block
in the Tex-Edit case? In the "Scripter" snippet you provided, the "type text"
commands are NOT inside a tell block.

2 1/2 ) Assuming you *are* enclosing the lines inside a tell block, are you
certain "type text" is not actually a Tex-Edit command (don't have it, can't
check), the syntax for which you are effectively mangling in your effort to
use Sigma's syntax?

Jeff Baumann
email@hidden
www.linkedresources.com

Comparing MHz between the G4 and Pentium is like comparing the popular vote
between Bush and Gore; it's interesting, but it isn't what matters.


In a message dated 1/31/01 10:37:23 AM, Xandra Lee wrote:

>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
>
>Alixandra Leigh
>AceDesign
>email@hidden


  • Prev by Date: Re: shutting down...
  • Next by Date: Scripter demo: downloaded yesterday, was already expired
  • Previous by thread: Type Text(Sigma) question - Scripting non-Scriptable Apps
  • Next by thread: Danny Goodman's Book
  • Index(es):
    • Date
    • Thread