Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Opening an Acrobat Document (Shell?)

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
In a D7 presentation, I am trying to create a button that opens Adobe Acrobat and then opens an acrobat document. I have written the code below, but only the second line works - but that only opens Acrobat and not my document...

on mouseUp me

--open "Acrodoc.pdf" with "C:Acrobat3\Reader\AcroRd32.exe"


--open "C\Acrobat3\Reader\AcroRd32.exe"


--open the moviePath & "Acrodoc.pdf" with "CAcrobat3\Reader\AcroRd32.exe"

end

In visual Basic, I would use the "Shell" command to do this - how do I do it in Director?

Thanks
 
Only thing I can think of is the typos might be messing it up.
I have redone the same commands with the "\" and ":" fixed.

open "Acrodoc.pdf" with "C:\Acrobat3Reader\AcroRd32.exe"

open the moviePath & "Acrodoc.pdf" with "C:\Acrobat3\Reader\AcroRd32.exe"
 
You can use the FileXtra3 to do this. In your case, if Acrobat isn't installed in this path, your code does't work correctly.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top