Kornel Posted August 20, 2009 Share Posted August 20, 2009 Is there any way to make a few threads from ONE function, "adlibenable" is drop of for that purpose, it can use only one thread from function, and it doesnt return any handle. Link to comment Share on other sites More sharing options...
Yashied Posted August 20, 2009 Share Posted August 20, 2009 Look at _Timer_SetTimer(). 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...
Kornel Posted August 20, 2009 Author Share Posted August 20, 2009 (edited) ok, and how I can make something like this using _Timer_SetTimer()? func name_of_functon() .... endfunc for $i=0 to 3 make_thread("name_of_function") next it must work all threads simultaneously Edited August 20, 2009 by Kornel Link to comment Share on other sites More sharing options...
Yashied Posted August 20, 2009 Share Posted August 20, 2009 AutoIt does not support threads. AdlibEnable() - it is quite another. 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...
Kornel Posted August 20, 2009 Author Share Posted August 20, 2009 ok, thx but maybe someone have function to waiting/finding window names in short time from array with window names? example: func myWindowWait($array_with_names[]) for $i to unbound()-1 winwait($array_with_window_names[$i],$time=10s) ;it must be long time for one window, because program is sometime busy and not responding ;and hear is an problem... when I have 10 elements the time is 100 sec. next endfunc So I'm looking for metod that all 10 (or more windows) will be tested in 10 seconds OR how to check that program is responding? (is not busy) maybe by checking that is he resonding or refreshing the window? but how? 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