Eonar Posted June 20, 2008 Share Posted June 20, 2008 So I have a script that I'm having a little trouble with. While it does work I can't get it to do a few things. One when it maps the printers a "explorer search window" pops up for a second Im trying to figure out a way to hide that @run_sw on hides the CMD window. Also Im trying to figure out an If Then that will allow me to check to see if the printer is mapped already and if it not to map it but if its already mapped just to end. Any thoughts? RunWait(@ComSpec & " /c " & "RunDll32.exe printui.dll,PrintUIEntry /in /n \\server\Printer &&RunDll32.exe printui.dll,PrintUIEntry /in /n \\server\Printer &&RunDll32.exe printui.dll,PrintUIEntry /in /n \\server\Printer ","",@SW_HIDE) DriveMapAdd("s:", "\\server\foler") Link to comment Share on other sites More sharing options...
goldenix Posted June 20, 2008 Share Posted June 20, 2008 (edited) WinSetState('explorer search window', "", @SW_HIDE) Edited June 20, 2008 by goldenix My Projects:[list][*]Guide - ytube step by step tut for reading memory with autoitscript + samples[*]WinHide - tool to show hide windows, Skinned With GDI+[*]Virtualdub batch job list maker - Batch Process all files with same settings[*]Exp calc - Exp calculator for online games[*]Automated Microsoft SQL Server 2000 installer[*]Image sorter helper for IrfanView - 1 click opens img & move ur mouse to close opened img[/list] Link to comment Share on other sites More sharing options...
Eonar Posted June 23, 2008 Author Share Posted June 23, 2008 The 'explorer search window' I was talking about is the one with the flash light that goes back and forth. Any one know whats thats called? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now