altBrowser Print

Pat Trendler ptrendler at bigpond.com
Sat Mar 19 03:48:06 EST 2005


Hi,

I got that message too. I had cut and paste from the email and the "get 
shell.. line had changed to this:
Corrected it and it then ran ok.

get shell("rundll32.exe C:\\\.dll,PrintHTML" && quote & theURLtoPrint & 
quote)


Pat

----- Original Message ----- 
From: <FlexibleLearning at aol.com>
To: <use-revolution at lists.runrev.com>
Sent: Saturday, March 19, 2005 5:55 PM
Subject: Re: altBrowser Print


>
> Hi Derek:
>
> On my win2k I get err "The specified module could not be found".
>
> /H
>
> ----
> I've just found a workaround for printing with a dialog box in
> altBrowser for Windows, and I felt like sharing it.  I know that this
> works on WinXP Home SP2 with IE 6.  I don't know about older versions,
> but anyone else who has it should be able to test it.
>
> on  doPrint
> set cursor to watch
> set the  hideConsoleWindows to true
> if "NT" is in the systemVersion then  set the shellCommand to
> "cmd.exe" else set the shellCommand to  "command.exe"
> get shell("rundll32.exe  C:\WINDOWS\System32\mshtml.dll,PrintHTML" &&
> quote &  theURLtoPrint & quote)
> end doPrint
>
>
> ----
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution 



More information about the use-livecode mailing list