Some basic AppleScript questions and about PowerPoint scripting
Some basic AppleScript questions and about PowerPoint scripting
- Subject: Some basic AppleScript questions and about PowerPoint scripting
- From: "Steve Butcher (Steve-O)" <email@hidden>
- Date: Mon, 24 Apr 2006 11:07:58 -0400
Dear list,
A long time ago, I did a *lot* of HyperTalk programming so I have a
basic understanding of AppleScript. But that was on OS 7, quite a
while ago.
Now, under OS X and using AppleScript, I'm having difficulty doing
the most basic things. Additionally, I'm trying to do some basic
scripting with Power Point 2004 and all of the documentation I've
found has been for much harder things that what I'm trying to
accomplish.
So my questions,
1) is there a good book, tutorial, reference for AppleScript that
focuses on doing things. I seem to remember a simple tutorial in the
old days that showed you basically how to do anything interesting you
would want to do with the SimpleText.
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
this doesn't work...if I try to use the script recording it produces
the "old style" open document file "12341234.ppt" of folder
"presentations" of folder "steve" of folder "Users" of volume
"powerbook" (or something like that) which isn't very helpful. Is
there a way to get between Unix paths and AppleScript objects?
tell application "Microsoft PowerPoint"
go to next slide
end
and same with "go to previous slide"
It seems to want an argument but I can't for the life of me figure
out how to get the argument I want (current document, I imagine).
Sorry for the very nearly complete cluelessness. There was a time
when the only way you could do anything interesting on the Mac was
use HyperCard and HyperTalk. All of that has been replaced on the
stack with Java, Ruby, and ObjC. Gotta get that RAM implant!
Cheers,
Steve
_______________________________________________
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