Search found 505 matches

by newcod3r
12 Feb 2024, 22:08
Forum: Ask for Help (v1)
Topic: regex help needed
Replies: 5
Views: 143

Re: regex help needed

I updated the formatting / description. not sure if it's better now?
by newcod3r
12 Feb 2024, 21:40
Forum: Ask for Help (v1)
Topic: Making text expansion work on Android
Replies: 0
Views: 85

Making text expansion work on Android

I have thousands of text expansion strings on AutoHotkey. Understand there's no Android equivalent for ahk, so what's the best alternative to import these strings into another text expander app on Android that can accept AutoHotkey syntax?
by newcod3r
12 Feb 2024, 21:35
Forum: Ask for Help (v1)
Topic: regex help needed
Replies: 5
Views: 143

Re: regex help needed

Hello, I find responding to this difficult if you are not going to describe your goal or the desired effect or output. Simply handing the reader a bunch of input strings does not seem to get anywhere. I gave the intended output for the 3 corresponding regexmatches already. the problem now is regexm...
by newcod3r
12 Feb 2024, 21:23
Forum: Ask for Help (v1)
Topic: regex help needed
Replies: 5
Views: 143

regex help needed

I have 3 conflicting regex match and spent days trying to de-conflict but to no avail. if RegExMatch(clip, "i)(¥|RMB|CNY)\s?([0-9.,]+)", M) { ; case 1 if RegExMatch(clip, "i)(\bRM\b|MYR)?\s?([0-9.,]+)", M) { ; case 2 if (RegExMatch(clip, "^\s?\d{4}\s?$")) { ; case 3 BirthYear := clip if (BirthYear >...
by newcod3r
03 Feb 2024, 20:47
Forum: Ask for Help (v1)
Topic: How to detect Title of extension in Chrome when popup
Replies: 0
Views: 276

How to detect Title of extension in Chrome when popup

Currently it will show as blank. I want to be able to know which extension comes up so I can interact with it.
image.png
image.png (24.38 KiB) Viewed 276 times
by newcod3r
14 Jan 2024, 07:09
Forum: Ask for Help (v1)
Topic: how to integrate script functions together to read Chrome context menu?
Replies: 3
Views: 160

Re: how to integrate script functions together to read Chrome context menu?

Did you modify that function? I can’t see how it would ever work when the first line of it assigns the literal text SelectionTitle to another variable instead of the value of the variable SelectionTitle. The following line would need to have an expression assignment operator ( := ) instead of = . I...
by newcod3r
14 Jan 2024, 06:50
Forum: Ask for Help (v1)
Topic: how to integrate script functions together to read Chrome context menu?
Replies: 3
Views: 160

how to integrate script functions together to read Chrome context menu?

I have this context menu function which relies on the screen reader function by Nepter. I can't put the function in a function, nor can I simply use the #include command. what can I do to make this script work? https://www.autohotkey.com/board/topic/94619-ahk-l-screen-reader-a-tool-to-get-text-anywh...
by newcod3r
11 Jan 2024, 19:09
Forum: Ask for Help (v1)
Topic: Identify windows using Office webapps
Replies: 3
Views: 368

Re: Identify windows using Office webapps

Perhaps, use a userscript to add a suffix to the wintitle of the web app. // ==UserScript== // @name Suffix for SharePoint // @namespace Violentmonkey Scripts // @match https://microsoft.sharepoint.com/* // @grant none // @version 1.0 // @author - // @run-at document-start // @description Add windo...
by newcod3r
09 Jan 2024, 17:52
Forum: Ask for Help (v1)
Topic: Identify windows using Office webapps
Replies: 3
Views: 368

Identify windows using Office webapps

On sharepoint, I can use OneNote webapp to edit notes. However, the win title doesn't mention the webapp name and simply gives the title of the note. I have code where control+B bolds the text using unicode, and would like to disable this when in Office webapps. How do I identify them in AutoHotkey ...
by newcod3r
29 Dec 2023, 20:37
Forum: Ask for Help (v1)
Topic: why is it not checking for the PC name?
Replies: 12
Views: 773

Re: why is it not checking for the PC name?

gregster wrote:
29 Dec 2023, 04:13
newcod3r wrote:
29 Dec 2023, 01:04

Code: Select all

#If (A_ComputerName = RYZEN5600)
Like always in expressions, literal strings should be quoted (in contrast to variable names):

Code: Select all

#If (A_ComputerName = "RYZEN5600")
then in fact my original code was correct all along? but I still can't tell why it's not activating properly.
by newcod3r
29 Dec 2023, 01:04
Forum: Ask for Help (v1)
Topic: why is it not checking for the PC name?
Replies: 12
Views: 773

Re: why is it not checking for the PC name?

"Doesn't work" is neither a description of what happens nor a description of what does not happen. It is also not a description of what should happen. 1. What actually happens? 2. What should happen instead? 3. Does the hotkey trigger? How do you know? 4. What MsgBox is displayed? 5. The following ...
by newcod3r
28 Dec 2023, 20:34
Forum: Ask for Help (v1)
Topic: why is it not checking for the PC name?
Replies: 12
Views: 773

Re: why is it not checking for the PC name?

mikeyww wrote:
28 Dec 2023, 18:20
Show your code.

Code: Select all

#If A_ComputerName = "Acer" 
{
msgbox, % A_ComputerName
^+n::
SendInput !hn
return
}

by newcod3r
28 Dec 2023, 18:18
Forum: Ask for Help (v1)
Topic: why is it not checking for the PC name?
Replies: 12
Views: 773

Re: why is it not checking for the PC name?

hi guys,

I added # and it still doesn't work though.. 😅
by newcod3r
27 Dec 2023, 19:48
Forum: Ask for Help (v1)
Topic: why is it not checking for the PC name?
Replies: 12
Views: 773

why is it not checking for the PC name?

as per script below - it works on all my PCs instead of just Acer. Why is that so?

Code: Select all

if (A_ComputerName = "Acer")
{
msgbox, % A_ComputerName
^+n::
SendInput !hn
return
}
by newcod3r
22 Nov 2023, 20:09
Forum: Ask for Help (v1)
Topic: Acc intermittent error
Replies: 1
Views: 272

Re: Acc intermittent error

Bouncing it up!
by newcod3r
19 Nov 2023, 02:34
Forum: Ask for Help (v1)
Topic: Acc intermittent error
Replies: 1
Views: 272

Acc intermittent error

Have been encountering this issue on Acc only in recent weeks. It happens even when nothing is triggered previously, at random timings. What can I do to resolve this?

Image
by newcod3r
05 Nov 2023, 09:09
Forum: Scripts and Functions (v1)
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 197
Views: 111593

Re: FindClick() - ImageSearch, Clicking, & More [Newest Version]

hmm I actually used o30 all along but it didn't detect properly too.

ok, shall try FindText. Thanks!
by newcod3r
05 Nov 2023, 08:00
Forum: Scripts and Functions (v1)
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 197
Views: 111593

Re: FindClick() - ImageSearch, Clicking, & More [Newest Version]

that's weird. with this sample below, and taking a partial crop of the word "HD", it doesn't always select the first HD option. not sure how else I can improve it as I can't select using keystrokes.
image.png
image.png (182.44 KiB) Viewed 687 times
by newcod3r
04 Nov 2023, 21:17
Forum: Scripts and Functions (v1)
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 197
Views: 111593

Re: FindClick() - ImageSearch, Clicking, & More [Newest Version]

this thread seems dead by now. Is there any new script that supersedes Findclick? All is well with this function but I do need some support. Does anyone know how I can prioritize the imagesearch from top to bottom? Documentation only allows me to specify coordinates / offsets, but I don't have these...

Go to advanced search