sandin Posted March 18, 2009 Author Share Posted March 18, 2009 try running from scite, or compile and then try. actually, just made an update, totally eliminated "local" $hicons... try now. Some cool glass and image menu | WinLIRC remote controler | Happy Holidays to all... | Bounce the sun, a game in which you must save the sun from falling by bouncing it back into the sky | Hook Leadtek WinFast TV Card Remote Control Msges | GDI+ sliding toolbar | MIDI Keyboard (early alpha stage, with lots of bugs to fix) | Alt+Tab replacement | CPU Benchmark with pretty GUI | Ini Editor - Edit/Create your ini files with great ease | Window Manager (take total control of your windows) Pretty GUI! | Pop-Up window from a button | Box slider for toolbar | Display sound volume on desktop | Switch hotkeys with mouse scroll Link to comment Share on other sites More sharing options...
Ascend4nt Posted March 18, 2009 Share Posted March 18, 2009 (edited) Very cool script. And hey - I recognize one of those functions ;-). Regarding previous mentions of white lines - I do occasionally get a tiny white line on the bottom left of the window pics, but its hardly noticeable to me. Also, just a small note or two about that _WinGetPath() function - the function opens and closes DLL handles on each call to the function (not very efficient), and lacks error handling (try getting a path for csrss.exe, and you'll get a garbage string back). It will also fail on Windows x64. (For alternatives/solutions see my _WinAPI_ProcessGetFileName & _WinAPI_ProcessGetPathname functions) But anyhow, for Win x32 'AltTab' windows it probably won't be a problem. Anyway, just thought I'd point that out - otherwise, a very cool script -Ascend4nt *edit: just fyi - running Windows XP, ServicePack3 Edited March 18, 2009 by ascendant My contributions: Performance Counters in Windows - Measure CPU, Disk, Network etc Performance | Network Interface Info, Statistics, and Traffic | CPU Multi-Processor Usage w/o Performance Counters | Disk and Device Read/Write Statistics | Atom Table Functions | Process, Thread, & DLL Functions UDFs | Process CPU Usage Trackers | PE File Overlay Extraction | A3X Script Extract | File + Process Imports/Exports Information | Windows Desktop Dimmer Shade | Spotlight + Focus GUI - Highlight and Dim for Eyestrain Relief | CrossHairs (FullScreen) | Rubber-Band Boxes using GUI's (_GUIBox) | GUI Fun! | IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) | Magnifier (Vista+) Functions UDF | _DLLStructDisplay (Debug!) | _EnumChildWindows (controls etc) | _FileFindEx | _ClipGetHTML | _ClipPutHTML + ClipPutHyperlink | _FileGetShortcutEx | _FilePropertiesDialog | I/O Port Functions | File(s) Drag & Drop | _RunWithReducedPrivileges | _ShellExecuteWithReducedPrivileges | _WinAPI_GetSystemInfo | dotNETGetVersions | Drive(s) Power Status | _WinGetDesktopHandle | _StringParseParameters | Screensaver, Sleep, Desktop Lock Disable | Full-Screen Crash Recovery Wrappers/Modifications of others' contributions: _DOSWildcardsToPCRegEx (original code: RobSaunder's) | WinGetAltTabWinList (original: Authenticity) UDF's added support/programming to: _ExplorerWinGetSelectedItems | MIDIEx UDF (original code: eynstyne) (All personal code/wrappers centrally located at Ascend4nt's AutoIT Code) Link to comment Share on other sites More sharing options...
sandin Posted March 18, 2009 Author Share Posted March 18, 2009 tnx, thin lines can be fixed, it's just a matter of draw coordinates, but the _winGetPath() might cause some issues, I tested your _WinAPI_ProcessGetFileName() func, but I always get blank return (actually I get @error = 2, and always @error #2). Tried the script you posted as example, and got this picture Some cool glass and image menu | WinLIRC remote controler | Happy Holidays to all... | Bounce the sun, a game in which you must save the sun from falling by bouncing it back into the sky | Hook Leadtek WinFast TV Card Remote Control Msges | GDI+ sliding toolbar | MIDI Keyboard (early alpha stage, with lots of bugs to fix) | Alt+Tab replacement | CPU Benchmark with pretty GUI | Ini Editor - Edit/Create your ini files with great ease | Window Manager (take total control of your windows) Pretty GUI! | Pop-Up window from a button | Box slider for toolbar | Display sound volume on desktop | Switch hotkeys with mouse scroll Link to comment Share on other sites More sharing options...
Ascend4nt Posted March 18, 2009 Share Posted March 18, 2009 Hmm.. this is the first I've gotten that type of feedback... interesting. What OS are you using? And the @error=2 is from _WinAPI_ProcessGetFileName() or _WinAPI_ProcessGetPathname() function? And was the @error from all processes? Maybe we should discuss this in that thread instead to keep this thread from going off topic. Thx, Ascend4nt My contributions: Performance Counters in Windows - Measure CPU, Disk, Network etc Performance | Network Interface Info, Statistics, and Traffic | CPU Multi-Processor Usage w/o Performance Counters | Disk and Device Read/Write Statistics | Atom Table Functions | Process, Thread, & DLL Functions UDFs | Process CPU Usage Trackers | PE File Overlay Extraction | A3X Script Extract | File + Process Imports/Exports Information | Windows Desktop Dimmer Shade | Spotlight + Focus GUI - Highlight and Dim for Eyestrain Relief | CrossHairs (FullScreen) | Rubber-Band Boxes using GUI's (_GUIBox) | GUI Fun! | IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) | Magnifier (Vista+) Functions UDF | _DLLStructDisplay (Debug!) | _EnumChildWindows (controls etc) | _FileFindEx | _ClipGetHTML | _ClipPutHTML + ClipPutHyperlink | _FileGetShortcutEx | _FilePropertiesDialog | I/O Port Functions | File(s) Drag & Drop | _RunWithReducedPrivileges | _ShellExecuteWithReducedPrivileges | _WinAPI_GetSystemInfo | dotNETGetVersions | Drive(s) Power Status | _WinGetDesktopHandle | _StringParseParameters | Screensaver, Sleep, Desktop Lock Disable | Full-Screen Crash Recovery Wrappers/Modifications of others' contributions: _DOSWildcardsToPCRegEx (original code: RobSaunder's) | WinGetAltTabWinList (original: Authenticity) UDF's added support/programming to: _ExplorerWinGetSelectedItems | MIDIEx UDF (original code: eynstyne) (All personal code/wrappers centrally located at Ascend4nt's AutoIT Code) Link to comment Share on other sites More sharing options...
Achilles Posted March 19, 2009 Share Posted March 19, 2009 I can't get it to work very well with Vista 64bit. It will open your GUI, but when I push tab a few times to cycle through the options the default windows Alt+Tab will pop up and your script will freeze. It works fine, except for whenever I push tab more than twice. Maybe you could make an Alt+` instead of Alt+Tab... My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
ResNullius Posted March 19, 2009 Share Posted March 19, 2009 I get a crash too as soon as I try the first ALT-TAB:I see the dark GUI form with some icons at the bottom & the caption of the current window, but then but I get a message box with: I'm on XP Pro with SP3 and AutoIt 3.3.0.0This error's back.Running from SciTE or running compiled. Link to comment Share on other sites More sharing options...
sandin Posted March 19, 2009 Author Share Posted March 19, 2009 @Achilles: that is great idea I made it ALT+` in the latest update @ResNullius: Everything relating icon's handle is now in one function, you won't get this error anymore. Some cool glass and image menu | WinLIRC remote controler | Happy Holidays to all... | Bounce the sun, a game in which you must save the sun from falling by bouncing it back into the sky | Hook Leadtek WinFast TV Card Remote Control Msges | GDI+ sliding toolbar | MIDI Keyboard (early alpha stage, with lots of bugs to fix) | Alt+Tab replacement | CPU Benchmark with pretty GUI | Ini Editor - Edit/Create your ini files with great ease | Window Manager (take total control of your windows) Pretty GUI! | Pop-Up window from a button | Box slider for toolbar | Display sound volume on desktop | Switch hotkeys with mouse scroll Link to comment Share on other sites More sharing options...
ProgAndy Posted March 19, 2009 Share Posted March 19, 2009 If you add this, you can switch multiple windows by holding tab down: AdlibEnable("test",500) Func test() $lock_tab = False EndFunc *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes Link to comment Share on other sites More sharing options...
sandin Posted March 19, 2009 Author Share Posted March 19, 2009 @ProgAndy: that is neat add-on, tnx ____________________ I have question for you all, would you like it better if the main icon (selected window) is placed in the 1st or 2nd spot, and all next windows/icons to the right (so icons/windows won't repeat themselves)? Or it should stay like this (main icon/window in the middle with all existing windows previous/next to the left/right side of the main one, but the icons repeat themselves (but in the right order, to the left as previous or to the right as next)) Some cool glass and image menu | WinLIRC remote controler | Happy Holidays to all... | Bounce the sun, a game in which you must save the sun from falling by bouncing it back into the sky | Hook Leadtek WinFast TV Card Remote Control Msges | GDI+ sliding toolbar | MIDI Keyboard (early alpha stage, with lots of bugs to fix) | Alt+Tab replacement | CPU Benchmark with pretty GUI | Ini Editor - Edit/Create your ini files with great ease | Window Manager (take total control of your windows) Pretty GUI! | Pop-Up window from a button | Box slider for toolbar | Display sound volume on desktop | Switch hotkeys with mouse scroll Link to comment Share on other sites More sharing options...
youknowwho4eva Posted March 19, 2009 Share Posted March 19, 2009 I think it would be neat if it was one way, and when you got to the end of the list it scrolled back to the first window on the list Giggity Link to comment Share on other sites More sharing options...
sandin Posted March 19, 2009 Author Share Posted March 19, 2009 like these two?Alt_Tab_2_ikonica.au3Alt_Tab_KOCKICA.au3 Some cool glass and image menu | WinLIRC remote controler | Happy Holidays to all... | Bounce the sun, a game in which you must save the sun from falling by bouncing it back into the sky | Hook Leadtek WinFast TV Card Remote Control Msges | GDI+ sliding toolbar | MIDI Keyboard (early alpha stage, with lots of bugs to fix) | Alt+Tab replacement | CPU Benchmark with pretty GUI | Ini Editor - Edit/Create your ini files with great ease | Window Manager (take total control of your windows) Pretty GUI! | Pop-Up window from a button | Box slider for toolbar | Display sound volume on desktop | Switch hotkeys with mouse scroll Link to comment Share on other sites More sharing options...
youknowwho4eva Posted March 19, 2009 Share Posted March 19, 2009 I hit alt tab and all it did was the standard alt tab screen? Giggity Link to comment Share on other sites More sharing options...
sandin Posted March 19, 2009 Author Share Posted March 19, 2009 changed the hotkey from ALT+TAB to ALT+` (the key above tab, tilda) Change line 20: Global $HOTKEY = $VK_Tilda to: Global $HOTKEY = $VK_TAB if you wanna stick with ALT+TAB Some cool glass and image menu | WinLIRC remote controler | Happy Holidays to all... | Bounce the sun, a game in which you must save the sun from falling by bouncing it back into the sky | Hook Leadtek WinFast TV Card Remote Control Msges | GDI+ sliding toolbar | MIDI Keyboard (early alpha stage, with lots of bugs to fix) | Alt+Tab replacement | CPU Benchmark with pretty GUI | Ini Editor - Edit/Create your ini files with great ease | Window Manager (take total control of your windows) Pretty GUI! | Pop-Up window from a button | Box slider for toolbar | Display sound volume on desktop | Switch hotkeys with mouse scroll Link to comment Share on other sites More sharing options...
youknowwho4eva Posted March 19, 2009 Share Posted March 19, 2009 (edited) Ah, more like the second one but instead of the selector moving, move the icons. And it would be better imo if the icons where centered if the didn't fill the bottom area. Edit: Now that I think about it, if you keep the selector box, centered would be good. I change my vote to that. Edited March 19, 2009 by youknowwho4eva Giggity Link to comment Share on other sites More sharing options...
water Posted March 20, 2009 Share Posted March 20, 2009 (edited) I getAltTab.au3(595,77) : ERROR: StringeStr(): undefined function. If StringeStr($sImageFilename,$_aINTDeviceToDriveMapArray[$i][1]) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^when I try to run the Alt_Tab_KOCKICA.au3 version. Where do I find this function? I'm running AutoIt 3.3.0 Edited March 20, 2009 by water My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki Link to comment Share on other sites More sharing options...
sandin Posted March 20, 2009 Author Share Posted March 20, 2009 there is no function StringeStr in any of my scripts, maybe you marked the "in" part and accidentally pressed "e" on your keyboard. Try downloading the script again, and try again, or change that function into: StringInStr(). Some cool glass and image menu | WinLIRC remote controler | Happy Holidays to all... | Bounce the sun, a game in which you must save the sun from falling by bouncing it back into the sky | Hook Leadtek WinFast TV Card Remote Control Msges | GDI+ sliding toolbar | MIDI Keyboard (early alpha stage, with lots of bugs to fix) | Alt+Tab replacement | CPU Benchmark with pretty GUI | Ini Editor - Edit/Create your ini files with great ease | Window Manager (take total control of your windows) Pretty GUI! | Pop-Up window from a button | Box slider for toolbar | Display sound volume on desktop | Switch hotkeys with mouse scroll Link to comment Share on other sites More sharing options...
water Posted March 20, 2009 Share Posted March 20, 2009 You are right - it's my fault A Firefox Plugin to remove the german "Binnen-I" alteres the source code. My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki Link to comment Share on other sites More sharing options...
jaenster Posted March 20, 2009 Share Posted March 20, 2009 My pc have a uptime of a week now. And it lags really.. so gonna reboot my pc and check of it works better -jaenster Link to comment Share on other sites More sharing options...
youknowwho4eva Posted March 20, 2009 Share Posted March 20, 2009 Forgot, I had to quote out a line. Lets see.... Line 192 _WinAPI_DestroyIcon($general_icon[0]) to get it to work. Giggity Link to comment Share on other sites More sharing options...
Skizmata Posted May 6, 2009 Share Posted May 6, 2009 Unfortunatly I still get the error... _WinAPI_DestroyIcon: Cannot destroy object created by another thread. The script looks awesome from what I can see of the screenshots. Windows XP SP2 Autoit 3.3.0.0 Thanks! AutoIt changed my life. 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