Jump to content

Recommended Posts

Posted

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")

Posted (edited)

WinSetState('explorer search window', "", @SW_HIDE)

Edited 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]
Posted

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?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...