Search found 33 matches
- 08 Apr 2020, 10:48
- Forum: Scripts and Functions
- Topic: Toggle Microphone Mute
- Replies: 20
- Views: 41927
Re: Toggle Microphone Mute
Found this code via YT video (https://www.youtube.com/watch?v=JV7fPXIpm8A) and works great in Windows 10. Thanks for the code! #creditwheredue
- 30 Jan 2020, 10:20
- Forum: Ask For Help
- Topic: How to prevent script(s) from exitting when I change the power source of my Laptop
- Replies: 7
- Views: 1572
Re: How to prevent script(s) from exitting when I change the power source of my Laptop
Sorry to necro old threads but I wanted to add something for anyone else experiencing similar behavior that might help them... Theoretically a docking station or USB hub could have a USB flash drive or external drive attached, and it could be possible that AHK was installed to that location. If you ...
- 23 Apr 2019, 15:42
- Forum: Ask For Help
- Topic: Can't get WinActivate to activate Microsoft Teams
- Replies: 24
- Views: 6568
Re: Can't get WinActivate to activate Microsoft Teams
Okay so two of the ~15 IDs activate the Teams window: 0xb0c02 and 0x205ac
Not sure which I should use...I might actually just use the Loop for the winactivate to be sure it gets activated...
Not sure which I should use...I might actually just use the Loop for the winactivate to be sure it gets activated...
- 23 Apr 2019, 15:33
- Forum: Ask For Help
- Topic: Can't get WinActivate to activate Microsoft Teams
- Replies: 24
- Views: 6568
Re: Can't get WinActivate to activate Microsoft Teams
Wait, scratch that, I forgot the % characters around thisID in the winactivate line...
- 23 Apr 2019, 15:32
- Forum: Ask For Help
- Topic: Can't get WinActivate to activate Microsoft Teams
- Replies: 24
- Views: 6568
Re: Can't get WinActivate to activate Microsoft Teams
I just looped through all the IDs and tried activating them. None of them activated the actual Teams window. WinGet winlist, list, ahk_exe Teams.exe Loop %winlist% { thisID := winlist%A_Index% fullwinlist := fullwinlist . thisID . "`r`n" WinActivate ahk_id thisID msgbox activated ID %thisID% }
- 23 Apr 2019, 12:53
- Forum: Ask For Help
- Topic: Can't get WinActivate to activate Microsoft Teams
- Replies: 24
- Views: 6568
Re: Can't get WinActivate to activate Microsoft Teams
You could try WinGet Count. If the count is 0, you have a problem, if it is greater than 1, you might have to use WinGet List, to get the right window. WinGet, vCount, Count, ahk_class Notepad MsgBox, % vCount Also, you may want to turn DetectHiddenWindows on/off. DetectHiddenWindows has always bee...
- 23 Apr 2019, 11:20
- Forum: Ask For Help
- Topic: Can't get WinActivate to activate Microsoft Teams
- Replies: 24
- Views: 6568
- 23 Apr 2019, 11:02
- Forum: Ask For Help
- Topic: Can't get WinActivate to activate Microsoft Teams
- Replies: 24
- Views: 6568
Re: Can't get WinActivate to activate Microsoft Teams
AHK v1 and v2 have WinActive(), which checks if a window is active. Only AHK v2 has WinActivate(). Although you can backport it to AHK v1. E.g.: commands as functions (AHK v2 functions for AHK v1) - AutoHotkey Community https://autohotkey.com/boards/viewtopic.php?f=37&t=29689 Also, I see that "comm...
- 23 Apr 2019, 10:59
- Forum: Ask For Help
- Topic: Can't get WinActivate to activate Microsoft Teams
- Replies: 24
- Views: 6568
Re: Can't get WinActivate to activate Microsoft Teams
AHK v1 and v2 have WinActive(), which checks if a window is active. Only AHK v2 has WinActivate(). Although you can backport it to AHK v1. E.g.: commands as functions (AHK v2 functions for AHK v1) - AutoHotkey Community https://autohotkey.com/boards/viewtopic.php?f=37&t=29689 Searching the v2 docs ...
- 23 Apr 2019, 10:58
- Forum: Ask For Help
- Topic: Can't get WinActivate to activate Microsoft Teams
- Replies: 24
- Views: 6568
Re: Can't get WinActivate to activate Microsoft Teams
Yes please update by running this script Afaik, there is no such function called WinActivate() in the latest version of AHK 1.1, which would be 1.1.30.03 (not even in v2, it seems), there is only the command WinActivate . Perhaps you added one function of this name in your personal user library... ...
- 23 Apr 2019, 10:02
- Forum: Ask For Help
- Topic: Can't get WinActivate to activate Microsoft Teams
- Replies: 24
- Views: 6568
Re: Can't get WinActivate to activate Microsoft Teams
I get a "Call to nonexistent function." when trying to use that. Is there a new version of AHK I'm not aware of that has built-in WinActivate() function?
- 23 Apr 2019, 10:01
- Forum: Ask For Help
- Topic: Can't get WinActivate to activate Microsoft Teams
- Replies: 24
- Views: 6568
Re: Can't get WinActivate to activate Microsoft Teams
i'm able to use the below successfully. WinAvtivate, ahk_exe Teams.exe this worked regardless of which team i was currently viewing. (wintitle seems to change based on the currently viewed team). I just tried that and the window still won't activate. Also the WindowSpy still shows same contents (em...
- 23 Apr 2019, 09:33
- Forum: Ask For Help
- Topic: Can't get WinActivate to activate Microsoft Teams
- Replies: 24
- Views: 6568
Can't get WinActivate to activate Microsoft Teams
Simply put I can't get WinActivate to activate Microsoft Teams. Here is WindowSpy after manually activating Teams window... 4sRaf9O.png ...then I activate another Window (Firefox)... 28eXQz2.png ...finally I try to use WinActivate Microsoft Teams ... BsqTpsm.png I've also tried the full window infor...
- 23 Apr 2019, 09:30
- Forum: Forum Issues
- Topic: Broken Link for safety
- Replies: 7
- Views: 3796
Re: Broken Link for safety
Are links still being broken? could you post some examples here? only for new or unregistered users yes Not forum links and not github links I'm a returning, sporadically-logged-in user and I am unable to embed Imgur images without getting "Broken Link for safety" even when I put the link inside im...
- 23 Apr 2019, 09:05
- Forum: Ask For Help
- Topic: WinMenuSelectItem and ControlSend not working with Cisco Webex Meetings Topic is solved
- Replies: 31
- Views: 5516
Re: WinMenuSelectItem and ControlSend not working with Cisco Webex Meetings Topic is solved
looking for the same things, and inspired by @geekyadam 's attempts, sharing what I came up with, so far: https://github.com/fredless/WebexMeetingMute Just checked out your github page, nice work. It would probably be beneficial to link back to this page in case anyone wants to see more info on iss...
- 29 Jan 2019, 10:11
- Forum: Ask For Help
- Topic: WinMenuSelectItem and ControlSend not working with Cisco Webex Meetings Topic is solved
- Replies: 31
- Views: 5516
Re: WinMenuSelectItem and ControlSend not working with Cisco Webex Meetings Topic is solved
If you can see the context menu IDs with the 'Get Info from Context Menu' script, then you can try them with PostMessage/SendMessage. q:: ;Notepad - invoke Open... WinGet, hWnd, ID, ahk_class Notepad PostMessage, 0x111, 2,,, % "ahk_id " hWnd ;WM_COMMAND := 0x111 ;Open... return I did try that actua...
- 29 Jan 2019, 10:03
- Forum: Ask For Help
- Topic: WinMenuSelectItem and ControlSend not working with Cisco Webex Meetings Topic is solved
- Replies: 31
- Views: 5516
- 24 Jan 2019, 13:49
- Forum: Ask For Help
- Topic: WinMenuSelectItem and ControlSend not working with Cisco Webex Meetings Topic is solved
- Replies: 31
- Views: 5516
Re: WinMenuSelectItem and ControlSend not working with Cisco Webex Meetings Topic is solved
Since we confirmed I won't likely be able to use WinMenuSelectItem or even ControlSend to mute/unmute myself in Webex, this is what I came up with. As I suspected, the Webex window is a bit latent in recognizing sent keys, so I had to add a couple Sleeps in there to accomodate. Works pretty well at ...
- 24 Jan 2019, 12:21
- Forum: Ask For Help
- Topic: WinMenuSelectItem and ControlSend not working with Cisco Webex Meetings Topic is solved
- Replies: 31
- Views: 5516
Re: WinMenuSelectItem and ControlSend not working with Cisco Webex Meetings Topic is solved
Script that will give you some info about both standard and non-standard windows menus and submenus. Note 1- You can get the ahk_id info pertaining to the menu and submenu with this. PixelGetColor will also tell you if the row is highlighted or not. Note 2- Can't find my original completed script f...
- 24 Jan 2019, 12:03
- Forum: Ask For Help
- Topic: WinMenuSelectItem and ControlSend not working with Cisco Webex Meetings Topic is solved
- Replies: 31
- Views: 5516
Re: WinMenuSelectItem and ControlSend not working with Cisco Webex Meetings Topic is solved
- These messages can be used to invoke an item in a visible (standard) context menu. context menu window messages: focus/invoke item - AutoHotkey Community https://autohotkey.com/boards/viewtopic.php?f=5&t=39209 - Acc can be useful also for getting menu item strings/invoking menu items. Great info....