Search found 440 matches

by MannyKSoSo
27 Jul 2020, 10:04
Forum: Ask for Help (v1)
Topic: Autohotkey & OBS issue
Replies: 6
Views: 3513

Re: Autohotkey & OBS issue

@yaroslavOreo No problem, Glad I could help.
by MannyKSoSo
10 Feb 2020, 10:00
Forum: Ask for Help (v1)
Topic: checking parameters passed into a function
Replies: 7
Views: 1455

Re: checking parameters passed into a function

If this is a function that will be given to user's its not a bad idea to have checks for what is correct. If you will be the only one using it, then a simple note above the function would be perfectly acceptable as well. Also you should throw errors instead of a msgbox as that function shouldn't exe...
by MannyKSoSo
29 Jan 2020, 14:50
Forum: Ask for Help (v1)
Topic: Goto is exiting the loop after its used once.
Replies: 2
Views: 509

Re: Goto is exiting the loop after its used once.

The problem is that your label isn't set up correctly. Labels continue execution until they hit a return or exit statement. So your new code would look something like this. MoveFiles: Loop, C:\Users\%A_username%\AppData\Local\GreenFolders\GreenFolders\Temp\*, 2 { if FileExist("C:\Users\" A_username ...
by MannyKSoSo
30 Dec 2019, 18:44
Forum: Ask for Help (v1)
Topic: Autohotkey & OBS issue
Replies: 6
Views: 3513

Re: Autohotkey & OBS issue

I double checked on my version (guess it was written in C++ with Qt, never knew). but I was able to get the following working. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Re...
by MannyKSoSo
30 Dec 2019, 15:48
Forum: Ask for Help (v1)
Topic: Autohotkey & OBS issue
Replies: 6
Views: 3513

Re: Autohotkey & OBS issue

Are you sure ahk_class Qt5QWindowIcon is correct for OBS? It looks like it is trying to open up the Qt5 editor which is for C++ gui's. Double check with window spy to make sure you have the correct ahk_class, then it may work. Otherwise I don't see anything wrong with this code.
by MannyKSoSo
27 Dec 2019, 08:12
Forum: Ask for Help (v1)
Topic: Help with AHK and COM
Replies: 3
Views: 1006

Re: Help with AHK and COM

Inside your IELoad function I would do the following While wb.readyState != 4 || wb.document.readyState != "complete" || wb.busy ; wait for the page to load sleep 100 this will make sure that it waits correctly (also is the new / cleaner way to do it. Also looking at the elements inside of google.co...
by MannyKSoSo
31 Oct 2019, 14:56
Forum: Ask for Help (v1)
Topic: Autohotkey for Mac
Replies: 28
Views: 164613

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 (v1)
Topic: Please help me to sort unordered comma separated words Topic is solved
Replies: 3
Views: 794

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 (v1)
Topic: AHK not working anymore
Replies: 3
Views: 1260

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 (v1)
Topic: Gui Edit and g-label?
Replies: 10
Views: 3010

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 (v1)
Topic: Mouse selection and function icon
Replies: 2
Views: 570

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 (v1)
Topic: ControlSend not working
Replies: 21
Views: 2370

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 (v1)
Topic: Connection between 2 PC with AHK ?
Replies: 6
Views: 1579

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: Ask for Help (v2)
Topic: AHK v2 source code: identify version number
Replies: 5
Views: 2676

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 (v1)
Topic: Run Action based on URL Topic is solved
Replies: 5
Views: 1186

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 (v1)
Topic: How to specify a window title that is more than one word? Topic is solved
Replies: 2
Views: 819

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 (v1)
Topic: Website doesn't recognize login
Replies: 1
Views: 430

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 (v1)
Topic: Run Action based on URL Topic is solved
Replies: 5
Views: 1186

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 (v1)
Topic: Need Help/Info/Script
Replies: 3
Views: 638

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 (v1)
Topic: Need Help/Info/Script
Replies: 3
Views: 638

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...

Go to advanced search