Re: Opening a document
Re: Opening a document
- Subject: Re: Opening a document
- From: Alex Zavatone <email@hidden>
- Date: Sun, 02 Oct 2011 22:13:52 -0500
OK, so figure that out.
get the file path of the file as a string.
On Oct 2, 2011, at 9:33 PM, DaveC wrote:
> "Applescript Error
> Finder got an error: Handler can't handle objects of
> this class"
>
> Dave
>
> -=-=-=-
>
>> 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
>
> -=-=-=-
>
>> > 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