Search found 377 matches

by AHKStudent
57 minutes ago
Forum: Ask For Help
Topic: Line limit in an edit box?
Replies: 1
Views: 39

Re: Line limit in an edit box?

If you find no better way maybe this can help you #NoEnv #SingleInstance Force SetWorkingDir %A_ScriptDir% Gui Add, Edit, x24 y23 w252 h103 Multi gEditBox vCountLines Gui Show, w301 h219, Try MaxLines = 5 Return EditBox:. Gui, Submit, NoHide Loop, Parse, CountLines, `n if (a_index > MaxLines) { Cont...
by AHKStudent
Yesterday, 10:52
Forum: Ask For Help
Topic: 5 virus programs say AHK is a virus?
Replies: 11
Views: 244

Re: 5 virus programs say AHK is a virus?

@gregster So I downloaded the default installer: AutoHotkey_1.1.30.01_setup.exe I get 5 red flags: https://www.virustotal.com/#/file/566eecbfee64e12d5cda0005a0e8e8812cfcee79e8956fa84ab15acad21cfe55/detection When I download the zip file, I get 7 red flags: AutoHotkey_1.1.30.01.zip https://www.virus...
by AHKStudent
Yesterday, 07:18
Forum: Ask For Help
Topic: Need help making an auto clicker in specific window
Replies: 2
Views: 30

Re: Need help making an auto clicker in specific window

Code: Select all

y::
sleep, SleepRand(250, 1500) ; calls the function and passes to it the min and max of the random number, it will sleep that amount
msgbox, % slp
;do something
sleep, SleepRand(23, 950)
;do something
msgbox, % slp
return

SleepRand(Mn, Mx)
{
   global Slp
   Random, Slp, %Mn%, %Mx%  
}
by AHKStudent
Yesterday, 06:14
Forum: Ask For Help
Topic: List of WinNT options
Replies: 0
Views: 27

List of WinNT options

I see examples used on the fourm of /Administrators (ComObjGet("WinNT://./Administrators")) or /WORKGROUPS and I am curious if there is a list of all these items somewhere and their objects. I tried MSDN but I did not find it.
by AHKStudent
17 Feb 2019, 17:37
Forum: Ask For Help
Topic: 5 virus programs say AHK is a virus?
Replies: 11
Views: 244

Re: 5 virus programs say AHK is a virus?

I always run any exe I install through www.virustotal.com. Before, you used to get 1-2 virus checkers say AHK was a virus. I ran the latest version just now, now 5 say it's a virus. Yes, yes, a false positive. 1 or 2, I'm OK with. 5? Hmm... ANY other program I will NOT install Normally, if 1 or 2, ...
by AHKStudent
16 Feb 2019, 10:54
Forum: Ask For Help
Topic: Custom Msgbox
Replies: 13
Views: 247

Re: Custom Msgbox

Windows 10 1920 x 1080 runs smooth no flicker and the edges are sharp
by AHKStudent
16 Feb 2019, 06:01
Forum: Ask For Help
Topic: Text Replacment not Working in Chrome
Replies: 2
Views: 76

Re: Text Replacment not Working in Chrome

what else does your script do? What area in chrome are you typing this into?
by AHKStudent
16 Feb 2019, 05:53
Forum: Ask For Help
Topic: Auto-Login [ImageSearch]
Replies: 2
Views: 51

Re: Auto-Login [ImageSearch]

a loop or timer can help https://autohotkey.com/docs/commands/Loop.htm CoordMode, Pixel, Screen loop { ImageSearch, FoundX, FoundY, 0,0, %A_ScreenWidth%, %A_ScreenHeight%, *0 E:\Bontoft\Pictures\login.png if ErrorLevel = 0 { Send {tab} Sleep, 500 Send username{tab} Sleep, 500 Send password{enter} } ...
by AHKStudent
15 Feb 2019, 00:31
Forum: Ask For Help
Topic: Loop parse
Replies: 3
Views: 49

Re: Loop parse

