Hi Gregg,

On Friday, March 15, 2002, 9:32:51 PM, you wrote:

[Opening PDF files]
GI> I only tried it quickly here, but didn't have any success. Now I need to
GI> find time to investigate a little more.

I used:

--
win-lib: load/library %shell32.dll

execute: make routine! [
    hwndParent  [integer!]
    Operation   [string!]
    File        [string!]
    Parameters  [string!]
    Directory   [string!]
    ShowCmd     [integer!]
    return:     [integer!]
] win-lib "ShellExecuteA"

win-open-file:
    func [file [file!]]
    [   execute 0 "open" to-string to-local-file clean-path file "" "" 1]
win-print-file:
    func [file [file!]]
    [   execute 0 "print" to-string to-local-file clean-path file "" "" 1]
--

but I see no difference between win-open-file and win-print-file
on PDF files.

Regards,
   Gabriele.
-- 
Gabriele Santilli <[EMAIL PROTECTED]>  --  REBOL Programmer
Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to