Search found 834 matches

by malcev
06 Jun 2016, 05:33
Forum: Ask For Help
Topic: WinHTTPRequest error 0x80072efd
Replies: 3
Views: 1603

Re: WinHTTPRequest error 0x80072efd

I have: "Direct access (no proxy server)" on both systems.
by malcev
05 Jun 2016, 11:17
Forum: Ask For Help
Topic: ComObjCreate Selenium
Replies: 15
Views: 14824

Re: ComObjCreate Selenium

What do You want to do? If You want loop through elements with css, You can do it like this: driver:= ComObjCreate("Selenium.IEDriver") url:="https://www.google.co.kr/search?q=ahk&source=lnms&tbm=isch&sa=X" driver.Get(url) For k in driver.findElementsByCss("input[name=""q""]") { if k.IsDisplayed k.S...
by malcev
26 May 2016, 09:25
Forum: Ask For Help
Topic: ComObjCreate Selenium
Replies: 15
Views: 14824

Re: ComObjCreate Selenium

Can somebody tell how to use it with autohotkey?
What I have to download and install?
Please!
by malcev
24 Apr 2016, 12:11
Forum: Bug Reports
Topic: Arrow keys and shortcuts do not work in context menu at first time
Replies: 4
Views: 1887

Re: Arrow keys and shortcuts do not work in context menu at first time

1) If I create new script on desktop. Run this script from desktop with double click and press f1 when desktop is active - then Up and Down do not work. 2) If I create new script on desktop. Run this script from desktop with double click, activate firefox or skype window and press f1 - then Up and D...
by malcev
24 Apr 2016, 07:42
Forum: Bug Reports
Topic: Arrow keys and shortcuts do not work in context menu at first time
Replies: 4
Views: 1887

Arrow keys and shortcuts do not work in context menu at first time

If I run this code, press f1, and press "up" or "down" key - nothing happens. Menu, MyMenu, Add, Desktop, 1 Menu, MyMenu, Add, Programs, 2 Return F1:: Menu, MyMenu, Show 1: Run, %A_Desktop% Return 2: Run, %A_ProgramFiles% Return But this works all ok. DetectHiddenWindows, on WinActivate, ahk_class A...
by malcev
22 Apr 2016, 21:10
Forum: Ask For Help
Topic: Arrow keys do not work in context menu at first time
Replies: 12
Views: 2176

Re: Arrow keys do not work in context menu at first time

Here I found some information: Using shortkeys with TrackPopupMenu If you are using shortkeys in your popup menu e.g. &About, E&xit then make sure SetForegroundWindow() is called before TrackPopupMenu(). Otherwise when the popup menu is activated pressing the shortkeys (A or x) will have no impact /...
by malcev
22 Apr 2016, 12:50
Forum: Ask For Help
Topic: Arrow keys do not work in context menu at first time
Replies: 12
Views: 2176

Re: Arrow keys do not work in context menu at first time

But this code works.
I think this is bug.

Code: Select all

DetectHiddenWindows, on
WinActivate, ahk_class AutoHotkey
Menu, MyMenu, Add, Desktop, 1
Menu, MyMenu, Add, Programs, 2
Return
 
F1:: Menu, MyMenu, Show
 
1:
Run, %A_Desktop%
Return
 
2:
Run, %A_ProgramFiles%
Return
by malcev
22 Apr 2016, 11:57
Forum: Ask For Help
Topic: Arrow keys do not work in context menu at first time
Replies: 12
Views: 2176

Re: Arrow keys do not work in context menu at first time

Arrow keys do not work for me with this code: Menu, MyMenu, Add, Item1, MenuHandler Menu, MyMenu, Add, Item2, MenuHandler SetTimer, ActivateMe, -25 Menu, MyMenu, Show Return MenuHandler: MsgBox You selected %A_ThisMenuItem% from the menu %A_ThisMenu%. return ActivateMe: WinActivate, %A_ScriptName% R...
by malcev
22 Apr 2016, 08:52
Forum: Ask For Help
Topic: Arrow keys do not work in context menu at first time
Replies: 12
Views: 2176

Re: Arrow keys do not work in context menu at first time

I am running AHK 32-bit Unicode v1.1.23.03 on Win7.
I can not find this command:

Code: Select all

Menu, MyMenu, Hide
by malcev
22 Apr 2016, 06:00
Forum: Ask For Help
Topic: Arrow keys do not work in context menu at first time
Replies: 12
Views: 2176

Arrow keys do not work in context menu at first time

Menu, MyMenu, Add, Desktop, 1 Menu, MyMenu, Add, Programs, 2 Return F1:: Menu, MyMenu, Show 1: Run, %A_Desktop% Return 2: Run, %A_ProgramFiles% Return If I run this code, press f1, and press "up" or "down" key - nothing happens. But if I close this menu and press once again f1 - "up" and "down" key...
by malcev
20 Feb 2016, 19:26
Forum: Ask For Help
Topic: cloudflare bypass
Replies: 3
Views: 2083

cloudflare bypass

I just write a script which helps bypass cloudflare. I use Regex. May be is it possible to execute javascript without browser? May be from htmlfile object? Will be glad for any help or link how to do it. link := "http://forum.teamspeak.com" HTTP := ComObjCreate("WinHTTP.WinHTTPRequest.5.1") HTTP.Ope...
by malcev
18 Jan 2016, 06:40
Forum: Ask For Help
Topic: WinHTTPRequest error 0x80072efd
Replies: 3
Views: 1603

Re: WinHTTPRequest error 0x80072efd

Interesting thing that this code with WinHTTPRequest works on Win10.
But It does not work on Win7.
by malcev
17 Jan 2016, 16:17
Forum: Ask For Help
Topic: WinHTTPRequest error 0x80072efd
Replies: 3
Views: 1603

WinHTTPRequest error 0x80072efd

Why Msxml2.XMLHTTP works OK, but with WinHTTPRequest I get error 0x80072efd A connection with server could not be established? link := "https://suprnova.cc/index.php" req := ComObjCreate("Msxml2.XMLHTTP") req.open("GET", link, False) req.Send() MsgBox, % req.responseText req := ComObjCreate("WinHTTP...
by malcev
13 Jan 2016, 04:36
Forum: Ask For Help
Topic: expression question
Replies: 8
Views: 1675

Re: expression question

Thank to All!
Now I understand.
by malcev
12 Jan 2016, 14:23
Forum: Ask For Help
Topic: expression question
Replies: 8
Views: 1675

Re: expression question

But why is that situation?
May be it is bug?

Code: Select all

SetFormat, FloatFast, 0.16
A := 1.3 - 0.9
B := 1.2 - 0.8
if (A != B)
   MsgBox, %A% - %B% ; 0.4000000000000000 - 0.3999999999999999
by malcev
12 Jan 2016, 06:27
Forum: Ask For Help
Topic: expression question
Replies: 8
Views: 1675

Re: expression question

Why the first example works without setting format.
I think that it is not logical.
by malcev
12 Jan 2016, 06:01
Forum: Ask For Help
Topic: expression question
Replies: 8
Views: 1675

expression question

Why this expression works:

Code: Select all

a := 1.2 - 0.7
if (a = 0.5)
   msgbox 
But it does not work:

Code: Select all

a := 1.2 - 0.8
if (a = 0.4)
   msgbox 
by malcev
04 Jan 2016, 11:01
Forum: Ask For Help
Topic: Multiple asynchronous WinHttpRequest
Replies: 4
Views: 2446

Re: Multiple asynchronous WinHttpRequest

Thanks a lot! I did it like this: link1 := "http://forum.script-coding.com" link2 := "http://220454.lv" loop 2 { req%A_Index% := ComObjCreate("Msxml2.XMLHTTP") req%A_Index%.Open("GET",link%A_Index%,true) req%A_Index%.onreadystatechange := Func("Ready").Bind(A_Index) req%A_Index%.send() } return #Per...

Go to advanced search