Opening a doc without a file window open
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.