Re: Some basic AppleScript questions and about PowerPoint scripting
Re: Some basic AppleScript questions and about PowerPoint scripting
- Subject: Re: Some basic AppleScript questions and about PowerPoint scripting
- From: Bill Briggs <email@hidden>
- Date: Mon, 24 Apr 2006 14:34:00 -0300
At 11:07 AM -0500 4/24/06, John C. Welch wrote:
>On 4/24/06 10:07, "Steve Butcher (Steve-O)" <email@hidden>
>wrote:
>
>> 2) My review of the list suggests that working with Microsoft Office
>> 2004 using AppleScript is not conventional? I'm trying to do just a
>> few simple things:
>>
>> tell application "Microsoft PowerPoint"
>> activate
>> open document file "~/presentations/12341234.ppt"
>> end
>
>Have you tried doing the full path as HFS-style, but text, not alias? Office
>is kind of weird about such things. As well, I'd avoid the tilde shortcut
>for "home directory root" in general with AppleScript unless it's in a "do
>shell script" command. I've had inconsistent results
Just use
path to current user folder
to get the path and you don't need to worry about inconsistencies.
- web
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden