Search found 434 matches

by MannyKSoSo
31 Oct 2019, 14:56
Forum: Ask For Help
Topic: Autohotkey for Mac
Replies: 27
Views: 38856

Re: Autohotkey for Mac

I agree with FanaticGuru and SOTE here. Although you could do it, I feel that the alternative listed early in this post or apple's own stuff make it to where its not really needed to make an alternative autohotkey version built for mac. I can understand why lexikos doesn't want to have code that cou...
by MannyKSoSo
31 Oct 2019, 09:31
Forum: Ask For Help
Topic: Please help me to sort unordered comma separated words Topic is solved
Replies: 3
Views: 304

Re: Please help me to sort unordered comma separated words Topic is solved

Example

Code: Select all

tmp := "unconnected, 0item, *important, support, check, _j.smith, product"
Sort, tmp, D,
MsgBox % tmp
This is using the Sort method found here https://www.autohotkey.com/docs/commands/Sort.htm
by MannyKSoSo
30 Oct 2019, 09:09
Forum: Ask For Help
Topic: AHK not working anymore
Replies: 3
Views: 303

Re: AHK not working anymore

Are you looking for screen inputs from the game or are you just clicking options that are in the same spot? If you are looking for colors and stuff then you probably will never see a fix for this, but mouse clicks while the script is ran as an administrator may allow the clicks to go through. This i...
by MannyKSoSo
29 Oct 2019, 08:40
Forum: Ask For Help
Topic: Gui Edit and g-label?
Replies: 10
Views: 739

Re: Gui Edit and g-label?

Adding onto DRocks (which also worked for me) I shortened it down. Gui, Add, Edit, w200 vEdit1 ReadOnly, First text Gui, Add, Edit, w200 vEdit2 ReadOnly, Second text Gui, Add, Edit, w200 vEdit3 ReadOnly, Third text Gui, Add, Text, w200 , Testing Text OnMessage(0x201, "OnWM_LBUTTONDOWN") Gui, Show, a...
by MannyKSoSo
25 Oct 2019, 15:38
Forum: Ask For Help
Topic: Mouse selection and function icon
Replies: 2
Views: 164

Re: Mouse selection and function icon

Going from this original post https://www.autohotkey.com/boards/viewtopic.php?f=76&t=58414&p=281889&hilit=deepl#p281889 you could do something similar. (NOTE: they have since changed their api and the script in that no longer works.) Basically all you would need do is get an api key. Use ahk to call...
by MannyKSoSo
18 Oct 2019, 15:26
Forum: Ask For Help
Topic: ControlSend not working
Replies: 21
Views: 657

Re: ControlSend not working

The reason why it may not be sending it to that window could be with the title of the window. I would add a line to check to make sure the ErrorLevel is not set to 1. If it is you know the title of the window or one of the parameters to make it function are wrong. So for testing this should be what ...
by MannyKSoSo
18 Oct 2019, 12:52
Forum: Ask For Help
Topic: Connection between 2 PC with AHK ?
Replies: 6
Views: 389

Re: Connection between 2 PC with AHK ?

Telegram may be a solution to the problem. The following post talk about the automation and use of Telegram https://www.autohotkey.com/boards/viewtopic.php?t=24919 https://www.autohotkey.com/boards/viewtopic.php?&t=42031&start=20 I believe what others have done is be able to send variables over via ...
by MannyKSoSo
16 Oct 2019, 14:23
Forum: AutoHotkey v2 Help
Topic: AHK v2 source code: identify version number
Replies: 5
Views: 782

Re: AHK v2 source code: identify version number

You can check the AutoHotkey.chm file. It should show the version number
by MannyKSoSo
14 Oct 2019, 09:33
Forum: Ask For Help
Topic: Run Action based on URL Topic is solved
Replies: 5
Views: 219

Re: Run Action based on URL Topic is solved

You can split on different characters or use regex. Since it seems like you are using arguments in the url you can split it by the ? first, then by & for each variable input and finally split by = to get the variable name and the value. If you are only interested in one part of the url string I reco...
by MannyKSoSo
14 Oct 2019, 09:18
Forum: Ask For Help
Topic: How to specify a window title that is more than one word? Topic is solved
Replies: 2
Views: 149

Re: How to specify a window title that is more than one word? Topic is solved

