Search found 183 matches

by DyaTactic
20 Jun 2018, 15:59
Forum: Ask For Help
Topic: how to "bind" left mouse click to a special keyboard key? Topic is solved
Replies: 1
Views: 313

Re: how to "bind" left mouse click to a special keyboard key? Topic is solved

Take a look at this help page of Autohotkey: https://autohotkey.com/docs/KeyList.htm#SpecialKeys I am not fammilliar with the keyboard, maybe someone else is. Anyway, you can also try to program the G1 key to say 'Ctrl + Alt + U' (hoping it has no other function) and catch the hotkey in AHK using th...
by DyaTactic
20 Jun 2018, 15:26
Forum: Ask For Help
Topic: I need help with algorithms if possible
Replies: 2
Views: 321

Re: I need help with algorithms if possible

I do understand mathemethics at a certain level but I belive this is not really ment to be a 'mathematical' explanation, is it? In other words, it's hard to understand what you want. Can you tell more about the goal of this algarithm? Maybe that clarifies one and other. I'll write down in AHK what I...
by DyaTactic
20 Jun 2018, 14:50
Forum: Ask For Help
Topic: Need Help!! Topic is solved
Replies: 1
Views: 271

Re: Need Help!! Topic is solved

Try this, not sure if this will fix it but it's worth a shot.

Code: Select all

$1::
	SetKeyDelay, -1, -1
	SetBatchLines -1
	Loop
	{
		if not GetKeyState("1", "P") 
			break
		Send, {1 Down}
		DllCall("Sleep", "UInt",10.5)
		Send, {1 Up}
		DllCall("Sleep", "UInt",10.5)
	}
return
by DyaTactic
20 Jun 2018, 14:20
Forum: Ask For Help
Topic: Hold down key and modifier
Replies: 1
Views: 251

Re: Hold down key and modifier

Try

Code: Select all

Sendinput, {8 down}
Sendinput, {1 down}
Sendinput, {Shift Down}{X down}
Sendinput, {m down}
sleep, 300
Sendinput, {8 up}
Sendinput, {1 up}
Sendinput, {X up}{Shift Up}
Sendinput, {m up}

by DyaTactic
19 Jun 2018, 16:12
Forum: Ask For Help
Topic: Activate window after click in other monitor
Replies: 1
Views: 267

Re: Activate window after click in other monitor

Try if this works. It's a bit complicated to leave all the normal functions of the mouse intact but this seems to work quite well: SysGet, MonCount, MonitorCount SysGet, 3rdMon, Monitor, 3 ; Assuming you touchscreen is monitor 3. ; The abonve command writes 3rdMonLeft, 3rdMonTop, 3rdMonRight and 3rd...
by DyaTactic
19 Jun 2018, 14:59
Forum: Ask For Help
Topic: Splitting a string into multiple lines with a maximum lenght Topic is solved
Replies: 14
Views: 1543

Re: Splitting a string into multiple lines with a maximum lenght Topic is solved

