Re: Quick help with command keys...
Re: Quick help with command keys...
- Subject: Re: Quick help with command keys...
- From: Paul Berkowitz <email@hidden>
- Date: Thu, 26 Sep 2002 14:47:31 -0700
How many times do you need to hear it, RevDave? AppleScript does not work at
the "User Interface" level. It doesn't copy and paste. If a particular
scriptable application has such commands implemented for AppleScript, inside
a tell block to that application, then yes. But most applications commands
are designed to be able to do thing without messing about in the interface
at all. Most scriptable text applications, however, do in fact have a
'selection' property, and commands for dealing with the selection.
One generic AppleScript command, actually it's one of the Standard
Additions, you might like to know about is
the clipboard
also
set the clipboard
which can extract and place contents of the clipboard.
There are tutorials by Bill Briggs available at the Apple AppleScript
website. a good book for learning AppleScript is "Danny Goodman's
AppleScript Handbook" , second edition, available at amazon.com and not many
other places.
--
Paul Berkowitz
>
From: "Domains4Days.com" <email@hidden>
>
Date: Thu, 26 Sep 2002 09:04:49 -0700
>
To: AS Users <email@hidden>
>
Subject: Re: Quick help with command keys...
>
>
I'm sorry to belabor this point, I'm not here to upset anybody, I just
>
need to be clear about this ...
>
>
What Paul and John are saying - is that there is NO way to have a generic
>
Apple command ( like command-c ... command-v etc. (copy/paste etc.))
>
inside of an AppleScript - AppleScript does not deal with the basic Apple
>
command keys?
>
>
along these lines - if anybody can recommend an AppleScript for idiots -
>
either Web site or book - I would like to know about this.
>
>
>
On 9/24/02 3:12 PM, "Domains4Days.com" <email@hidden> wrote:
>
>
> For example, is there a way to write a simple AppleScript that's simply
>
> copies what ever Text that happens to be highlighted at any given time in
>
> any application? ( This would be the equivalent of typing command - C ...)
>
>
--
>
RevDave
>
email@hidden
>
>
Check out some great Domain Names at:
>
http://www.domains4days.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.
_______________________________________________
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.