• 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: Prevent asking to locate application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Re: Prevent asking to locate application (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Catching a disk insertion event in an Applescript
  • Next by Date: FileVault and path reference bug (3519134) workaround
  • Previous by thread: Re: Prevent asking to locate application
  • Next by thread: Does Powerpoint supports Apple scripts
  • Index(es):
    • Date
    • Thread