Do you have the Gui, Submit, NoHide? I tested it and it worked exclude = ( C:\Windows`nC:\Program Files ) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; loop, parse, exclude, `n ;reads each row of the provided terms one line at a time { ;;;;;;;;;;;; if (A_LoopField ...
by AHKStudent
14 Feb 2019, 15:59
Forum: Ask For Help
Topic: Screen Resolution Issues
Replies: 18
Views: 261

Re: URGENT: Screen Resolution Issues

I use them SOTE. This is a particular situation where it is impossible to use ControlSend/Click, because the Table Cell I need to click does not have a ClassNN. Interesting AHK Student. Can you tell me how you arrived at 34, and 4.1? You mentioned "Example I have a co-ordinate of 42,219 with a scre...
by AHKStudent
14 Feb 2019, 12:12
Forum: Gaming
Topic: CoinSino
Replies: 2
Views: 149

Re: CoinSino

looks good

add ControlFocus, Edit1, CoinSino on line 98
by AHKStudent
14 Feb 2019, 11:23
Forum: Scripts and Functions
Topic: Simple Commenting Tool
Replies: 4
Views: 292

Re: Simple Commenting Tool

Useful, inspired by your work I put together something that maybe you can make work, even this version can be shorter and be easier, #NoEnv #SingleInstance Force SetWorkingDir %A_ScriptDir% gui, +AlwaysOnTop Gui Add, Edit, hWndhEdit3 x9 y62 w184 h21 vthecomment DllCall("SendMessage", "Ptr", hEdit3, ...
by AHKStudent
14 Feb 2019, 09:06
Forum: Ask For Help
Topic: Screen Resolution Issues
Replies: 18
Views: 261

Re: URGENT: Screen Resolution Issues

I figured out the problem but not entirely. The mouse wasn't clicking my fixed co-ordinates because some clients had a large discrepancy in screen resolution. Does anyone know a mathematical formula that converts co-ordinates based on screen resolutions? Example I have a co-ordinate of 42,219 with ...
by AHKStudent
13 Feb 2019, 17:18
Forum: Ask For Help
Topic: Idea to help text presentation
Replies: 4
Views: 120

Re: Idea to help text presentation

Hallo I have a shutcut program where I want to show a help text - but how. Can you make a menu in the windows tray - where you can right click on the icon for the program and then have a menu ? I only have the icon in the system tray - where a have to make a help text - how ? Thanks for you replies...
by AHKStudent
12 Feb 2019, 17:54
Forum: Ask For Help
Topic: Drawing a blank! AHK Gods Unite!
Replies: 4
Views: 104

Re: Drawing a blank! AHK Gods Unite!

The following does work, so that is promising. But is there a way I can take the input from the edit field (one term per line) and create the variable where they are delimited by comma. In other words, still allow the user to enter them in one per line, and once they push the button to execute, the...
by AHKStudent
12 Feb 2019, 15:46
Forum: Ask For Help
Topic: Drawing a blank! AHK Gods Unite!
Replies: 4
Views: 104

Re: Drawing a blank! AHK Gods Unite!

You can have the data entered instead of one per line entered as keyword1,keyword2,keyword3

and then in your loop do

if A_LoopReadLine contains %terms% {
FileReadLine, TheLine, TheFileName, % a_index
FileAppend, % theline, YourfileName.txt
}
by AHKStudent
12 Feb 2019, 05:06
Forum: Ask For Help
Topic: Command Dictionary
Replies: 3
Views: 100

Re: Command Dictionary

Allen wrote:
12 Feb 2019, 04:54
Anyone who can help,

I will be working for 8 weeks without Internet access. Is there any easy way to download the AHK command dictionary so that I can access it straight from my computer?

Many thanks,

Allen
Check your AHK folder, it should be there
by AHKStudent
10 Feb 2019, 10:17
Forum: Ask For Help
Topic: How to reference a variable associated with a parent Gui control? Topic is solved
Replies: 8
Views: 158

Re: How to reference a variable associated with a parent Gui control? Topic is solved

Gui, Add, Edit, vEdit Gui, Add, Button, x0, OK Gui, Show, h200 w400, Gui1 return GuiClose: ExitApp ButtonOK: Gui, 1:+Disabled Gui, 2:+Owner1 +OwnDialogs Gui, 2:Add, Edit, vEdit Gui, 2:Add, Button, x0, OK Gui, 2:Show, h200 w400, Gui2 return 2ButtonOK: Gui, 2:Submit, NoHide Gui, 1:Default ControlGetT...

Go to advanced search