Search found 865 matches
- 10 Apr 2017, 12:50
- Forum: Scripts and Functions
- Topic: [library] TF: Text files & Variables (strings) v3.8
- Replies: 53
- Views: 24913
Re: [library] TF: Text files & Variables (strings) v3.5
I see. Thank You for your help!
- 10 Apr 2017, 07:48
- Forum: Scripts and Functions
- Topic: [library] TF: Text files & Variables (strings) v3.8
- Replies: 53
- Views: 24913
Re: [library] TF: Text files & Variables (strings) v3.5
Now I understand about second and third example. But with first one I get error: "Read Error:`npossible reason: perhaps you used ! vs ""!"" Clipboard=00000 Clipboard:=TF_TrimLeft(Clipboard,1,1,3) MsgBox % Clipboard ; shows error May be this is because I use 3.6 version? And function TF_GetData think...
- 10 Apr 2017, 07:07
- Forum: Scripts and Functions
- Topic: [library] TF: Text files & Variables (strings) v3.8
- Replies: 53
- Views: 24913
Re: [library] TF: Text files & Variables (strings) v3.5
1) Your example works: Clipboard=12345 Clipboard:=TF_TrimLeft(Clipboard,1,1,3) ; means trim the first three chars, so 123 MsgBox % Clipboard ; shows 4-5 so it works But my does not work: Clipboard=00000 Clipboard:=TF_TrimLeft(Clipboard,1,1,3) MsgBox % Clipboard ; shows error You can try it by yourse...
- 09 Apr 2017, 10:44
- Forum: Scripts and Functions
- Topic: [library] TF: Text files & Variables (strings) v3.8
- Replies: 53
- Views: 24913
Re: [library] TF: Text files & Variables (strings) v3.5
Hi. Found some bugs. 1) If I have this string in ClipBoard then I will have an error: Clipboard=00000 Clipboard:=TF_TrimLeft(Clipboard,1,1,3) MsgBox % Clipboard 2) If I have any filename (not file content) in Clipboard - I also will get error: Clipboard=c:\1.txt Clipboard:=TF_TrimLeft(Clipboard,1,1,...
- 13 Jan 2017, 14:41
- Forum: Ask For Help
- Topic: Msxml2.XMLHTTP and responseType
- Replies: 0
- Views: 468
Msxml2.XMLHTTP and responseType
Why responseType property does not work? Writes "Error - Unknown name".
https://msdn.microsoft.com/en-us/librar ... s.85).aspx
Code: Select all
req := ComObjCreate("Msxml2.XMLHTTP")
req.open("GET", "http://google.com", False)
req.responseType := "document"
req.Send()
- 19 Jun 2016, 19:01
- Forum: Ask For Help
- Topic: Post/Redirect/Get pattern
- Replies: 9
- Views: 2578
Re: Post/Redirect/Get pattern
Just understand my mistake. Forgot to WebRequest.setRequestHeader("Content-Type", "application/x-www-form-urlencoded") when send post request: url := "https://www.ss.lv/ru/transport/cars/porsche/filter/" filter := "topt%5B8%5D%5Bmin%5D=90000&topt%5B8%5D%5Bmax%5D=&topt%5B18%5D%5Bmin%5D=&topt%5B18%5D%...
- 18 Jun 2016, 07:50
- Forum: Ask For Help
- Topic: Post/Redirect/Get pattern
- Replies: 9
- Views: 2578
Re: Post/Redirect/Get pattern
Interesting to understand how this library works.
- 17 Jun 2016, 20:55
- Forum: Ask For Help
- Topic: Post/Redirect/Get pattern
- Replies: 9
- Views: 2578
Re: Post/Redirect/Get pattern
Thank You. It works. But if it is possible to get data in Python then it is possible to do the same in autohotkey?
- 17 Jun 2016, 17:43
- Forum: Ask For Help
- Topic: Post/Redirect/Get pattern
- Replies: 9
- Views: 2578
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...
- 17 Jun 2016, 17:04
- Forum: Ask For Help
- Topic: Post/Redirect/Get pattern
- Replies: 9
- Views: 2578
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...
- 15 Jun 2016, 14:32
- Forum: Ask For Help
- Topic: Post/Redirect/Get pattern
- Replies: 9
- Views: 2578
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...
- 06 Jun 2016, 05:33
- Forum: Ask For Help
- Topic: WinHTTPRequest error 0x80072efd
- Replies: 3
- Views: 1615
Re: WinHTTPRequest error 0x80072efd
I have: "Direct access (no proxy server)" on both systems.
- 05 Jun 2016, 14:06
- Forum: Ask For Help
- Topic: ComObjCreate Selenium
- Replies: 15
- Views: 14940
- 05 Jun 2016, 11:17
- Forum: Ask For Help
- Topic: ComObjCreate Selenium
- Replies: 15
- Views: 14940
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...
- 26 May 2016, 09:25
- Forum: Ask For Help
- Topic: ComObjCreate Selenium
- Replies: 15
- Views: 14940
Re: ComObjCreate Selenium
Can somebody tell how to use it with autohotkey?
What I have to download and install?
Please!
What I have to download and install?
Please!
- 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: 1890
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...
- 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: 1890
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...
- 22 Apr 2016, 21:10
- Forum: Ask For Help
- Topic: Arrow keys do not work in context menu at first time
- Replies: 12
- Views: 2189
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 /...
- 22 Apr 2016, 12:50
- Forum: Ask For Help
- Topic: Arrow keys do not work in context menu at first time
- Replies: 12
- Views: 2189
Re: Arrow keys do not work in context menu at first time
But this code works.
I think this is bug.
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
- 22 Apr 2016, 11:57
- Forum: Ask For Help
- Topic: Arrow keys do not work in context menu at first time
- Replies: 12
- Views: 2189
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...