https://www.autohotkey.com/docs/commands/WinExist.htm Should help some. I recommend that you use If WinExist("Longer Title With Space") as the way you are using it is the depreciated version. The depreciated version you would simply just place a space as the divider between each part is a comma and ...
by MannyKSoSo
14 Oct 2019, 08:33
Forum: Ask For Help
Topic: Website doesn't recognize login
Replies: 1
Views: 129

Re: Website doesn't recognize login

For your second script did you have SendMode, Input at the top of your script? This allows send to send all the characters at once instead of send each individual character (which should help with your delay). If it lags though you might still have some issues. Regarding the first script make value ...
by MannyKSoSo
14 Oct 2019, 08:17
Forum: Ask For Help
Topic: Run Action based on URL Topic is solved
Replies: 5
Views: 219

Re: Run Action based on URL Topic is solved

Code: Select all

::!m::
#IfWinActive ahk_exe firefox.exe
send ^l ; select url
send ^c ; copy url
if (InStr(clipboard, "?mobile_view")) {
;action
}
else {
;action 2
}
return
Untested
by MannyKSoSo
10 Oct 2019, 13:17
Forum: Ask For Help
Topic: Need Help/Info/Script
Replies: 3
Views: 215

Re: Need Help/Info/Script

As a starting point you can use https://www.autohotkey.com/docs/commands/ImageSearch.htm This will allow you to use an image as an input and you set the box for it to look. The smaller the search area the better. If it finds a match it will return an x and y you can use to get a click from. The firs...
by MannyKSoSo
10 Oct 2019, 12:46
Forum: Ask For Help
Topic: Need Help/Info/Script
Replies: 3
Views: 215

Re: Need Help/Info/Script

It depends on the game. If that game leaves the cursor to roam around the screen then its easier to code, but if the game forces your cursor to stay at the center of the screen then it becomes more of an issue since you can't use mouse movements normally as the game doesn't look for those, it instea...
by MannyKSoSo
10 Oct 2019, 09:02
Forum: Ask For Help
Topic: Is this real to merge 2 short scripts to one working? Topic is solved
Replies: 4
Views: 337

Re: Is this real to merge 2 short scripts to one working? Topic is solved

This is not tested (since I am at work) but this should hopefully do the trick Suspend Pause Return *F2:: ;Key F2 toggles script on/off Suspend Pause,,1 Return ~*RButton:: If WinActive("Diablo III") SetNumLockState, Off While(GetKeyState("RButton", "P")) { Send, {Space} } If WinActive("Diablo III") ...
by MannyKSoSo
09 Oct 2019, 13:47
Forum: Ask For Help
Topic: Is this real to merge 2 short scripts to one working? Topic is solved
Replies: 4
Views: 337

Re: Is this real to merge 2 short scripts to one working? Topic is solved

You are pretty close, the only thing why only half of it is working is due to the #If applies down to all hotkeys after it is introduced. So you could do two things here, the first is after the Diablo section add #If, or reorder the script to include the Suspend script first like so Suspend Pause Re...
by MannyKSoSo
07 Oct 2019, 15:28
Forum: Ask For Help
Topic: where are older ahk versions?
Replies: 5
Views: 367

Re: where are older ahk versions?

The reason the downloads are situated like this likely comes from the fact that when most people come to download autohotkey the three main links are likely the ones to be used. Of those three the current version and V2 are used more than the depreciated version. Other versions is simply just a page...
by MannyKSoSo
07 Oct 2019, 12:17
Forum: Ask For Help
Topic: Mouse coordinates not working
Replies: 5
Views: 225

Re: Mouse coordinates not working

No problem, I didn't realize the scaling wasn't at 100% as the coordinate give in windowspy and the links I gave you expects it as a 1.0 scaling factor (which is why the values are off somewhat).
by MannyKSoSo
07 Oct 2019, 10:52
Forum: Ask For Help
Topic: Mouse coordinates not working
Replies: 5
Views: 225

Re: Mouse coordinates not working

The order of the monitors does matter, as for example I am also using a 3 monitor set up, but like so [2,3,1]. 3 is set up as the main monitor. 1 should be the only monitor in my case that has positive x values. If for some reason it looks like the window spy isn't correct I would look at the follow...
by MannyKSoSo
07 Oct 2019, 10:14
Forum: Ask For Help
Topic: Mouse coordinates not working
Replies: 5
Views: 225

Re: Mouse coordinates not working

I believe you need to have Coordmode, Mouse, Screen instead of Relative as this would only move the mouse to the position in that local monitor. If this seems like its still too high I would recommend changing the y value by a magnitude of 100 for testing to make sure its actually in that window.

Go to advanced search