revGoURL questions

Alex Rice alex at mindlube.com
Tue Sep 30 16:47:00 EDT 2003


Why does A work, but not B?

-- method A
revGoURL "file:///" & the defaultFolder & "/launchThisDoc.pdf"

-- method B
revGoURL "file:launchThisDoc.pdf"

I scoured the archives for the best way to launch a PDF file in 
Windows, and I guess I like method A the best. It's the method I have 
found that does all of

- uses default PDF viewer program
- non-blocking
- not dependent on outsmarting the Windows shell
- not dependent on registry lookups or anything else to go wrong.

So is method A as bulletproof as I think? Any potential path problems 
between the defaultFolder and revGoURL? Also, what is the reason for 
the "///" in method A? I don't know what that represents in a URI.

Thanks,

Alex Rice <alex at mindlube.com> | Mindlube Software | http://mindlube.com

what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco




More information about the use-livecode mailing list