Search found 44 matches

by tdalon
11 Apr 2024, 00:47
Forum: Scripts and Functions (v2)
Topic: WinClip v2 - 2023/07/22 - v2.0.4
Replies: 12
Views: 3988

Re: WinClip v2 - 2023/07/22 - v2.0.4

Just wanted to say THANKS @TheArkive for sharing 👍
by tdalon
11 Apr 2024, 00:35
Forum: Scripts and Functions (v1)
Topic: WinClip - AHKv2 Compatibility
Replies: 35
Views: 15134

Re: WinClip - AHKv2 Compatibility

Update: this post shall be moved maybe or renamed.
See viewtopic.php?f=83&t=91054&p=402344&hilit=winclip#p402344
by tdalon
11 Apr 2024, 00:31
Forum: Scripts and Functions (v1)
Topic: WinClip - AHKv2 Compatibility
Replies: 35
Views: 15134

Re: WinClip - AHKv2 Compatibility

Trying to move to v2 and I also have the issue to get WinClip library compatible to v2. Currently it won't even run with WinClip. I had to replace Exception with Error, replace ByRef with &. My last problem is the line: class WinClipAPI_base extends WinClip_base { __Get( name ) { if !this.HasOwnProp...
by tdalon
26 Mar 2024, 03:31
Forum: Scripts and Functions (v2)
Topic: PathX() : Split & modify a filepath easily
Replies: 4
Views: 834

Re: PathX() : Split & modify a filepath easily

Many thanks @SKAN
Perfectly done and you saved me some time.
by tdalon
23 Oct 2023, 03:56
Forum: Scripts and Functions (v1)
Topic: Dedicated Microsoft Teams mute toggle keyboard shortcut
Replies: 9
Views: 10380

Re: Dedicated Microsoft Teams mute toggle keyboard shortcut

tdalon wrote:
18 Oct 2023, 12:19
Same answer as above. Create an issue in the GitHub repo. I haven't the new client yet but as soon as I have I will update the repo.
I have updated the repo now to support the New Teams client
by tdalon
18 Oct 2023, 12:19
Forum: Scripts and Functions (v1)
Topic: Dedicated Microsoft Teams mute toggle keyboard shortcut
Replies: 9
Views: 10380

Re: Dedicated Microsoft Teams mute toggle keyboard shortcut

Same answer as above. Create an issue in the GitHub repo. I haven't the new client yet but as soon as I have I will update the repo.
by tdalon
04 Aug 2023, 03:35
Forum: Tutorials (v1)
Topic: How to Check if Webpage is Loaded (Google Chrome, Firefox, Internet Explorer)
Replies: 13
Views: 22995

Re: How to Check if Webpage is Loaded (Google Chrome, Firefox, Internet Explorer)

See Descolada's UIA_Browser Library https://github.com/Descolada/UIAutomation/blob/main/Lib/UIA_Browser.ahk especially the Navigate and WaitPageLoad functions.

It looks for the properties of the Refresh button / no image search.
by tdalon
18 Jul 2023, 08:00
Forum: Tutorials (v1)
Topic: Dynamic variadic CSV data array to ListView
Replies: 6
Views: 9816

Re: Dynamic variadic CSV data array to ListView

Many thanks for sharing this gem! Much appreciated :bravo:
by tdalon
29 Jun 2023, 07:11
Forum: Scripts and Functions (v1)
Topic: SetClipboardHTML() for V1.1 & V2
Replies: 29
Views: 7628

Re: SetClipboardHTML() for V1 & V2

