Search found 4934 matches

by gregster
Today, 00:50
Forum: Ask For Help
Topic: AutohotKey control + comma opening tab in new window within browser
Replies: 5
Views: 85

Re: AutohotKey control + comma opening tab in new window within browser

This seems to work for me:

Code: Select all

^,::
   If (A_PriorHotKey = A_ThisHotKey)
   	return
   Send {LButton down}
return

^, up::Send {LButton up}
by gregster
Today, 00:40
Forum: Ask For Help
Topic: AutohotKey control + comma opening tab in new window within browser
Replies: 5
Views: 85

Re: AutohotKey control + comma opening tab in new window within browser

Edit:
Ah ok, when you click a link with this script, it opens in the background as a new tab, as if you would control-click it. Let me see...
by gregster
Today, 00:04
Forum: Ask For Help
Topic: AutohotKey control + comma opening tab in new window within browser
Replies: 5
Views: 85

Re: AutohotKey control + comma opening tab in new window within browser

Not sure, how this code would cause that behaviour. Ctrl+, literally just click s in this code... and I can't reproduce your problem, at least not in Firefox. Which browser and AHK version? Do you run other - potentially conflicting - scripts? Other hotkeys or browser shortcuts? Third-party software...
by gregster
Yesterday, 23:51
Forum: Pulovers Macro Creator
Topic: AVIRA Just Block the Latest Pulover's Update
Replies: 2
Views: 43

Re: AVIRA Just Block the Latest Pulover's Update

I ditched AVIRA many years ago... it was just slowing my computer down, a lot. Don't know if it's still awful, but sounds like it. If you want to keep it, you can only write to them that they should check the file for a false-positive - and hope that they update fix their work-in-progess at some poi...
by gregster
Yesterday, 23:32
Forum: Ask For Help
Topic: Reference to a constantly changing variable
Replies: 7
Views: 81

Re: Reference to a constantly changing variable

You don't have to share your code, but usually it will help us immensely in helping you. Your current code could be simplified to something like this: Morse(timeout = 350) { ; tout := timeout/1000 key := RegExReplace(A_ThisHotKey,"[\*\~\$\#\+\!\^]") Loop { t := A_TickCount KeyWait %key% Pattern .= A...
by gregster
Yesterday, 22:04
Forum: Ask For Help
Topic: Reference to a constantly changing variable
Replies: 7
Views: 81

Re: Reference to a constantly changing variable

So you want to press a key (or a key sequence) that is then translated into a click at certain pre-determined coordinates, depending on the specific key... ? Or should the click happen based on the value of a specific variable? Not totally sure how the Morse part comes into this... btw, I don't know...
by gregster
Yesterday, 21:49
Forum: Ask For Help
Topic: Reference to a constantly changing variable
Replies: 7
Views: 81

Re: Reference to a constantly changing variable

Whatever you do, don't put %s around the variable in the case above: if (%result%=5) --> should be: if (result=5) .

Btw, did you already have a look at the beginner's tutorial?
by gregster
Yesterday, 10:43
Forum: Scripts and Functions
Topic: StreamRight Streaming service manager
Replies: 4
Views: 127

Re: StreamRight Streaming service manager

Sure! ;) Done.
(That wasn't clear before.)
by gregster
27 Sep 2020, 21:30
Forum: Scripts and Functions
Topic: StreamRight Streaming service manager
Replies: 4
Views: 127

Re: StreamRight Streaming service manager

Hi tadamm , welcome to the AHK forums, currently your code doesn't seem to be public. When I follow the link to google drive, it says that I would need to "request access" first. That said, most people choose to include their source code with their post (by using code tags - [code] code goes here [/...
by gregster
27 Sep 2020, 14:41
Forum: Ask For Help
Topic: Trying to bind Topic is solved
Replies: 2
Views: 55

Re: Trying to bind Topic is solved

Usually

Code: Select all

+e::Send l
should do. You can also try SendInput l or Send {Text}l instead of Send l, depending on the target program/game.
by gregster
27 Sep 2020, 14:07
Forum: Editors
Topic: How do I delete TillaGoto?
Replies: 2
Views: 63

Re: How do I delete TillaGoto?

Delete? What's the context of your question? TillaGoto is usually part of a Scintilla-based editor like Scite4AHK - so... close the corresponding editor. Of course, you can close its process via the task manager (there is even a Close option in its icon's tray menu -> right-click on the TillaGoto ic...
by gregster
26 Sep 2020, 19:21
Forum: Ask For Help
Topic: Notepad++ Skewing IfWinExist Results
Replies: 5
Views: 129

Re: Notepad++ Skewing IfWinExist Results

Good to hear :thumbup: Sorry about all the delays in my responses as of late - with summer coming to an end, I've been in and out of the house all day long trying to squeeze in as much as the remaining season that I can ;) No problem at all. This is what a forum is well-suited for. Enjoy the last da...
by gregster
26 Sep 2020, 18:01
Forum: Gaming
Topic: Maple Aran's skill script
Replies: 1
Views: 36

Re: Maple Aran's skill script

In the second snippet, you should wrap the special key names into brackets ({ }). Please compare https://www.autohotkey.com/docs/commands/Send.htm#keynames
Something like SendInput {Down} or {Space}. Otherwise it will literally send Down or Space (as separate keys).
by gregster
26 Sep 2020, 12:57
Forum: Ask For Help
Topic: A Script to Disable Mouse's Scroll Wheel Function
Replies: 2
Views: 50

Re: A Script to Disable Mouse's Scroll Wheel Function

I guess this:

Code: Select all

*Wheeldown::
*Wheelup::
*Wheelleft::
*Wheelright::
return
Perhaps also add *MButton::, if you don't want it.
by gregster
26 Sep 2020, 12:12
Forum: Ask For Help
Topic: Notepad++ Skewing IfWinExist Results
Replies: 5
Views: 129

Re: Notepad++ Skewing IfWinExist Results

It could be expected. It starts with the filename, and default for SetTitlematchmode is 1 (= "A window's title must start with the specified WinTitle to be a match.") The main window of an AHK script has a wintitle like this, which also starts with the filename: C:\MyScript.ahk - AutoHotkey v1.1.33....
by gregster
26 Sep 2020, 11:20
Forum: Gaming
Topic: how to make 180 degree spin?? help please (READ DESC)
Replies: 3
Views: 94

Re: how to make 180 degree spin?? help please (READ DESC)

I assume it's not about rotating text, but about some spin move for a specific game, that should be executed when 0 gets pressed.
But that's just a guess. :)
by gregster
26 Sep 2020, 05:25
Forum: Ask For Help
Topic: Change Registry Value
Replies: 8
Views: 196

Re: Change Registry Value

armoz wrote:
26 Sep 2020, 02:09
Last error box says -

1 : 5

What does that mean?
Translation: An error occurred : ERROR_ACCESS_DENIED
Probably lacking permissions to write the key. Try to run your script as admin.
by gregster
25 Sep 2020, 21:42
Forum: Ask For Help
Topic: Hotkey to trigger "sets" of hotkeys
Replies: 7
Views: 178

Re: Hotkey to trigger "sets" of hotkeys

Sorry, I have no experience with joysticks.
I guess A_AhkUser responded to your similar question here: https://www.autohotkey.com/boards/viewtopic.php?f=18&t=81398#p354650

Go to advanced search