Hi,

The problem is definitely a path issue. As a newbie, you may not be aware of the path separator being different on PC's and Macs. On a Mac is the colon ":", but on Windows is the slash "\". In general, you can get this character by using:

delim = the last char of the moviePath

But in your specific case, I see that you want to run this on Windows only, and you are specifically using the Windows Acrobat reader (acrord32.exe).

From your examples below, I am assuming that the you have a folder called "reader", and in that folder there is lccc_app.pdf and acrord32.exe.

I would try using your #8, but using the slash as the separator:

on mouseUp
open the moviePath&"reader\lccc_app.pdf" with the moviePath&"reader\acrord32.exe"
end

I would stay away from the "@" in file paths. It is supported in some things and not in others.

Irv


At 10:34 AM -0600 7/29/05, Leila Singleton wrote:
Greetings!

I am in dire need of assistance! I am working on an interactive CD-ROM and I have the supposedly simple task of creating a button that, when clicked, opens a PDF file (included on the CD) into Acrobat Reader 5.0 (also included on the CD). I have tried everything and cannot concoct a behavior script that will work -- most of the scripts open Reader but will not open my PDF. I don't know how to fix this because I am a beginner and am woefully ignorant when it comes to programming/Lingo.

The project is being designed in Director MX 2004 on a Mac running OSX. The projector I am creating is destined for a Windows OS (version immaterial). I flirted with the idea of using the Buddy API Xtra to simply find Reader on the user's computer, but I instead opted to just include Reader on the CD since our particular target market may not even have Acrobat Reader on their computers -- hard to believe, I know, but true!

To elucidate my problem, I have included a list of the scripts I have tried (below -- don't laugh), as well as what goes wrong when the CD-ROM is tested on a PC operating on Windows. Let it be noted that the rest of the project -- complete with sound, URL links and QuickTime Movies and Virtual Reality panoramas (VRs) -- functions perfectly in Windows. Let it also be noted that, once I fixed the application name in Scripts 1&2 from "Acrobat Reader 5.0" to "acrord32.exe," Acrobat opened from the CD...the PDF, however, which resides in the same folder, cannot be opened. That seems odd to me; why can it find the Acrobat .exe and not my file? They're in the same place!!! HELP!!!!!!!

Thank you so much for your time. I have wasted much of my own trying to figure this simple operation out. My apologies for the "novel-esque" message!

Cordially,
Leila
________________________________________________________
****PLEASE NOTE: All error messages pop up in Acrobat Reader after it unsuccessfully attempts to open my PDF.****



--

Multimedia Wrangler.
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[email protected]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to