Hey guys look what I've found!
Use it at your own risk though, I've tested most of it but under Win2K
Here is a list of some commands I've found for Rundll32 that can be
triggered from Director with the simple open command:)
If you reckon it could be usefull let me know and I'll keep looking for
more functions ..still.. even this much is great if you are creating a
Windows app with a good old MD.

Try the stuff below from the message window

-- Open the network and dialup connections dialog
open("RUNDLL32 SHELL32.DLL,Control_RunDLL NCPA.CPL,@0,2")

-- Open the Time Date dialog
open("RUNDLL32 SHELL32.DLL,Control_RunDLL TIMEDATE.CPL,@0,1")

-- Open the Screen Saver dialog
open("RUNDLL32 SHELL32.DLL,Control_RunDLL DESK.CPL,@0,1")

--Open the System properties dialog
open("RUNDLL32 SHELL32.DLL,Control_RunDLL SYSDM.CPL,@0,2")

--open the "Add New printer dialog"
open("RUNDLL32 SHELL32.DLL,SHHelpShortcuts_RunDLL AddPrinter")

-- Open the disk copy dialog (no clue how to use this)
open("RUNDLL32 DISKCOPY.DLL,DiskCopyRunDll")

--Open the "Open AS" dialog
open("RUNDLL32 SHELL32.DLL,OpenAs_RunDLL" && string(the moviePath))

-- Open the mouse control pannel
open("CONTROL MAIN.CPL")

-- Open "Connect to Printer" dialog:
open("RUNDLL32 WINSPOOL.DRV,ConnectToPrinterDlg")

--open printers folder in win2K --
open("RUNDLL32 SHELL32.DLL,SHHelpShortcuts_RunDLL PrintersFolder")

-- Install a screensaver, copy the *.SCR file to the Windows directory
first 
open("RUNDLL32 DESK.CPL,InstallScreenSaver C:\WINNT\myScreenSaver.scr")

-- open the fonts folder
open("RUNDLL32 SHELL32.DLL,SHHelpShortcuts_RunDLL FontsFolder")

-- Print a HTML document
open("RunDLL32.EXE mshtml.dll, PrintHTML "HtmlFileNameAndPath")

-- Launch any registered application or file (.exe, .doc, .pdf)
open("RunDLL32.EXE shell32.dll,ShellExec_RunDLL c:\test\mydoc.pdf")

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]

Reply via email to