Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3360528
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T03:00:11+00:00 2026-05-18T03:00:11+00:00

I have a vbscript file that will open a document with the correct program

  • 0

I have a vbscript file that will open a document with the correct program using SharePoint.OpenDocuments, which is present if Microsoft Office is installed. It’s basically: CreateObject("SharePoint.OpenDocuments.2").EditDocument("MyDocument.docx") where MyDocument.docx can be anything and the correct program will open.

Is there a way of achieving the same thing in AppleScript on a Mac if Microsoft Office is installed (or even otherwise)?

Thanks,

Adam.

UPDATE: The location of the file will be something like “http://myserver/myfile.doc” and this will be hard coded into the script.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T03:00:12+00:00Added an answer on May 18, 2026 at 3:00 am
    set chosenFile to choose file
    tell application "Finder"
        open chosenFile
    end tell
    

    The open command can be further expanded to accept a reference to an application and other arguments related to opening the file, but the above is all you really need if you don’t need to specify the application.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a vbscript file A that will call another vbscript file B. File
We have a simple file browser on our intranet, built using ASP/vbscript. The files
I have a vbscript which does the following: Open an access 2003 database Run
I have a batch file that calls a vbscript file. I am trying to
I have an HTML file C:\Program Files\my_html_files\file.html . How do I open this file
VBScript doesn't appear to have a way to include a common file of functions.
We have an old process (VBScript) that reads a common mailbox and processes certain
I have to write something in vbscript that need to use a unique set.
I'm using VBScript (ASP Classic) and SQL Server; I'm trying to have a section
I have to write vbscript that prints all files in a folder. Printer dialog

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.