Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: best method?




On Jun 21, 2006, at 3:57 PM, Matt Neuburg wrote:

On Mon, 19 Jun 2006 20:54:54 +0200, Wayne Melrose <email@hidden>
said:

I have a small python script, which simply returns the number of pages of a pdf file. I want to include it in my project, and feed it the new path name each time I execute it.

My question / problem is, I don't really know the best way to get
this script to work in my project? I assume there is a more correct
way to do, or a better way, than what I'm thinking.

What *are* you thinking?

The main AppleScript Studio example in my book involves AppleScript Studio
running a perl script, so the approach taken there might be useful. Even if
you don't have the book, you can download the example from my web site. m.


--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>



Matt.. Thanks for this example!.. I *was* thinking that I should be able to include a script as an included file, or after seeing your example, a "resource" and then call on it from applescript.. what I didn't know was the actual code for calling on it.. Your example shows this perfectly.

Again, thanks, this is great! and ahh.. yeah.. ahem.. don't have your book.. I DO actually look for it every time on in a book store, haven't seen it.. Maybe it's time to order online.. ? ;)

wayne. _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden


This email sent to email@hidden
References: 
 >Re: best method? (From: Matt Neuburg <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.