Re: wordx & AS
Re: wordx & AS
- Subject: Re: wordx & AS
- From: Paul Berkowitz <email@hidden>
- Date: Wed, 14 Apr 2004 08:08:53 -0700
On 4/14/04 5:59 AM, "email@hidden" <email@hidden> wrote:
>
>> have applescript select a paragraph
>
>> copy it in a display window
>
>> let me write my translation below it
>
>> reinsert the translated stuff at the original spot
>
>
> Applescript in Word v.X is broke. I imagine it will be fixed in 2004,
>
> but
>
> for now, it's borked. You'll have to use some VBA to get this done,
>
> or, if
>
> you have it, Real BASIC.
>
>
>
> john
>
>
well, real basic3.6 came with office, do you mean that all the elements
>
defined in wordx dictionary are not accessible ? or can't be properly
>
processed with AS ? in that case it is necessary to "call" them with AS
>
and process like with a unix pipe?
>
>
sorry for the low level questions.
Almost all of Word applescripting is broken in Word X, and has been tro a
greater or lesser degree since Word 98. You get continual crashing, wrong
results, etc. The exception is the command 'do Visual Basic' which works
perfectly, but means that you have to learn VBA. In most cases, you might as
well then just use VBA straight, but there are other cases where Word is
just part of your script/workflow, and then 'do Visual Basic' lets you do
all the same things from AppleScript.
<
http://word.mvps.org/FAQs/WordMac/WordAppleScript.htm>
You can learn VBA from the O'Reilly book "Writing Word Macros", and the Help
in VB Editor is very good.
This is the only way to do it at the moment, aside from really simple
AppleScript commands like 'activate'.
--
Paul Berkowitz
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.