Search found 462 matches

by AHKStudent
08 Jun 2019, 22:03
Forum: Ask For Help
Topic: Urldownloadtofile issue
Replies: 13
Views: 171

Re: Urldownloadtofile issue

Tell us about the AV and firewall you have running
by AHKStudent
08 Jun 2019, 21:18
Forum: Scripts and Functions
Topic: Upcoming Ahk2Exe Changes (2019)
Replies: 31
Views: 1238

Re: Upcoming Ahk2Exe Changes (2019)

TAC109 wrote:
08 Jun 2019, 16:08
@AHKStudent Thanks.
What is the problem with the program class name and why should it be changed?
if someone wants it changed, just like the other parts
by AHKStudent
08 Jun 2019, 06:15
Forum: Scripts and Functions
Topic: Upcoming Ahk2Exe Changes (2019)
Replies: 31
Views: 1238

Re: Upcoming Ahk2Exe Changes (2019)

This works well. Thanks!

Any possible way to also change the program class name? Right now its AutoHotkeyGUI ?
by AHKStudent
06 Jun 2019, 19:21
Forum: Ask For Help
Topic: Script that writes to a specific window
Replies: 2
Views: 90

Re: Script that writes to a specific window

ControlSend is Your Friend!
by AHKStudent
03 Jun 2019, 16:33
Forum: Ask For Help
Topic: Help with AutoHotkey justification at work based on fear of malware Topic is solved
Replies: 7
Views: 277

Re: Help with AutoHotkey justification at work based on fear of malware Topic is solved

Write them back: ==== Autohotkey is a tool that can be used for good or bad. There is most likely more malware written in .net and c++ than in Autohotkey. The good news is that you could see the code and see what I access from the Autohotkey library. The reason why Autohotkey comes up in anti-malwar...
by AHKStudent
02 Jun 2019, 18:00
Forum: Ask For Help
Topic: Check expiration date with online Date/Time
Replies: 3
Views: 170

Re: Check expiration date with online Date/Time

blickeddd wrote:
02 Jun 2019, 15:49
figured this out. no need for help thank you
thats great share the solution for others please
:thumbup:
by AHKStudent
01 Jun 2019, 12:12
Forum: Ask For Help
Topic: How to run a web or exe that writed in a txt file
Replies: 3
Views: 106

Re: How to run a web or exe that writed in a txt file

if you want only line2 its swagfags code with minor change

Code: Select all


Loop Read, file_containing_only_paths_to_files.txt
{
IF A_Index = 2
{
	Run % A_LoopReadLine
        break
}
}

by AHKStudent
30 May 2019, 21:29
Forum: Ask For Help
Topic: Auto click on image
Replies: 2
Views: 96

Re: Auto click on image

korume2 wrote:
30 May 2019, 17:50
Thats what i got so far but it's not working

loop
{
ImageSearch, FoundX, FoundY, 0, 0, A_ScreenWidth, A_ScreenHeight, *10 C:\trainer\Screenshot_1.png
MouseClick, left
return
}

{
p::Pause
}
I think you need to tell it to click on foundx foundy

MouseClick, left, %foundx%, %foundy%
by AHKStudent
30 May 2019, 14:06
Forum: Ask For Help
Topic: How do you change the text in GUI on the same position ?
Replies: 1
Views: 53

Re: How do you change the text in GUI on the same position ?

Code: Select all

GUI,T1:new,-border
GUI,T1:font, bold
GUI,T1:add, text, vTheCounter,30
GUI,T1:show, x100 y100 w50 h50

t=30
loop %t%
{
guiControl,,TheCounter, % t
t:=t-1
sleep 1000

}
return




esc::exitapp
by AHKStudent
29 May 2019, 17:00
Forum: Ask For Help
Topic: Scan for text Topic is solved
Replies: 8
Views: 317

Re: Scan for text Topic is solved

try

Code: Select all

F4::
send, ^c
ClipWait
str = ; clears the variable
List =
(
456 sample text
999 another sample
sample 123 
555 text
123 ok
)
Loop, parse, List, `n
{
	if	A_loopfield contains %Clipboard%
		str .=	A_loopfield "`n"
}
msgbox %	str
return
by AHKStudent
28 May 2019, 16:48
Forum: Ask For Help
Topic: Scan for text Topic is solved
Replies: 8
Views: 317

