[REBOL] Re: Using call with view/pro
From: g:santilli:tiscalinet:it at: 16-Mar-2002 12:50
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 <[g--santilli--tiscalinet--it]> -- REBOL Programmer
Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r