xcraft Posted June 23, 2009 Share Posted June 23, 2009 (edited) Hello guys, I am working on one script with GUI that it will activate the language input method for the current window. Right now, I have created some buttons to do it. But when I click the button, it will focus to autoit gui itself and not to the current window. Meanwhile, I need the script to do the same job like the language bar for some reasons I have to do. For example, when I open the IE, notepad ,word or other editors.. and I want to switch the language input method to those applications. does anyone know there have some parameters to disable the focus on the autoit gui itself? Thanks, Craft Edited June 23, 2009 by xcraft Link to comment Share on other sites More sharing options...
xcraft Posted June 23, 2009 Author Share Posted June 23, 2009 I found the solution to resolve it. You can use the code like to below to stop the activate for the gui interface $DONTACTIVE = 0x8000000 GUICreate("Testing", 112, 268, 192, 124, -1, $DONTACTIVE ) Link to comment Share on other sites More sharing options...
Yashied Posted June 23, 2009 Share Posted June 23, 2009 I found the solution to resolve it.You can use the code like to below to stop the activate for the gui interface$DONTACTIVE = 0x8000000GUICreate("Testing", 112, 268, 192, 124, -1, $DONTACTIVE )$WS_DISABLED (0x08000000) My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... 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