Re: Opening a document
Re: Opening a document
- Subject: Re: Opening a document
- From: Alex Zavatone <email@hidden>
- Date: Sun, 02 Oct 2011 20:40:56 -0500
I would do stuff like get the path name of the file and tell the finder to open the doc.
try that and if it fails, let me know
On Oct 2, 2011, at 8:13 PM, DaveC wrote:
> I open my mail program by double-clicking on the Settings file. I cannot open the mail program first as it wants to create a new settings file with defaults.
>
> How can I open the Settings file by means akin to dragging and dropping the settings file onto the application? Or by double-clicking the Settings file?
>
> This is the attempt that isn't working (because it launches the mail app first):
> - - -
> tell application [email app]
> activate
> open "applications:[email app directory]:settings"
> end tell
> - - -
> Suggestions?
>
> Thanks,
> Dave
> (a real AS beginner...)
> --
> Mac mini 2.7 GHz i7 / 4 GB / 750 GB
> OS X 10.6.8 (Snow Leopard)
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden