Search found 709 matches

by malcev
Yesterday, 19:52
Forum: Ask For Help
Topic: Multiple ImageSearch
Replies: 4
Views: 79

Re: Multiple ImageSearch

GdipImageSearch.ahk is slow. Gdip_FastImageSearch faster.
by malcev
Yesterday, 09:09
Forum: Ask For Help
Topic: Copy to clipboard some characters from an URL
Replies: 18
Views: 291

Re: Copy to clipboard some characters from an URL

setbatchlines -1 f11:: Acc := Acc_ObjectFromPoint(child) msgbox % Acc.accValue(child) return ; http://www.autohotkey.com/board/topic/77303-acc-library-ahk-l-updated-09272012/ ; https://dl.dropbox.com/u/47573473/Web%20Server/AHK_L/Acc.ahk ;------------------------------------------------------------...
by malcev
Yesterday, 07:11
Forum: Ask For Help
Topic: Copy to clipboard some characters from an URL
Replies: 18
Views: 291

Re: Copy to clipboard some characters from an URL

Depending on site it can be done with acc help.
You can download ahkspy and look at value of acc object under mouse.
by malcev
18 Oct 2020, 19:21
Forum: Ask For Help
Topic: Gmail: click on first attachment - how?
Replies: 9
Views: 225

Re: Gmail: click on first attachment - how?

With UIA approach (can be faster in some situations than ACC+JS). Chrome should be run with --force-renderer-accessibility flag Or You should send WM_GETOBJECT by Yourself. setbatchlines -1 uia := UIA_Interface() condition := uia.CreatePropertyCondition(UIA_ControlTypePropertyId := 30003, UIA_Hyperl...
by malcev
18 Oct 2020, 15:57
Forum: Ask For Help
Topic: Question about sending PUT request Topic is solved
Replies: 11
Views: 233

Re: Question about sending PUT request Topic is solved

Tested Your code. It does not work for me. But this works. path := "g:\photo.jpg" SplitPath, path, fileName f := FileOpen(path, "r") safeArray := ComObjArray(VT_UI1:=0x11, f.length) pvData := NumGet(ComObjValue(safeArray) + 8+A_PtrSize) f.RawRead(pvData + 0, f.length) f.Close() HTTP := ComObjCreate(...
by malcev
17 Oct 2020, 22:51
Forum: Ask For Help
Topic: Question about sending PUT request Topic is solved
Replies: 11
Views: 233

Re: Question about sending PUT request Topic is solved

Of course it is the path of file. And what is Your final code? As I see the difference between put and post here is that for post we use multipart/form-data and for put - application/octet-stream. using POST in chrome will get a JSON, but using POST in code I got a HTML, but maybe its because I didn...
by malcev
17 Oct 2020, 18:47
Forum: Ask For Help
Topic: Question about sending PUT request Topic is solved
Replies: 11
Views: 233

Re: Question about sending PUT request Topic is solved

I just look what browser sends when We upload file to that service.
And response will be json.
by malcev
17 Oct 2020, 18:03
Forum: Ask For Help
Topic: Question about sending PUT request Topic is solved
Replies: 11
Views: 233

Re: Question about sending PUT request Topic is solved

Bobo, why dont You like?

Code: Select all

file := Clipboard
by malcev
17 Oct 2020, 17:57
Forum: Ask For Help
Topic: Question about sending PUT request Topic is solved
Replies: 11
Views: 233

Re: Question about sending PUT request Topic is solved

1) Not "put" but "post".
2) Read about multipart/form-data.
by malcev
17 Oct 2020, 10:19
Forum: Ask For Help
Topic: How can i go in chrome to a specific tab?
Replies: 3
Views: 75

Re: How can i go in chrome to a specific tab?

It can be done with iaccessible help.
by malcev
16 Oct 2020, 22:36
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 321
Views: 136681

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

I mean that when chrome.ahk starts it can check if javascript is enabled in IE.
And if js is disabled then enable js, coonnect to chrome and then disable js.
Also it will be good to write about it in limitations in the 1 post.
by malcev
16 Oct 2020, 03:29
Forum: Scripts and Functions
Topic: Imagen() : A fade-in/fade-out animator for picture control
Replies: 9
Views: 470

Re: Imagen() : A fade-in/fade-out animator for picture control

It is for ahk_h.
You have to implant struct() in ahk_l by Yourself or just use varsetcapacity/numput/numget.
by malcev
16 Oct 2020, 00:54
Forum: Ask For Help
Topic: Store and get ini data from shrib.com
Replies: 5
Views: 166

Re: Store and get ini data from shrib.com

You can get/set text without using api.
Just analyze in browser, what You have to send to get needed response.
by malcev
15 Oct 2020, 00:01
Forum: Ask For Help
Topic: Pixelsearch - count all in an area
Replies: 8
Views: 205

Re: Pixelsearch - count all in an area

setbatchlines -1 loop 5 Gdip_PixelCount(0, 0, 1000, 1000, 0xED1C24, 1) Gdip_PixelCount(x1, y1, x2, y2, color, var:=0) { count := 0 color := 0xFF000000 | color ; add alpha channel pToken := Gdip_Startup() targetR := Gdip_RFromARGB(color) targetG := Gdip_GFromARGB(color) targetB := Gdip_BFromARGB(col...
by malcev
14 Oct 2020, 18:49
Forum: Ask For Help
Topic: Pixelsearch - count all in an area
Replies: 8
Views: 205

Re: Pixelsearch - count all in an area

It can be more than 4 times faster without machine code. Just dont use functions. loop, % h { y := A_Index - 1 loop, % w { if (Abs(((0x00ff0000 & NumGet(Scan+0, (A_Index-1)*4 + y*Stride, "uint")) >> 16) - targetR) <= var) && (Abs(((0x0000ff00 & NumGet(Scan+0, (A_Index-1)*4 + y*Stride, "uint")) >> 8)...
by malcev
14 Oct 2020, 15:00
Forum: Scripts and Functions
Topic: Imagen() : A fade-in/fade-out animator for picture control
Replies: 9
Views: 470

Re: Imagen() : A fade-in/fade-out animator for picture control

SKAN, if You are interested in animation, may be it will be interesting to You to look at DirectComposition API.
https://autohotkey.com/board/topic/95837-samplewin8ahk-h-gui-animation-directcomposition-sample-one/
by malcev
14 Oct 2020, 14:42
Forum: Ask For Help
Topic: Pixelsearch - count all in an area
Replies: 8
Views: 205

Re: Pixelsearch - count all in an area

If You want speed do not use PixelSearch and pixelgetcolor for this task.
Use GDI+.
by malcev
12 Oct 2020, 17:26
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 321
Views: 136681

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

Nowhere is said that to run this library successfully should be enabled active scripting in IE.
It can be checked/modified here:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3

Go to advanced search