Re: Prevent asking to locate application
Re: Prevent asking to locate application
- Subject: Re: Prevent asking to locate application
- From: Joseph Weaks <email@hidden>
- Date: Mon, 29 Mar 2004 21:09:23 -0600
On Mar 29, 2004, at 6:25 PM, Paul Berkowitz wrote:
If you really do need to use 'do Visual Basic' for some other command,
then,
yes, you'd use
using terms from application "Microsoft Word"
tell app theApp
do Visual Basic "Dim oDoc as Document
Set oDoc = Documents.Add"
end tell
end using terms from
or whatever.
Thanks Paul. I do need to use do visual basic because the script allows
for different options before pasting, such as
Selection.Collapse wdCollapseEnd
so that it doesn't replace the selection.
So, using terms from application "Microsoft Word" won't ever ask users
to locate Word if that portion of the "else if" block never receives
the flow? I was hoping so. That's great.
Thanks,
Joe
_______________________________________________
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.