This should do it: TooLong := "For an example, this thing that I am writing right now needs to be split into `; 77 chars" ; Note that the semi-colon need to be excaped. ShortString := "" MaxLen := 80 OrgiLen := StrLen(TooLong) LastChar := 1 Loop { If (LastChar >= OrgiLen) ; There are no more linefee...
by DyaTactic
18 Jun 2018, 16:18
Forum: Ask For Help
Topic: Help with my AutoClicker Topic is solved
Replies: 8
Views: 784

Re: Help with my AutoClicker Topic is solved

You're most welcome
by DyaTactic
18 Jun 2018, 16:17
Forum: Ask For Help
Topic: Audio input enable/disable bind
Replies: 1
Views: 211

Re: Audio input enable/disable bind

I found this script that proves it is possible. (https://autohotkey.com/boards/viewtopic.php?f=5&t=14782&start=40) Now I need a few names of your system so you can use the scirpt: - The name of the device listed in the sound settigns window - The name of the other device - The title of the sound set...
by DyaTactic
18 Jun 2018, 15:40
Forum: Ask For Help
Topic: Help with my AutoClicker Topic is solved
Replies: 8
Views: 784

Re: Help with my AutoClicker Topic is solved

Looping like this?

Code: Select all

q::
	Loop, 3	; Repeat 3 times.
	{
		randClick(0, 0, 80, 80) ;click1
		Sleep rand(300, 1000)	
		randClick(680, 1040, 730, 1060) ;click2
		Sleep rand(300, 1000)
		randClick(890, 100, 900, 110) ;click3
	}
Return
by DyaTactic
18 Jun 2018, 15:23
Forum: Ask For Help
Topic: how to change script location?
Replies: 2
Views: 416

Re: how to change script location?

I belive there is no way to define dynamic hotstrings. But you can place your script in Dropbox. Or only the hotstring part and use "#Include, Filename" in the scripts on both computers.

If you want to change the working directory, use "SetWorkingDir, DirName".

Let me know if you need more help.
by DyaTactic
18 Jun 2018, 15:13
Forum: Ask For Help
Topic: How to program excel to send email when any new input is added Topic is solved
Replies: 1
Views: 257

Re: How to program excel to send email when any new input is added Topic is solved

Do you mean something like this? https://www.online-tech-tips.com/ms-office-tips/track-changes-in-excel/ I would also be possible for AHK to read lines from a file with the changes and select the changed cells. But that would need a log/text file specifying which cells are changed. Let me know if th...
by DyaTactic
18 Jun 2018, 14:48
Forum: Ask For Help
Topic: Help with my AutoClicker Topic is solved
Replies: 8
Views: 784

Re: Help with my AutoClicker Topic is solved

Use the Random function to generate a random number.

Code: Select all

Random, OutputVar, Min, Max
Let me know if you have any more questions.
by DyaTactic
18 Jun 2018, 13:00
Forum: Ask For Help
Topic: (Script) Need Help with if statement
Replies: 3
Views: 362

Re: (Script) Need Help with if statement

It does not on my machine, I would like to help but it's working for as far as I can see.
by DyaTactic
18 Jun 2018, 12:44
Forum: Ask For Help
Topic: getting file name from pictures on screen
Replies: 3
Views: 365

Re: getting file name from pictures on screen

I am glad I could help.
by DyaTactic
17 Jun 2018, 14:13
Forum: Ask For Help
Topic: SetKeyDelay/Sleep commands not being obeyed. Loop Parse issue?
Replies: 2
Views: 338

Re: SetKeyDelay/Sleep commands not being obeyed. Loop Parse issue?

The Loop command's default settings do not meet your needs. Syntax: Loop, Parse, InputVar [, Delimiters, OmitChars] The default delimiter is none, so every single character in the string a causes one loop iteration. Furthermore with every iteration you are checking (in the If statements) the entire ...
by DyaTactic
17 Jun 2018, 13:37
Forum: Ask For Help
Topic: getting file name from pictures on screen
Replies: 3
Views: 365

Re: getting file name from pictures on screen

I would save the filename in the same Pics array, making it a 2D array. Like so: Pics := [] Loop, Files, *.bmp, R { Pics.Push([LoadPicture(A_LoopFileFullPath), A_LoopFileFullPath]) } while(true) { for i in Pics{ ImageSearch, FoundX, FoundY,X,Y,I,J,Pics[i, 1] if ErrorLevel = 0 { Send, % Pics[i , 2] ....
by DyaTactic
17 May 2018, 15:04
Forum: Ask For Help
Topic: Listview Icons in more than first column
Replies: 5
Views: 670

Re: Listview Icons in more than first column

Oh yea, I found the same script in the archived forums with the same problem. Now it's working!
Thanks
by DyaTactic
29 Mar 2018, 06:54
Forum: Ask For Help
Topic: Hotkey and Efficiency Demos
Replies: 1
Views: 277

Re: Hotkey and Efficiency Demos

Do you mean like this: https://autohotkey.com/boards/viewforum.php?f=6
The place with lots of scripts and examples of what you can acheive with AutoHotkey.
by DyaTactic
29 Mar 2018, 06:41
Forum: Ask For Help
Topic: Issue with Errorvar
Replies: 8
Views: 878

Re: Issue with Errorvar

I gladly notify about the possibility to write the files content literaly in the code instead of calling FileAppend for every line again. One thing is that the "(" and ")" should be escaped, so "(" becomes "`(". BatchContent = ( @echo off goto check_Permissions :check_Permissions echo Administrative...
by DyaTactic
29 Mar 2018, 06:26
Forum: Ask For Help
Topic: Getting system colors Topic is solved
Replies: 8
Views: 868

Re: Getting system colors Topic is solved

If you say the color is found in the theme files (on Win7). You can find them here: %UserProfile%\AppData\Local\Microsoft\Windows\Themes on Win10, it could be just different in Win7 though. If it is written in that file I am positive that you can read it and extract that specific color. The active t...

Go to advanced search