Search found 175 matches

by ManualColdLock
22 Apr 2017, 20:15
Forum: Ask For Help
Topic: Loop through a variable certain amount of times
Replies: 3
Views: 712

Re: Loop through a variable certain amount of times

Nothing else belongs on that line if you already have a number after loop.

https://autohotkey.com/docs/commands/Loop.htm

What are you trying to do with %windowtile% ?
by ManualColdLock
29 Mar 2017, 00:43
Forum: Ask For Help
Topic: A_Index: line position options and correct usage Topic is solved
Replies: 4
Views: 1224

Re: A_Index: line position options and correct usage Topic is solved

a_index only has a value inside a loop.
All it does it tell you which loop number you are on.
the first time through the loop a_index = 1
the 50th time through the loop a_index = 50
it cannot be modified
by ManualColdLock
19 Mar 2017, 17:12
Forum: Ask For Help
Topic: Read file loop and do again Topic is solved
Replies: 1
Views: 527

Re: Read file loop and do again Topic is solved

Here's something to get you started:

Code: Select all

Loop, read, C:\Users\Hayssam Keylanne\Desktop\New folder\22.txt
{
	StringSplit, outvar,A_LoopReadLine, %A_Tab%
		Send, %outvar1%
		Send, {TAB}
		Send, %outvar2%
		Send, {ENTER}
		Sleep, 500
}
by ManualColdLock
17 Mar 2017, 23:48
Forum: Ask For Help
Topic: Tri Monitor Switch
Replies: 18
Views: 3322

Re: Tri Monitor Switch

Glad you got it working
by ManualColdLock
17 Mar 2017, 23:47
Forum: Ask For Help
Topic: Sending Messages using Postmessage between two instances. Topic is solved
Replies: 5
Views: 1253

Re: Sending Messages using Postmessage between two instances. Topic is solved

Did you try making the script disable OnMessage for a few seconds right before it sends a message?
by ManualColdLock
17 Mar 2017, 20:51
Forum: Ask For Help
Topic: Problem with numlock and del key
Replies: 2
Views: 618

Re: Problem with numlock and del key

Can confirm this issue, no idea why. But this solves it. (I used "a" instead of del)

Code: Select all

a:: SetNumLockState ,% GetKeyState("Numlock" , "T") ? "off": "on"
by ManualColdLock
14 Mar 2017, 14:01
Forum: Ask For Help
Topic: ¿How to access a TDBGrid Control?
Replies: 3
Views: 875

Re: ¿How to access a TDBGrid Control?

Did you use window spy to make sure you're using the right handle or control ClassNN?
by ManualColdLock
14 Mar 2017, 13:59
Forum: Ask For Help
Topic: Pls help, I need a script that:
Replies: 5
Views: 1740

Re: Pls help, I need a script that:

It was just sending the q's too quickly for the program. Try this:

Code: Select all

#MaxThreadsPerHotkey 2

F2::
Toggle := !Toggle
while Toggle {
Send, {z Down}
Sleep 2000  
Send, {z Up}
sleep 1500
loop, 11 
   {
   Send,q 
   Sleep, 50
   }
}
return
by ManualColdLock
13 Mar 2017, 17:08
Forum: Ask For Help
Topic: Functions returning two different results every time
Replies: 4
Views: 1024

Re: Functions returning two different results every time

aTime := A_Tickcount then aTime := compareTime(aTime) which is A_TickCount - givenTickCount if you substitute real numbers.... a tick count = 1000 then atime = 1000 wait 5 then a tick = 1005 set atime to 1005 - 1000 = 5 now atime = 5 wait 30 this time & do it again a tick count = 135 set atime to at...
by ManualColdLock
13 Mar 2017, 16:49
Forum: Ask For Help
Topic: Pls help, I need a script that:
Replies: 5
Views: 1740

Re: Pls help, I need a script that:

See if this helps: (warning untested)

Code: Select all

#MaxThreadsPerHotkey 2

F2::
Toggle := !Toggle
while Toggle {
Send, {z Down}
Sleep 10000 
Send, {z Up}
sleep 1500

Send, {q 11}
Sleep, 50
}
return
by ManualColdLock
09 Mar 2017, 15:17
Forum: Ask For Help
Topic: Mouse buttones with modifiers (!Rbutton) remapping.
Replies: 2
Views: 1001

Re: Mouse buttones with modifiers (!Rbutton) remapping.

Code: Select all

; - - - - - - Shift + LMB = RMB => rotate
+Lbutton:: RButton
; - - - - - - Ctrl + MMB = Shift + RMB => pan
^Mbutton::+RButton
I can't get Alt to work but shift and control both work fine. Alt behaves weird sometimes.
by ManualColdLock
09 Mar 2017, 14:45
Forum: Ask For Help
Topic: Multiple ListViews in one GUI
Replies: 3
Views: 1323

Re: Multiple ListViews in one GUI

https://autohotkey.com/docs/commands/ListView.htm#BuiltIn If the window has more than one ListView control, by default the functions operate upon the one most recently added. To change this, specify Gui, ListView, ListViewName, where ListViewName is the name of the ListView's associated variable, it...
by ManualColdLock
09 Mar 2017, 14:43
Forum: Ask For Help
Topic: Nicer way to update GUI?
Replies: 7
Views: 1658

Re: Nicer way to update GUI?

good call 4GForce, totally forgot about that.
by ManualColdLock
09 Mar 2017, 06:11
Forum: Ask For Help
Topic: My Scripts Aren't Shown as AHK Files After a Virus
Replies: 4
Views: 995

Re: My Scripts Aren't Shown as AHK Files After a Virus

try:

Right click on file > open with > choose Default program> click browse > find autohotkey.exe
by ManualColdLock
09 Mar 2017, 06:09
Forum: Ask For Help
Topic: Nicer way to update GUI?
Replies: 7
Views: 1658

Re: Nicer way to update GUI?

I believe:

Code: Select all

GuiControl, Disable, ControlVar
GuiControl, Hide,ControlVar
is the recommend way
GuiControl, Delete (not yet implemented): This sub-command does not yet exist. As a workaround, use Hide and/or Disable (above), or destroy and recreate the entire window via Gui Destroy.
by ManualColdLock
09 Mar 2017, 06:01
Forum: Ask For Help
Topic: ¿How to access a TDBGrid Control?
Replies: 3
Views: 875

Re: ¿How to access a TDBGrid Control?

Did you try
ControlGetText,OutputVar, TDBGrid,%ThisWindowTitle%
by ManualColdLock
09 Mar 2017, 05:56
Forum: Ask For Help
Topic: how to array append array Topic is solved
Replies: 2
Views: 689

Re: how to array append array Topic is solved

arrayA.Push(arrayB*)
by ManualColdLock
09 Mar 2017, 05:52
Forum: Ask For Help
Topic: My Scripts Aren't Shown as AHK Files After a Virus
Replies: 4
Views: 995

Re: My Scripts Aren't Shown as AHK Files After a Virus

The easiest way to reassociate the file type is to reinstall Autohotkey

Go to advanced search