Re: world's largest AppleScript dictionary (was Re: Digital Sigs)
Re: world's largest AppleScript dictionary (was Re: Digital Sigs)
- Subject: Re: world's largest AppleScript dictionary (was Re: Digital Sigs)
- From: Ben Waldie <email@hidden>
- Date: Tue, 14 Sep 2004 22:22:58 -0400
On Sep 14, 2004, at 10:14 PM, John C. Welch wrote:
On 9/14/04 8:05 PM, "Ben Waldie" <email@hidden> wrote:
You've never been able to record applescripts in Office...VBA, yes,
AppleScript, no.
Sorry, that's what I meant with regard to Word. It doesn't appear to
work now.
It's still there...tools=>macros=>record
No, no. What I was referring to was that previous versions of Word
were actually recordable from the Script Editor. They just recorded
mostly in VB. Here's an example of a script I just recorded in Word X.
tell application "Microsoft Word"
activate
do Visual Basic " Documents.Add DocumentType:=wdNewBlankDocument"
set contents of selection to "Test"
do Visual Basic " Selection.WholeStory"
do Visual Basic " Selection.Font.Grow"
do Visual Basic " Selection.Font.Grow"
do Visual Basic " Selection.Font.Color = wdColorRed"
end tell
Recording in Word 2004 from the Script Editor now doesn't do anything.
-Ben
Benjamin S. Waldie
President & CEO
Automated Workflows, LLC
610.935.0652
=============================================
AppleScript and Workflow Automation
Consulting - <http://www.automatedworkflows.com>
AppleScript Info - <http://www.applescriptguru.com>
AppleScript Training - <http://www.applescripttraining.com>
=============================================
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden