Search found 143 matches

by SundayProgrammer
04 Apr 2023, 05:57
Forum: Scripts and Functions (v1)
Topic: Text Filter
Replies: 121
Views: 21801

Re: Text Filter

i wrote a new version of this script (kind of), but it's a sublime text 3 plugin instead. here is the github link.
by SundayProgrammer
27 Oct 2022, 04:41
Forum: Scripts and Functions (v1)
Topic: add some hotkeys for thumbnails on youtube
Replies: 0
Views: 329

add some hotkeys for thumbnails on youtube

/* to add some hotkeys for thumbnails on youtube (1) ctrl+; to load the video in a cleaner way which reaches "ready" much faster and save data traffic cost as well. (2) ctrl+/ to delete the thumbnail under mouse. this is different than the hide function in youtube action menu. as this "delete" only...
by SundayProgrammer
21 Aug 2022, 06:56
Forum: Scripts and Functions (v1)
Topic: a temporary webpage for video thumbnail(s)
Replies: 6
Views: 1526

Re: a temporary webpage for video thumbnail(s)

this latest update enabled user to drag a video thumbnail from other webpages (such as youtube, vimeo, and the likes.) video thumbnails mainly consist of two parts, an image and a text (video title). when a drag&drop operation started, from the image vs from the text, the payload are mostly differe...
by SundayProgrammer
12 Aug 2022, 13:02
Forum: Scripts and Functions (v1)
Topic: [Library] Neutron.ahk - AutoHotkey Web GUIs on Steroids (now for v2!)
Replies: 141
Views: 61995

Re: [Library] Neutron.ahk - AutoHotkey Web GUIs on Steroids

murataygun wrote:
12 Aug 2022, 05:56
Can we use real URL's instead of local html files? How?
i think if the html has something referring back to the ahk script, for instance, onclick="ahk.buttonclicked(event, something)", can more unveil the usefulness of neutron.
by SundayProgrammer
12 Aug 2022, 12:45
Forum: Scripts and Functions (v1)
Topic: a temporary webpage for video thumbnail(s)
Replies: 6
Views: 1526

Re: a temporary webpage for video thumbnail(s)

added a feature in this version, enabled user to randomly draw some (range from 1 to 50) videos to play in a batch. how to: use the slider to set the number of videos you want your batch to hold, and hit the red button (at upper-left corner) to play. note: this feature is all for youtube videos (i ...
by SundayProgrammer
01 Aug 2022, 05:28
Forum: Scripts and Functions (v1)
Topic: a temporary webpage for video thumbnail(s)
Replies: 6
Views: 1526

Re: a temporary webpage for video thumbnail(s)

added a feature in this version, enabled user to rearrange the sequential order of the thumbnails by drag&drop. how to use: drag a thumbnail to a position occupied by another. upon drop, the dragged one will take that position, and the rest will shift. ;samples Clipboard= ( Why Does Scrum Make Prog...
by SundayProgrammer
22 Jul 2022, 02:17
Forum: Scripts and Functions (v1)
Topic: a temporary webpage for video thumbnail(s)
Replies: 6
Views: 1526

Re: a temporary webpage for video thumbnail(s)

what does this script do? the essential part is the function "genWebpageCode" per se (which generates the code for opening up a temporary webpage which could host the video thumbnail(s) that interested you ), everything else is just a quick roundup for demonstration. two types of line on the list a...
by SundayProgrammer
21 Jul 2022, 10:58
Forum: Scripts and Functions (v1)
Topic: a temporary webpage for video thumbnail(s)
Replies: 6
Views: 1526

a temporary webpage for video thumbnail(s)

;samples Clipboard= ( Why Does Scrum Make Programmers HATE Coding? https://i.ytimg.com/an_webp/HURvJDldVGA/mqdefault_6s.webp?du=3000&sqp=CICH5ZYG&rs=AOn4CLAR4oRIegMsvGdr_dYwwCw8s2vR-w Simple AutoHotkey to Chrome Part 1 - No Selenium, no debug mode, AutoControl. https://i.ytimg.com/vi/gr4z0Xw8W2g/hq...
by SundayProgrammer
19 Jul 2022, 10:15
Forum: Scripts and Functions (v1)
Topic: UIAutomation with a focus on Chrome
Replies: 554
Views: 125331

Re: UIAutomation with a focus on Chrome

Descolada , thank you for spending time on my question. yep, javascript is an alternative that i did think of. the problem is, i don't know the function/method name behind the menu items. and have no clue how to get such information. i wanted to dig into rufaydium, yet months gone by, still not sta...
by SundayProgrammer
19 Jul 2022, 03:12
Forum: Scripts and Functions (v1)
Topic: UIAutomation with a focus on Chrome
Replies: 554
Views: 125331

Re: UIAutomation with a focus on Chrome

For alternative methods, knowing more about what you are trying to achieve would help :) thanks. scope "youtube + msedge": when i rightclick on a video thumbnail, the context menu is supposed to have additional items related to image "processing". however, i noticed that, when the thumbnail has pre...
by SundayProgrammer
18 Jul 2022, 23:39
Forum: Scripts and Functions (v1)
Topic: UIAutomation with a focus on Chrome
Replies: 554
Views: 125331

Re: UIAutomation with a focus on Chrome

hi @Descolada, is there a way to invoke an item on the context menu without having to bring it up first? or a closest alternative if there is not?
by SundayProgrammer
09 Jul 2022, 19:24
Forum: Scripts and Functions (v1)
Topic: Temporary Hide Any YouTube Video Thumbnail Under Mouse
Replies: 0
Views: 368

Temporary Hide Any YouTube Video Thumbnail Under Mouse

; sometimes i want to temporary hide some youtube video thumbnails from the feed, so that i can visually more focus on those with higher priority to me. and hence this script is written. ; the essential thing is the javascript itself, everything else is just trying to shorten the whole process into...
by SundayProgrammer
07 Jul 2022, 01:11
Forum: Scripts and Functions (v1)
Topic: UIAutomation with a focus on Chrome
Replies: 554
Views: 125331

Re: UIAutomation with a focus on Chrome

: : TextWalker := UIA.CreateTreeWalker(UIA.CreateCondition("ControlType", "Text")) ; Create a TreeWalker that only searches Text elements. If we used UIA.TreeWalkerTrue here, then it would return some invisible element that UIAViewer doesn't show : : dateText2 := TextWalker.GetPreviousSiblingElemen...
by SundayProgrammer
06 Jul 2022, 19:12
Forum: Scripts and Functions (v1)
Topic: UIAutomation with a focus on Chrome
Replies: 554
Views: 125331

Re: UIAutomation with a focus on Chrome

Excellent idea. Thank you, I am very new and have doubts with almost everything. So I would have to ask: How can I 'maneuver' to select different elements? Do you have a tutorial on how to do it? for the examples i brought up, just use GetNextSiblingElement of treewalker should be sufficient. you m...
by SundayProgrammer
06 Jul 2022, 14:54
Forum: Scripts and Functions (v1)
Topic: UIAutomation with a focus on Chrome
Replies: 554
Views: 125331

Re: UIAutomation with a focus on Chrome

image.png let's say, i want to read the date published ("Jul 6, 2022" as shown) of a youtube video page. and from the screenshot, i can tell that there is no direct way to get to it. what i may do is to identify a reliable nearby element as an anchor. findfirst to it, and maneuver by treewalker (si...
by SundayProgrammer
03 Jul 2022, 17:59
Forum: Ask for Help (v1)
Topic: Creating COM Object Event Handler
Replies: 10
Views: 4829

Re: Creating COM Object Event Handler

i was stuck with the same problem, this thread has the solution. and my project can proceed now. thank you. here is an extract of my code, i hope it has gone a little bit further by eliminating the excessive triggers of the event (text selection changed). #Persistent theHandle := IUIAutomationEventH...
by SundayProgrammer
02 Jul 2022, 02:10
Forum: Scripts and Functions (v1)
Topic: UIAutomation with a focus on Chrome
Replies: 554
Views: 125331

Re: UIAutomation with a focus on Chrome

... it looks like it moves the tabs away from the main pane (eg where the URL bar is), and that's why it fails. I'll look into it in the next UIA_Browser update :thumbup: I'm not sure why this fails, it worked in my Edge. Could you call Dump() on the returned element and see if it's actually the ta...
by SundayProgrammer
01 Jul 2022, 22:28
Forum: Scripts and Functions (v1)
Topic: UIAutomation with a focus on Chrome
Replies: 554
Views: 125331

Re: UIAutomation with a focus on Chrome

@SundayProgrammer, cUIA.MainPaneElement.FindFirstBy("ControlType=TabItem AND SelectionItemIsSelected=1") should return the current tab element, then you can use CurrentBoundingRectangle on that :) Descolada , when the current tab is the first tab, it gave me l:171 t:0 r:308 b:33 . and when the curr...
by SundayProgrammer
01 Jul 2022, 04:37
Forum: Scripts and Functions (v1)
Topic: UIAutomation with a focus on Chrome
Replies: 554
Views: 125331

Re: UIAutomation with a focus on Chrome

@Descolada, is there a way to get the location of the current tab on chrome's tab bar? i'm imagining something like currenttabboundingrectangle, if it makes sense.

Go to advanced search