The Clipboard image format is compatible with Office applications but not with MS Paint for example. Alternative using Gdip to paste the image works in Paint. sClipboard := Clipboard sPat = ^<img src="data:image/.*base64,([^"]*) If RegExMatch(sClipboard,sPat,sMatch) { ClipBackup := clipboardAll If !...
by tdalon
29 Jun 2023, 02:05
Forum: Scripts and Functions (v1)
Topic: SetClipboardHTML() for V1.1 & V2
Replies: 29
Views: 7628

Re: SetClipboardHTML() for V1 & V2

I have tried the latest version to paste some <img src="data:image/png;base64,... (see example in previous post)
and I couldn't get it to work.
by tdalon
26 Mar 2023, 06:35
Forum: Ask for Help (v2)
Topic: Get state of Microsoft teams Call
Replies: 1
Views: 314

Re: Get state of Microsoft teams Call

You could start or end a call/meeting with autohotkey. Have a look at this Teams library https://github.com/tdalon/ahk/blob/main/Lib/Teams.ahk And then add the actions you want. You could also watch for a Teams meeting window (see Teams_IsMeetingWindow) existing but this will then have to run perman...
by tdalon
30 Jan 2023, 15:06
Forum: Scripts and Functions (v1)
Topic: Dedicated Microsoft Teams mute toggle keyboard shortcut
Replies: 9
Views: 10380

Re: Dedicated Microsoft Teams mute toggle keyboard shortcut

Hi, sorry for bringing this old thread back to life. I am using this script for a while and it works well. Lately I noticed that the script cannot be executed while notification popups are shown. Any ideas for a workaround? Using the mouse in this situation is a hassle and waiting for the popup can...
by tdalon
16 Sep 2022, 08:55
Forum: Ask for Help (v1)
Topic: Sending keystrokes to Microsoft Teams running in the background
Replies: 1
Views: 1003

Re: Sending keystrokes to Microsoft Teams running in the background

You can have a look here https://tdalon.github.io/ahk/Teams-Shortcuts and also to the code repository https://github.com/tdalon/ahk Your question is partly answered here: https://stackoverflow.com/questions/66567191/how-to-get-the-microsoft-teams-active-meeting-window-with-autohotkey See https://tda...
by tdalon
09 Aug 2022, 00:24
Forum: Scripts and Functions (v1)
Topic: Get the URL of the current (active) browser tab
Replies: 196
Views: 139079

Re: Get the URL of the current (active) browser tab

@Descolada Maybe you could share here in this thread the answer that would be based upon your UIA library / UIA_Browser.

Code: Select all

#include <UIA_Browser>
...
b := new UIA_Browser()
sUrl := b.GetCurrentURL()
by tdalon
08 Aug 2022, 00:51
Forum: Scripts and Functions (v1)
Topic: Get the URL of the current (active) browser tab
Replies: 196
Views: 139079

Re: Get the URL of the current (active) browser tab

Hello, This approach is using the UI Automation framework, which is the successor to what Acc is using. First few lines create the Com object to access UIA and get the element for Chrome. Then I used the Accessibility Insights tool to find the URL bar property name ("Address and search bar") for Ch...
by tdalon
02 May 2022, 00:33
Forum: Scripts and Functions (v1)
Topic: Get the URL of the current (active) browser tab
Replies: 196
Views: 139079

Re: Get the URL of the current (active) browser tab

Descolada : Your approach seems faster than the Acc based recursive one. But it is totally cryptic to me. I would be curious to learn how you've come to it. I am not 100% sure if the ErrorLevel variable should not be defined as global in the function. Else it wouldn't be returned to the calling scr...
by tdalon
01 May 2022, 07:56
Forum: Scripts and Functions (v1)
Topic: Get the URL of the current (active) browser tab
Replies: 196
Views: 139079

Re: Get the URL of the current (active) browser tab

Descolada Thanks for the quick, competent help and explanation. I would slightly modify the end of your function like this: GetUrl(wTitle:="A") { ; From Descolada https://www.autohotkey.com/boards/viewtopic.php?f=6&t=3702&e=1&view=unread#p459451 ; does not require Acc Lib ErrorLevel := 0 if !(wId :...
by tdalon
29 Apr 2022, 15:26
Forum: Scripts and Functions (v1)
Topic: Get the URL of the current (active) browser tab
Replies: 196
Views: 139079

Re: Get the URL of the current (active) browser tab

Tested on Chrome and Edge, and no need to include Acc. #SingleInstance, Force SetTitleMatchMode, 2 F10:: MsgBox, % GetURL("Google Chrome") return GetURL(wTitle) { ErrorLevel := 0 if !(wId := WinExist(wTitle)) { ErrorLevel := 1 return } IUIAutomation := ComObjCreate(CLSID_CUIAutomation := "{ff48dba4...
by tdalon
12 Apr 2021, 15:27
Forum: Scripts and Functions (v1)
Topic: WinClip - AHKv2 Compatibility
Replies: 35
Views: 15134

Re: WinClip - AHKv2 Compatibility

I've always had a problem with the WinClip library that is that WinClip.iSetHTML does not work (as I would expect). Anyone using it successfully or having the same issue?

Go to advanced search