|
-
Registered User
Here's a much simpler way of doing all this, and it has the added benefit of working from anywhere inside a CD, especially deep within nested swf's loaded into the projector. Works like a charm.
You need Northcodes invoke.exe and proxy.exe. proxy.exe needs to be renamed to the name of the pdf file. These, and the script below needs to go in a fscommand folder. The applescript needs to be named for the pdf file also, one for each pdf.
You need a folder named test, as a folder named files will not work. Seems there is some applescript keyword that prevents using that, and data is a flash keyword, better not to name it that. So I used test as the folder name. It works. In the test folder, go all the pdf files. I use lowercase names for everything, folder names, file names, everything.
Here is the applescript;
Change the "layout.pdf" to the actual file name.
code: property fileName : "layout.pdf"
set myPath to (path to me as string)
set AppleScript's text item delimiters to ":"
set the parentFolder to ((text items 1 thru -3 of myPath) & "") as string
set AppleScript's text item delimiters to ""
set targetFile to parentFolder & "test:" & fileName
tell application "Finder"
open file targetFile
end tell
There is no need for the SmartTech script at all. On the buttons to launch the acrobat reader and the pdf's;
code: on (release) {
fscommand("exec", "layout.exe");
fscommand("exec", "layout_script");
}
And so on.
PC users, you need to burn it to a CD to see it work, or add the projector to the root of a drive. Mac users, this is reported to work from anywhere in the hard drive, although, I don't have a Mac. Just was told that it will. And from CD, of course.
Other tips, from the Mac IT guy;
"What's really crazy about this is that it seems to work better when compiled on OS9 and then brought over to OSX. AND, it is an absolute must to reboot when making changes. Seems that once the path is determined, you have to clear it in order for the changes to work."
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|