Search found 5705 matches

by gregster
22 minutes ago
Forum: Ask For Help
Topic: Issue with variable value change through input box (userinput)
Replies: 1
Views: 13

Re: Issue with variable value change through input box (userinput)

Try this syntax

Code: Select all

 If (UserInput = "disable")
and so on...

If with parentheses means expression mode: no %s around variables, but quotes around literal strings.
by gregster
Today, 10:27
Forum: AutoHotkey v2 Help
Topic: Script doesn't work consistently across computers
Replies: 2
Views: 31

Re: Script doesn't work consistently across computers

Sounds like you used AHK v2 alpha before and now you installed the AHK main branch v1.
They use different syntaxes. Your code above looks like v2 code, but would display the described behaviour on v1, I suppose.
by gregster
Today, 09:40
Forum: Ask For Help
Topic: Copying Text With Mouse
Replies: 2
Views: 61

Re: Copying Text With Mouse

LCtrl is a standard modifier (Edit: Ah, Rohwedder added that already), so different rules apply - ideally, you should also use modifier symbols for modifiers, instead of eg LCtrl , when defining hotkeys: For standard modifier keys, normal hotkeys typically work as well or better than "custom" combi...
by gregster
Today, 08:36
Forum: Ask For Help
Topic: Search for ID - code Topic is solved
Replies: 4
Views: 61

Re: Search for ID - code Topic is solved

Try users[id] instead of users.id .
In the latter case, id would be treated as a literal string, but you'll need to treat is as a variable.
by gregster
Today, 08:17
Forum: Ich brauche Hilfe
Topic: Firefox versteckt öffnen und Login bestätigen
Replies: 6
Views: 131

Re: Firefox versteckt öffnen und Login bestätigen

Browser wie Chrome, FireFox & Edge lassen sich wohl auch mit Chrome.ahk steuern. Dazu solltest du im Forum bereits Beiträge finden. Chrome.ahk ist eigentlich für Chromium-basierte Browser - dazu gehört Firefox nicht. Jedoch hat GeekDude mal einen Ansatz im Chrome.ahk-Topic gezeigt, wie man ggf Chro...
by gregster
Yesterday, 07:19
Forum: Wish List
Topic: Built in Chromium Support
Replies: 8
Views: 201

Re: Built in Chromium Support

Yes, AHK can work with COM interfaces, generally (MS Office, Photoshop, foobar, Adobe Acrobat, and so on). It has no special IE support - that is built into Windows. If you add a whole lot of bagagge to automate Chrome into autohotkey.exe you will have to carry that code with you the whole time (als...
by gregster
Yesterday, 06:48
Forum: Ask For Help
Topic: Send a holding alt key while pressing other keys
Replies: 2
Views: 48

Re: Send a holding alt key while pressing other keys

Trying to send these alt codes is not a good idea, imho.
You can also try:

Code: Select all

^+o::Send, {text}°
(requires AHK v1.1.27+)
by gregster
22 Feb 2021, 20:52
Forum: Ask For Help
Topic: AHK not working with software
Replies: 18
Views: 306

Re: AHK not working with software

Perhaps @gregster will have ideas. Atm not much, I don't think I have encountered this scenario before (usually it's a permissions issue) - and without having anything to test... 🤷‍♂️ Perhaps that program uses similar display techniques like some games, and described under point 2) here: How to Mak...
by gregster
22 Feb 2021, 19:21
Forum: Ask For Help
Topic: "++" keystrokes are ignored in Auto hot key
Replies: 2
Views: 49

Re: "++" keystrokes are ignored in Auto hot key

