Search found 225 matches

by malcev
Today, 14:44
Forum: Ask For Help
Topic: How to click a button in IE with WBget
Replies: 19
Views: 518

Re: How to click a button in IE with WBget

If You see that text in input field has changed - it is does not mean that value of this input has changed.
Just use innertext instead of value and it will work with this site.
by malcev
Today, 12:39
Forum: Ask For Help
Topic: How to click a button in IE with WBget
Replies: 19
Views: 518

Re: How to click a button in IE with WBget

No. But some input fields values You can change only using innertext ot textcontent.
by malcev
Today, 12:01
Forum: Ask For Help
Topic: How to click a button in IE with WBget
Replies: 19
Views: 518

Re: How to click a button in IE with WBget

Use innertext instead of value.
by malcev
15 Oct 2019, 08:04
Forum: Ask For Help
Topic: Chrome/Selenium change the active window
Replies: 3
Views: 208

Re: Chrome/Selenium change the active window

There are no Window.Handle Property in Seleniumbasic.
It is only in documentation.
by malcev
13 Oct 2019, 03:43
Forum: Ask For Help
Topic: Mozilla Firefox: Save Image As... using s not v
Replies: 3
Views: 271

Re: Mozilla Firefox: Save Image As... using s not v

For me this code works

Code: Select all

#If WinActive("ahk_class MozillaWindowClass") && WinExist("ahk_class MozillaDropShadowWindowClass")
s:: ;mozilla firefox - save image as
SendInput, v
return
#IfWinActive
Win10 firefox 69.0.3
by malcev
11 Oct 2019, 15:56
Forum: Ask For Help
Topic: Triggering events - Internet Explorer Topic is solved
Replies: 14
Views: 678

Re: Triggering events - Internet Explorer Topic is solved

To change outerhtml You have to done like this:

Code: Select all

target := oIE.document.querySelector("INPUT[Name=""txt_nome""]")
target.value := "login"
event := oIE.document.createEvent("Event")
event.initEvent("change", true, true)
target.dispatchEvent(event)
by malcev
11 Oct 2019, 14:06
Forum: Ask For Help
Topic: Triggering events - Internet Explorer Topic is solved
Replies: 14
Views: 678

Re: Triggering events - Internet Explorer Topic is solved

Try like this:

Code: Select all

target := oIE.document.querySelector("INPUT[Name=""txt_nome""]")
target.value := "login"
event := oIE.document.createEvent("Event")
event.initEvent("input", true, true)
target.dispatchEvent(event)
by malcev
10 Oct 2019, 22:31
Forum: Ask For Help
Topic: Triggering events - Internet Explorer Topic is solved
Replies: 14
Views: 678

Re: Triggering events - Internet Explorer Topic is solved

Code: Select all

oIE.document.querySelector("INPUT[Name=""txt_nome""]").value := "login"
by malcev
09 Oct 2019, 02:56
Forum: Other Programming Languages
Topic: How to decrypt AES using OpenSSL? [Solved]
Replies: 2
Views: 243

Re: How to decrypt AES using OpenSSL?

Why dont You want to decrypt it using javascript function?
by malcev
09 Oct 2019, 02:49
Forum: Bug Reports
Topic: Firefox blocks Win-key macros from compile AHK scripts
Replies: 7
Views: 468

Re: Firefox blocks Win-key macros from compile AHK scripts

For me works compiled script in firefox 69.0.2 (64-bit), Win10 LTSC, ahk 64 bit 1.1.31.

Code: Select all

#c::send foobar
by malcev
07 Oct 2019, 14:15
Forum: Ask For Help
Topic: is there an alternative imagesearch solution on gdip lib ?
Replies: 7
Views: 444

Re: is there an alternative imagesearch solution on gdip lib ?

You can try to capture with directx::. It is much faster than through gdi. For example for win 8, win 10 with DirectX DXGI Desktop Duplication API: captures 100 screenshots and the last saves with WIC. file := "file.png" setbatchlines -1 IDXGIFactory := CreateDXGIFactory() if !IDXGIFactory { MsgBox,...
by malcev
06 Oct 2019, 16:59
Forum: Other Programming Languages
Topic: Can anyone explain what this code does?
Replies: 3
Views: 450

Re: Can anyone explain what this code does?

If You want to understand how JS works You have to read JS manual. outerHtml = ( <script type="text/javascript"> var name = "autohotkey"; var n = function() { var r; var s = new RegExp("(^| )" + name + "=([^;]*)(;|$)"); alert(s); if (r = document.cookie.match(s)) { return unescape(r[2]) } else { ret...
by malcev
05 Oct 2019, 12:11
Forum: Ask For Help
Topic: JS to AHK question Topic is solved
Replies: 21
Views: 1625

Re: JS to AHK question Topic is solved

You dont need to understand how ActiveScript class works. Here it only calculates js code. If You dont want use it You can do it with HTMLFile help. outerHtml := Winhttp.ResponseText site := "autohotkey.com" RegexMatch(outerHtml, "s)(var s,t.+?\R\s+};).+?\R\s+;(.+?)\R.+?;"" id=.+?>(.+?)<", match) ma...
by malcev
05 Oct 2019, 10:52
Forum: Ask For Help
Topic: JS to AHK question Topic is solved
Replies: 21
Views: 1625

Re: JS to AHK question Topic is solved

Algorithm is: 1) You have to beatify this long line to understand what it does. ;CdbGwcy.kVWu*=+((!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+[])+(+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![])+(+[])+(!+[]+!![]+!![]+!![])+(!+[]+!![])+(!+[]+!![]+!![]+!![])+(!+[]+!![]+!![]))/+((!+[...
by malcev
05 Oct 2019, 10:13
Forum: Ask For Help
Topic: JS to AHK question Topic is solved
Replies: 21
Views: 1625

Re: JS to AHK question Topic is solved

Do I just need to replace outerHtml to get the value of jschl-answer correctly?
I do not know Your target site.
You have to check it by Yourself.
by malcev
05 Oct 2019, 09:58
Forum: Ask For Help
Topic: JS to AHK question Topic is solved
Replies: 21
Views: 1625

Re: JS to AHK question Topic is solved

WinHttp.WinHttpRequest.5.1 is not browser, it only sends and receives data.
It does not know about scripts.
by malcev
05 Oct 2019, 09:39
Forum: Ask For Help
Topic: JS to AHK question Topic is solved
Replies: 21
Views: 1625

Re: JS to AHK question Topic is solved

Hmmm. To use my code You do not need JS skills. Just change outerhtml to answer from server and site to your site. outerHtml := Winhttp.ResponseText site := "autohotkey.com" RegexMatch(outerHtml, "s)(var s,t.+?\R\s+};).+?\R\s+;(.+?)\R.+?;"" id=.+?>(.+?)<", match) match2 := RegexReplace(match2, "s)fu...
by malcev
05 Oct 2019, 09:25
Forum: Ask For Help
Topic: JS to AHK question Topic is solved
Replies: 21
Views: 1625

Re: JS to AHK question Topic is solved

Does my code not work with Your outerHtml?

Go to advanced search