• 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
Opening a doc without a file window open
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Opening a doc without a file window open


  • Subject: Opening a doc without a file window open
  • From: Dave Groover <email@hidden>
  • Date: Sat, 12 Apr 2003 08:28:15 -0400

I don't know if I am doing this incorrectly or it there is a better
way. Or perhaps this is just the way the finder is designed? But,
when I have a script open a document, it also opens the window that
the file was residing in. This is unnecessary and adds to desktop
clutter. Is there a better way?

Example:

tell application "Finder"
open file grabTheDocument
end tell

grabthedocument was set to a file name that was stored in Panorama
already. This part just takes that blob and tells the file on disk to
open.

The document opens just fine but first the window opens with the file
in it. Can I word it so that I only tell the file to open, without
having the finder window open first? At the very least I suppose I
could close the window at the end of the script.

Thanks

Dave
_______________________________________________
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.

  • Follow-Ups:
    • Re: Opening a doc without a file window open
      • From: Michelle Steiner <email@hidden>
References: 
 >Re: Making text plain or bold in Word (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: putting a Unicde character into a string (Was Re: Keystroke a period or numbers ?)
  • Next by Date: Re: Making text plain or bold in Word
  • Previous by thread: Re: Making text plain or bold in Word
  • Next by thread: Re: Opening a doc without a file window open
  • Index(es):
    • Date
    • Thread