Launch doc with a program

Jyrki Kanerva jyrki.kanerva at mediakeel.com
Thu Oct 31 14:24:01 CST 2002


Hi, how do I start a progam form inside Runrev with a specific
document (PC not Mac).

I need something similar to:

revGoURL "http://www.runrev.com"

, but I have to open local pdfs and word docs for example.

I have tried the launch command, something like:

if (docFileNameWpath <> empty) then
  put word 1 to -2 of
queryRegistry("hkey_local_machine\software\classes\AcroExch.Document\shell\o
pen\command\") into acroBaatti
  launch docFileNameWpath  with acroBaatti
end if

I cant open the same pdf again or a different pdf. So this is not a reliable
way.
Some years ago (MetaCard) I used  External Collection, but now
the Collection works only in Macs (Runrev)?

Any suggestions. I know this been discussed some times
 but I havent found any solution yet. Some other command
than launch? How do you query reg to get right path to
launch the program.

Regards,

Jyrki Kanerva

--------------------------------
Mediakeel Oy
Linnanrakentajantie 6-8 C
00880 Helsinki
tel. 358 (0)9 323 3121
info at mediakeel.com
www.mediakeel.com
--------------------------------





More information about the use-livecode mailing list