Search found 29 matches

by c7aesa7r
10 Mar 2020, 16:59
Forum: 脚本函数
Topic: AHK源代码加密器 v2.7
Replies: 60
Views: 29128

Re: AHK源代码加密器 v2.7

Why when i run the compiled source it generate a autohotkey.exe?
Is possible run the compiled .exe without making an ahk.exe?
by c7aesa7r
08 Mar 2020, 17:13
Forum: Ask For Help
Topic: SendMessage while mouse is moving
Replies: 2
Views: 471

Re: SendMessage while mouse is moving

Any help in how to call GetMessagePos function using autohotkey?
by c7aesa7r
07 Mar 2020, 15:38
Forum: Ask For Help
Topic: SendMessage while mouse is moving
Replies: 2
Views: 471

SendMessage while mouse is moving

Using my code i cant send click to XY position correctly, the problem is: if the mouse is moved while the script runs, he send the click on the atual mouse position. Someone know if theres any WM who could help avoid it? I could use blockinput while the script runs, but would like first try any othe...
by c7aesa7r
07 Mar 2020, 10:50
Forum: 脚本函数
Topic: AHK源代码加密器 v2.7
Replies: 60
Views: 29128

Re: AHK源代码加密器 v2.7

Sorry if its a dumb question, how easily this encryption could be cracked?
Also a doubt: The encrypted script remove all commented lines?
by c7aesa7r
07 Mar 2020, 09:23
Forum: Ask For Help
Topic: Get area where image was found, using GDI imagesearch
Replies: 5
Views: 348

Re: Get area where image was found, using GDI imagesearch

I have tried all search direction, dont got a satisfactory result :|
by c7aesa7r
06 Mar 2020, 20:21
Forum: Ask For Help
Topic: Get area where image was found, using GDI imagesearch
Replies: 5
Views: 348

Re: Get area where image was found, using GDI imagesearch

@kyuuuri
I already had tried it, the problem is he not found the image in the exact position where it starts
by c7aesa7r
06 Mar 2020, 19:59
Forum: Ask For Help
Topic: Get area where image was found, using GDI imagesearch
Replies: 5
Views: 348

Get area where image was found, using GDI imagesearch

D = %A_ScriptDir%\title.png find := Gdip_CreateBitmapFromFile(D) search := Gdip_ImageSearch(screen,find,LIST,0,0,1920,1080,80,0xFFFFFF,1,0) If %search% != 0 { CoordMode, Mouse, Screen Loop, Parse, LIST, `n { StringSplit, Coord, A_LoopField, `, FileAppend Found: %search% X:%Coord1% Y: %Coord2% } } W...
by c7aesa7r
05 Mar 2020, 23:58
Forum: Ask For Help
Topic: Convert ScreenToClient coordinates Topic is solved
Replies: 4
Views: 380

Re: Convert ScreenToClient coordinates Topic is solved

@guest3456
Could you give me a example in how to call the function using this hwnd and x,y?

hwnd = 0x000101B6
x = 940
y = 63
by c7aesa7r
05 Mar 2020, 23:26
Forum: Ask For Help
Topic: Convert ScreenToClient coordinates Topic is solved
Replies: 4
Views: 380

Convert ScreenToClient coordinates Topic is solved

#include <MsgBoxConstants.au3> #include <WinAPIConv.au3> Example() Func Example() Local $hWnd = GUICreate("Example", 200, 200) Local $tPoint = DllStructCreate("int X;int Y") DllStructSetData($tPoint, "X", 641) DllStructSetData($tPoint, "Y", 459) GUISetState(@SW_SHOW) Sleep(1000) _WinAPI_ScreenToCli...
by c7aesa7r
28 Feb 2020, 13:53
Forum: Ask For Help
Topic: Scrolling GUI, problem
Replies: 3
Views: 363

Scrolling GUI, problem

#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starti...
by c7aesa7r
05 Feb 2020, 17:16
Forum: Ask For Help
Topic: WinHttp post request
Replies: 4
Views: 401

Re: WinHttp post request

