Search found 657 matches

by malcev
17 Jun 2016, 17:43
Forum: Ask For Help
Topic: Post/Redirect/Get pattern
Replies: 9
Views: 2542

Re: Post/Redirect/Get pattern

E.g. This script worked fine but not for a long time it's written in AutoHotkey_H v2 The javascript function to get correct keys You can find here: https://github.com/Stichoza/google-translate-php/issues/32#issuecomment-218675898 And run it in autohotkey with this: https://autohotkey.com/boards/vie...
by malcev
17 Jun 2016, 17:04
Forum: Ask For Help
Topic: Post/Redirect/Get pattern
Replies: 9
Views: 2542

Re: Post/Redirect/Get pattern

No it does not work. I think that I have to made get request after the post request with some validation parameters to get correct answer. But how to do it? I also tried to save and send cookies. But it does not work. I mean this: Go to link: https://www.ss.lv/en/transport/cars/porsche/filter/ Inser...
by malcev
15 Jun 2016, 14:32
Forum: Ask For Help
Topic: Post/Redirect/Get pattern
Replies: 9
Views: 2542

Post/Redirect/Get pattern

I want to send post request. But I will got "405 Not Allowed" url := "https://www.ss.lv/en/transport/cars/porsche/" filter := "topt%5B8%5D%5Bmin%5D=800&topt%5B8%5D%5Bmax%5D=&topt%5B18%5D%5Bmin%5D=&topt%5B18%5D%5Bmax%5D=&topt%5B15%5D%5Bmin%5D=&topt%5B15%5D%5Bmax%5D=&opt%5B34%5D=&opt%5B35%5D=&opt%5B17...
by malcev
06 Jun 2016, 05:33
Forum: Ask For Help
Topic: WinHTTPRequest error 0x80072efd
Replies: 3
Views: 1565

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Go to advanced search