Jump to content

Explorer Seach box popup


Recommended Posts

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

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]
Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...