Jump to content

Recommended Posts

Posted (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 by ascendant

My contributions:

  Reveal hidden contents

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 UDFsProcess 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)

Posted

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:

  Reveal hidden contents

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 UDFsProcess 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)

Posted

  ResNullius said:

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:

:P

I'm on XP Pro with SP3 and AutoIt 3.3.0.0

This error's back.

Running from SciTE or running compiled.

Posted

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

Posted

@ProgAndy:

that is neat add-on, tnx :P

____________________

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))

Posted (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 by youknowwho4eva

Giggity

Posted (edited)

I get

  Quote

AltTab.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 by water

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted

You are right - it's my fault :P A Firefox Plugin to remove the german "Binnen-I" alteres the source code.

My UDFs and Tutorials:

  Reveal hidden contents

 

  • 1 month later...
Posted

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.

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
  • Recently Browsing   0 members

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