Search found 648 matches

by malcev
02 Jul 2020, 08:43
Forum: Ask For Help
Topic: create a small colour box near to every "image 1"
Replies: 4
Views: 1675

Re: create a small colour box near to every "image 1"

Automate Premiere CC with imagesearch is not good idea.
May be this will help You:
http://ppro.aenhancers.com/
by malcev
01 Jul 2020, 18:33
Forum: Ask For Help
Topic: VA_IAudioSessionControl2_GetProcessId hangs the script Topic is solved
Replies: 10
Views: 5045

Re: VA_IAudioSessionControl2_GetProcessId hangs the script Topic is solved

To get a reference to the IAudioSessionControl2 interface, the application must call IAudioSessionControl::QueryInterface to request the interface pointer from the stream object's IAudioSessionControl interface https://docs.microsoft.com/en-us/windows/win32/api/audiopolicy/nn-audiopolicy-iaudiosess...
by malcev
01 Jul 2020, 11:15
Forum: Gaming
Topic: Anti-cheat black screen
Replies: 42
Views: 9663

Re: Anti-cheat black screen

Read topic from start.
by malcev
01 Jul 2020, 10:59
Forum: Ask For Help
Topic: I got an error turning the volume on and off for Google Chrome
Replies: 5
Views: 1283

Re: I got an error turning the volume on and off for Google Chrome

Sorry, it is not interesting for me to fix this code. You can try to do it by Yourself. How to get process name from its PID You can read in manual in chapter process. One more variant - You can get all pids with process name chrome.exe and check if pid that You get from VA_IAudioSessionControl2_Get...
by malcev
30 Jun 2020, 06:54
Forum: Ask For Help
Topic: This length of this class is not being returned Topic is solved
Replies: 5
Views: 772

Re: This length of this class is not being returned Topic is solved

Code: Select all

respo := StrReplace(http.ResponseText, "<noscript>")
by malcev
25 Jun 2020, 11:25
Forum: Scripts and Functions
Topic: Using Google Translate to automate text translation
Replies: 122
Views: 27943

Re: Using Google Translate to automate text translation

Envy, I am sure that there already is php wrapper.
You need just google it.
by malcev
25 Jun 2020, 11:22
Forum: Scripts and Functions
Topic: Inject Javascript into Chrome
Replies: 5
Views: 2320

Re: Inject Javascript into Chrome

sancarn, Your js injection may fail.
Better use this variant
https://www.autohotkey.com/boards/viewtopic.php?f=76&t=75527
by malcev
25 Jun 2020, 08:05
Forum: Ask For Help
Topic: Why does this winhttp request fail? Topic is solved
Replies: 5
Views: 2130

Re: Why does this winhttp request fail? Topic is solved

You can try like this HTTP := ComObjCreate("WinHttp.WinHttpRequest.5.1") HTTP.Option(6) := false ; disable redirect url := "http://www.unionchurchla.org/" loop { HTTP.Open("GET", url, true) HTTP.Send() HTTP.WaitForResponse() if (HTTP.Status >= 300) and (HTTP.Status < 400) url := http.GetResponseHead...
by malcev
22 Jun 2020, 20:25
Forum: Ask For Help
Topic: Retrieve items from ComObjType Interface name "_List"
Replies: 14
Views: 4369

Re: Retrieve items from ComObjType Interface name "_List"

I think that there is bug in WebElements.ExecuteAsyncScript method. By default callback in Selenium for Vba is equal arguments[arguments.length - 1]. But with WebElements it tries to call function. driver := ComObjCreate("Selenium.ChromeDriver") driver.Get("https://www.google.com") links := driver.F...
by malcev
22 Jun 2020, 12:35
Forum: Ask For Help
Topic: Retrieve items from ComObjType Interface name "_List"
Replies: 14
Views: 4369

Re: Retrieve items from ComObjType Interface name "_List"

I think that Your changes are not correct.
by malcev
22 Jun 2020, 11:46
Forum: Ask For Help
Topic: Retrieve items from ComObjType Interface name "_List"
Replies: 14
Views: 4369

Re: Retrieve items from ComObjType Interface name "_List"

I do not understand Your JS code, why You use settimeout+callback. But if You want to get the array with the values of list from vba to ahk it can be done like this: driver := ComObjCreate("Selenium.ChromeDriver") driver.Get("https://www.google.com") links := driver.FindElementsByTag("a").ExecuteScr...
by malcev
22 Jun 2020, 08:27
Forum: Ask For Help
Topic: Retrieve items from ComObjType Interface name "_List"
Replies: 14
Views: 4369

Re: Retrieve items from ComObjType Interface name "_List"

I do not understand what You want, but get all links in Selenium You can do like this:

Code: Select all

driver := ComObjCreate("Selenium.ChromeDriver")
driver.Get("https://www.google.com")
links := driver.FindElementsByTag("a")
loop % links.count
   msgbox % links.item[A_Index].Attribute("href")
by malcev
22 Jun 2020, 06:39
Forum: Ask For Help
Topic: How to detect printing to PDF in Google Chrome?
Replies: 8
Views: 3105

Re: How to detect printing to PDF in Google Chrome?

I think the best variant in that case for autohotkey is to set event hook and use iaccessible interface to detect that new window is printing to pdf.
BoBo, command line print-to-pdf has bugs: - does not print all images.
https://www.autohotkey.com/boards/viewtopic.php?p=335405#p335405
by malcev
21 Jun 2020, 10:58
Forum: Ask For Help
Topic: How to use AHK to open and operate Chrome
Replies: 5
Views: 1540

Re: How to use AHK to open and operate Chrome

Why dont You want just use chrome.ahk?
by malcev
21 Jun 2020, 10:29
Forum: Ask For Help
Topic: How to use AHK to open and operate Chrome
Replies: 5
Views: 1540

Re: How to use AHK to open and operate Chrome

Internet Explorer's COM interface is usually easier to grasp for beginners
Gmail does not work with IE.
by malcev
20 Jun 2020, 15:17
Forum: Ask For Help
Topic: AccViewer not returning all information Topic is solved
Replies: 5
Views: 1507

Re: AccViewer not returning all information Topic is solved

Try send WM_GETOBJECT.
Also You can get sent messages with spy++.
by malcev
19 Jun 2020, 02:43
Forum: Ask For Help
Topic: Anyway to access sites like this using winhttp? Topic is solved
Replies: 6
Views: 2952

Re: Anyway to access sites like this using winhttp? Topic is solved

Add

Code: Select all

html.designMode := "on"
after

Code: Select all

html.write("<meta http-equiv=""X-UA-Compatible"" content=""IE=9"">")

Go to advanced search