Re: Scan for text Topic is solved

once you highlight text just click t

Code: Select all

t::
send, ^c
ClipWait
List =
(
456 sample text
999 another sample
sample 123 
555 text
)
Loop, parse, List, `n
{
 if A_loopfield contains %Clipboard%
   msgbox, % A_loopfield
}
return
by AHKStudent
28 May 2019, 00:54
Forum: Ask For Help
Topic: if FileExist with variable Topic is solved
Replies: 8
Views: 356

Re: if FileExist with variable Topic is solved

the code is good so i would check to make sure that you include only file name

MenteeSelect = filename ; is good
MenteeSelect = filename.xml ; not good because it has the xml already

i suggest right before this part of the code do a msgbox, % MenteeSelect and check what comes up
by AHKStudent
27 May 2019, 17:55
Forum: Ask For Help
Topic: Autoshoot Trigger bot
Replies: 3
Views: 195

Re: Autoshoot Trigger bot

try sens:=5 ;color tolerance for each color in RGB 0-255 model crossset:=-5 SetTimer, Idle, 100 return Idle: if (A_TimeIdle > 300) { Loop { if !GetKeyState("Shift") { Sleep, 50 MouseGetPos, oneX, oneY PixelGetColor, colorone, oneX+crossset, oneY+crossset SplitRGBColor(colorone, oneRed, oneGreen, one...
by AHKStudent
24 May 2019, 19:02
Forum: Ask For Help
Topic: Get text from web page with AHK
Replies: 3
Views: 172

Re: Get text from web page with AHK

try

Code: Select all

URLDownloadToVar("http://www.yoursite.com/123.txt",mytext)
MsgBox, % mytext
URLDownloadToVar(url,ByRef variable=""){
	hObject:=ComObjCreate("WinHttp.WinHttpRequest.5.1")
	hObject.Open("GET",url)
	hObject.Send()
	return variable:=hObject.ResponseText
}

by AHKStudent
12 May 2019, 08:17
Forum: Ask For Help
Topic: Actively watch folder to move certain filetypes to a other folder
Replies: 5
Views: 200

Re: Actively watch folder to move certain filetypes to a other folder

it will be quite inefficient, as the script is only meant to activate whenever a file is being downloaded >> and categorized. any other suggestions ? if you need to do it at the time of download try an extension https://chrome.google.com/webstore/detail/regexp-download-organizer/oamembonjndgangicfp...
by AHKStudent
12 May 2019, 01:48
Forum: Ask For Help
Topic: Controlsend, sends "v" before pasting Topic is solved
Replies: 4
Views: 169

Re: Controlsend, sends "v" before pasting Topic is solved

try using {ctrl down}v{ctrl up} instead of ^v

if that doesnt work try using controlsettext instead of controlsend https://autohotkey.com/docs/commands/ControlSetText.htm
by AHKStudent
06 May 2019, 21:21
Forum: Ask For Help
Topic: Script to write a list of text. Topic is solved
Replies: 3
Views: 196

Re: Script to write a list of text. Topic is solved

Code: Select all

MYData =
(
Line 1
Line 2
Line 3
Line 4
)
loop, parse, MYData, `n
   NOL := A_Index+1

L=1
u::

loop, parse, MYData, `n
{
    if (L = NOL)
         {
            L = 1
         }
   if (a_index = L)
   {
      send, % a_loopfield
      L++     
      break
   }
}
return
by AHKStudent
04 May 2019, 22:09
Forum: Ask For Help
Topic: quick question
Replies: 1
Views: 81

Re: quick question

can u share the script?
by AHKStudent
01 May 2019, 08:42
Forum: Ask For Help
Topic: How to make clipboard paste support for file/folder
Replies: 19
Views: 636

Re: How to make clipboard paste support for file/folder

I was also wondering if there is a way to do that To put is simply 1.Open Notepad and type the location to some file and set a variable to it Var = C:\File.txt 2.Send that variable into the clipboard but not as a text(which AHK does)but as if you went to that file and copy it 3.Open any folder and ...
by AHKStudent
01 May 2019, 08:37
Forum: Ask For Help
Topic: SAPI.SpVoice doesn't work. Topic is solved
Replies: 5
Views: 218

Re: SAPI.SpVoice doesn't work. Topic is solved

try specifying a specific voice that machine supports (you can look that up in registry)

Go to advanced search