Search found 715 matches

by malcev
Yesterday, 11:17
Forum: Ask For Help
Topic: How to get a value from another program
Replies: 9
Views: 164

Re: How to get a value from another program

Using cheat engine You can count offsets.
Read manual.
by malcev
Yesterday, 07:18
Forum: Tutorials
Topic: Using Selenium with AutoHotkey- Cross browser automation!
Replies: 149
Views: 93230

Re: Using Selenium with AutoHotkey- Cross browser automation!

I mean like this

Code: Select all

driver.ExecuteScript("arguments[0].value=""\uD83D\uDD34"";", element)
In Your example

Code: Select all

driver.ExecuteScript("arguments[0].value=""\uD83D\uDD34"";", driver.findElementsByName("q").item[1])
by malcev
Yesterday, 06:33
Forum: Ask For Help
Topic: Selenium + AHK, downloading file in headless Chrome
Replies: 1
Views: 73

Re: Selenium + AHK, downloading file in headless Chrome

In ahk You use vba wrapper.
Therefore search solution for vba.
by malcev
Yesterday, 05:42
Forum: Ask For Help
Topic: Copy to clipboard some characters from an URL Topic is solved
Replies: 25
Views: 449

Re: Copy to clipboard some characters from an URL Topic is solved

In chrome for me it works like this:

Code: Select all

f11::
loop 2
{
   Acc := Acc_ObjectFromPoint(child)
   value := Acc_Parent(Acc).accValue(child)
   if (value != "")
      break
}
msgbox % value
return
Can you give an example for "send WM_GETOBJECT"?
Search forum.
by malcev
Yesterday, 03:18
Forum: Ask For Help
Topic: Copy to clipboard some characters from an URL Topic is solved
Replies: 25
Views: 449

Re: Copy to clipboard some characters from an URL Topic is solved

Yes.
Chrome should be run with --force-renderer-accessibility flag
Or You should send WM_GETOBJECT by Yourself.
by malcev
20 Oct 2020, 19:52
Forum: Ask For Help
Topic: Multiple ImageSearch
Replies: 4
Views: 83

Re: Multiple ImageSearch

GdipImageSearch.ahk is slow. Gdip_FastImageSearch faster.
by malcev
20 Oct 2020, 09:09
Forum: Ask For Help
Topic: Copy to clipboard some characters from an URL Topic is solved
Replies: 25
Views: 449

Re: Copy to clipboard some characters from an URL Topic is solved

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
20 Oct 2020, 07:11
Forum: Ask For Help
Topic: Copy to clipboard some characters from an URL Topic is solved
Replies: 25
Views: 449

Re: Copy to clipboard some characters from an URL Topic is solved

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: 229

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: 250

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: 250

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: 250

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: 250

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: 250

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: 136850

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: 11
Views: 575

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.

Go to advanced search