hi Masonjar13 ; CreateFormData() by tmplinshi, AHK Topic: https://autohotkey.com/boards/viewtopic.php?t=7647 ; Thanks to Coco: https://autohotkey.com/boards/viewtopic.php?p=41731#p41731 ; Modified version by SKAN, 09/May/2016 whr := ComObjCreate("WinHttp.WinHttpRequest.5.1") whr.Open("POST", "https ...
by c7aesa7r
05 Feb 2020, 07:10
Forum: Ask For Help
Topic: WinHttp post request
Replies: 4
Views: 401

WinHttp post request

I have found this script bellow to send get Winhttp request, would like to ask for help in how i could use it to send a post request, like: /api/item/write So in the body: { "species": "value", "name": "item name", "quantity": 300 } getWebPage("https granblue.herokuapp.com /api/item/write/collection...
by c7aesa7r
04 Feb 2020, 08:10
Forum: Ask For Help
Topic: Controlclick wheel down + NA
Replies: 1
Views: 142

Controlclick wheel down + NA

Can control-click + wheel down be used with "NA"? if so how?

I have tried:

Code: Select all

ControlClick, , NetLimiter 4 Pro, , WheelDown, 3, NA x1195 y362
My code is clicking instead of scrolling :lolno:
by c7aesa7r
31 Jan 2020, 12:37
Forum: Ask For Help
Topic: Stop GUI from increasing her size
Replies: 3
Views: 398

Re: Stop GUI from increasing her size

No problem not being hellbent, any help is appreciated, tagged him bc i know he has some knowledge about guis.

I think yes, can i stop it auto increasing the size?
by c7aesa7r
30 Jan 2020, 22:52
Forum: Ask For Help
Topic: Stop GUI from increasing her size
Replies: 3
Views: 398

Re: Stop GUI from increasing her size

@Hellbent any idea why it keeps increasing her size?
by c7aesa7r
29 Jan 2020, 22:52
Forum: Ask For Help
Topic: Stop GUI from increasing her size
Replies: 3
Views: 398

Stop GUI from increasing her size

how i can stop a GUI for auto increasing her size? gui.png Example, if i keep adding things to where i marked "A", the gui keeps increasing her size forever to --> x This is the code im using to resize and add scrollbars. ;===> gui, controls ;{ Gui, +Resize +0x300000 ; WS_VSCROLL | WS_HSCROLL Gui, S...
by c7aesa7r
28 Jan 2020, 16:32
Forum: Ask For Help
Topic: Pause timers when script paused
Replies: 6
Views: 384

Re: Pause timers when script paused

Hellbent Trying debug the script to understand each step, dont understand this part: % - ( TimerInterval-elapsdedTime ) Could you explain me? % - means? How could i pass this function to a msg box? msgbox, % - (TimerInterval - elapsdedTime) I did: d:= (TimerInterval - elapsdedTime) FileAppend d %d%...
by c7aesa7r
28 Jan 2020, 15:40
Forum: Ask For Help
Topic: Pause timers when script paused
Replies: 6
Views: 384

Re: Pause timers when script paused

I have a gui with a lot of checkboxs and input boxes to user put a interval of time to activate determined function. example [] Run calc.exe Min_______ Max______ If user set min 10 max 60, then it will run calc.exe in a random inerval of time between 10 and 60 minutes, but if he pause the script, i ...
by c7aesa7r
28 Jan 2020, 13:17
Forum: Ask For Help
Topic: Pause timers when script paused
Replies: 6
Views: 384

Pause timers when script paused

x = 0 Loop { If (x = 0) { start:=A_TickCount SetTimer, check, 5000 x = 1 } Sleep 1000 } check: difference:=A_TickCount-start MsgBox %difference% milliseconds x = 0 return f1:: Pause::Pause return esc:: exitapp Why does when i pause and after some time unpause, the time has passed? I read that when ...
by c7aesa7r
26 Jan 2020, 23:14
Forum: Ask For Help
Topic: Editing Gdi bitmapfromscreen function Topic is solved
Replies: 14
Views: 893

Re: Editing Gdi bitmapfromscreen function Topic is solved

"the bitmap from hwnd is going to start at 0,0 and be the width/height of the window. how big is the window you are trying to clone? did you even look at the definition of CloneBitmapArea? it looks like you are calling it with x1, y1, x2, y2, params. but that's not how its used. its used with x,y,w,...

Go to advanced search