CtxHideEx32 version 1.1
Created Date: 06/13/2006
Updated Date: 05/28/2007
Description
This tool can hide or show any active window or dialog box and optionally dismiss the window/dialog box (the tool can simulate clicking on OK or Cancel buttons). This helps address the common scenario where a minor message box appears and irritates the user (for example, an idle timer window).
You can also specify a command to execute after hiding or showing the window. You can run several copies of this tool at once for different windows. This tool runs in the background and periodically (every second) checks active windows.
Installing CtxHideEx32
Download the zip file attached to this article to a local workstation, extract the contents from the zip file, and run CtxHideEx32.exe from a command prompt or from within a session.
How to Use CtxHideEx32
The syntax for CtxHideEx32 is as follows:
CtxHideEx32.exe HIDE|SHOW|NONE Window Class [OK|CANCEL] [CommandLine]
For example:
CtxHideEx32.exe HIDE "About Notepad" "" OK "calc.exe"
If you run notepad.exe and open the "About Notepad" dialog box, the tool hides the box and try to dismiss it by simulating a user clicking the OK button. Then it runs the default command interpreter (cmd.exe on most systems) and passes a command line to it (calc.exe). To avoid running the same command multiple times, the tool waits until you close calc.exe.
Another example – hiding an idle timer window:
CtxHideEx32.exe HIDE "Idle timer expired" ""
You can also specify a partial window title by placing an asterisk (*) in front of the title fragment. For example:
CtxHideEx32.exe HIDE "*timer" ""
The NONE option does nothing, but if you specify a command, it runs the command whenever the specified active window or dialog box appears.
For example:
CtxHideEx32.exe NONE "Windows Media Player" "" "shutdown -f"
This would restart your computer when you run Windows Media Player.
If you want to unload all copies of CtxHideEx32.exe, run the following command:
CtxHideEx32.exe unload
Note: Parameters in square brackets are optional. Also you can only hide windows in the session you run this tool from.
Uninstalling CtxHideEx32
To uninstall this tool, delete the executable file. If it is already running, unload all copies by running the following command before deleting the executable:
CtxHideEx32.exe unload
Security Permissions Required by CtxHideEx32
No special account permissions are needed to run this tool.
Data Modified by CtxHideEx32
None.
How to Undo the Changes Made by CtxHideEx32
Not applicable.
Contact Information
Questions? Concerns? Send any feedback for this tool to supporttools@citrix.com.
Disclaimer
This software application is provided to you "as is" with no representations, warranties or conditions of any kind. You may use and distribute it at your own risk. CITRIX DISCLAIMS ALL WARRANTIES WHATSOEVER, EXPRESS, IMPLIED, WRITTEN, ORAL OR STATUTORY, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NONINFRINGEMENT. Without limiting the generality of the foregoing, you acknowledge and agree that (a) the software application may exhibit errors, design flaws or other problems, possibly resulting in loss of data or damage to property; (b) it may not be possible to make the software application fully functional; and (c) Citrix may, without notice or liability to you, cease to make available the current version and/or any future versions of the software application. In no event should the code be used to support of ultra-hazardous activities, including but not limited to life support or blasting activities. NEITHER CITRIX NOR ITS AFFILIATES OR AGENTS WILL BE LIABLE, UNDER BREACH OF CONTRACT OR ANY OTHER THEORY OF LIABILITY, FOR ANY DAMAGES WHATSOEVER ARISING FROM USE OF THE SOFTWARE APPLICATION, INCLUDING WITHOUT LIMITATION DIRECT, SPECIAL, INCIDENTAL, PUNITIVE, CONSEQUENTIAL OR OTHER DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. You agree to indemnify and defend Citrix against any and all claims arising from your use, modification or distribution of the code.
| Comment | Posted |
|---|---|
| Does it only work on ok button? got a windows with a button with caption =Ja. Can not get this to work on this window. | Aug 9, 2006 by phuseby214A |
| CtxHideEx32.exe HIDE "About Notepad" "" OK "calc.exe" | Jul 10, 2006 by scotth01 |
| Hi. Great tool! I wonder if it could be used to hide that 'design' feature popup window when you open a seamless desktop "ICA Seamless Host Agent Dialog box: You have started Windows Explorer in your ICA seamless session. This will obscure your local Explorer desktop. To re-enable this ICA seamless connection, please log off and restart the seamless remote application." Grrr. Oh, error in the above, I have corrected below by adding a '"' CtxHideEx32.exe HIDE "About Notepad" "" OK "calc.exe" | Jul 10, 2006 by scotth01 |