Different ways possible - my preferred way, if you only want to send literal characters (requires AHK v1.1.27+): T ext mode: :T:npp::start notepad++ another one (more flexible): ::npp::start notepad{+}{+} (compare the key names for send , which also apply here: https://www.autohotkey.com/docs/comman...
by gregster
22 Feb 2021, 14:01
Forum: Ask For Help
Topic: Ignor error and countinu the script
Replies: 2
Views: 46

Re: Ignor error and countinu the script

You seem to already know about try and catch.
by gregster
22 Feb 2021, 11:25
Forum: Ask For Help
Topic: AHK not working with software
Replies: 18
Views: 306

Re: AHK not working with software

Sounds like a typical permissions issue, tbh. Follow mikeyww's link.

But if it's game, then fullscreen mode could actually be a (different) problem. Is it a game?
by gregster
22 Feb 2021, 09:34
Forum: Ask For Help
Topic: getElementbyID("LoginSubmit").submit() not working
Replies: 4
Views: 108

Re: getElementbyID("LoginSubmit").submit() not working

Since you are using the COM interface of the Internet Explorer, the general documentation is rather available at Microsoft: https://docs.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/platform-apis/aa752084(v=vs.85) Of course, there are countless examples about using IE...
by gregster
22 Feb 2021, 08:34
Forum: Ask For Help
Topic: IP Protection
Replies: 9
Views: 131

Re: IP Protection

Well, many people use dynamic IPs... I get a new one assigned from my internet provider at least once a day - without me doing anything. I think there are a few topics about checking hardware IDs, though, and similar techniques, like checking user credentials on a webserver. But there is nothing rea...
by gregster
22 Feb 2021, 08:13
Forum: Ask For Help
Topic: AHK not working with software
Replies: 18
Views: 306

Re: AHK not working with software

Run the script as admin.
by gregster
22 Feb 2021, 07:20
Forum: Ask For Help
Topic: Is a comma after the #Include directive correct?
Replies: 5
Views: 140

Re: Is a comma after the #Include directive correct?

Well, AHK v1 is not really famous for exuberant consistency. :D It even seems that a comma after #include is necessary in this special case: assume you have an include-file called , test.ahk - the filename starting with a literal comma then you need an additional comma to make it work: #include, , t...
by gregster
22 Feb 2021, 06:34
Forum: Ask For Help
Topic: Is a comma after the #Include directive correct?
Replies: 5
Views: 140

Re: Is a comma after the #Include directive correct?

The docs don't list a comma for its syntax (but afaik it gets ignored, when used). Since commas for statements are often optional, and only necessary in certain cases with multiple parameters (if optional parameter in the front get left out), #include is probably exempt from using a comma as it alwa...
by gregster
22 Feb 2021, 06:15
Forum: Tutorials
Topic: Multiple Ways to Automate Chrome with AHK. Selenium, Console, Chrome ext. Chrome.AHK
Replies: 6
Views: 1208

Re: Multiple Ways to Automate Chrome with AHK. Selenium, Console, Chrome ext. Chrome.AHK

Yes it's a node.js thing. Not the most memory efficient but it's a lot faster than Chrome.ahk (which is quite fascinating as well). I think the Google team is doing some black magic since it's their browser. Yeah, Chrome.ahk has probably a few speed bottlenecks in terms of its websocket and json in...
by gregster
22 Feb 2021, 04:12
Forum: Ask For Help
Topic: I need help with modifying a script to do action after mouse is not moving for a period of time.
Replies: 3
Views: 97

Re: I need help with modifying a script to do action after mouse is not moving for a period of time.

You referenced a AHK v1 script, but posted in the AHK v2 alpha section. Was that intended? Which AHK version are you using/planning to use? It would matter for the syntax of the extension you want. If not intended, we can move the topic to the regular 'Ask For Help' (v1) forum (or to the Gaming subf...
by gregster
21 Feb 2021, 20:48
Forum: Ask For Help
Topic: getElementbyID("LoginSubmit").submit() not working
Replies: 4
Views: 108

Re: getElementbyID("LoginSubmit").submit() not working

Try Web_Browser.document.getElementById("LoginSubmit").click() Btw, this dark blue font color you use can be hard to read for forum users with dark forum themes. I would recommend to mostly keep the standard font colors provided by the forum - they should adjust automatically in the different forum ...
by gregster
21 Feb 2021, 19:16
Forum: Ask For Help
Topic: Chrome.ahk Security Error Pop-up
Replies: 4
Views: 113

Re: Chrome.ahk Security Error Pop-up

You are correct in the cause of my problem gregster. Thanks for that !!! :clap: I had other tabs open as an interface to the our network files and was using the script on an additional tab. Once I closed one of the other tabs, the error stopped. Is there a reason for the websocket limit of 6 ? If I...

Go to advanced search