Search found 49 matches

by anhnha
17 Aug 2020, 05:02
Forum: Ask For Help
Topic: How can I get direct link to the website?
Replies: 2
Views: 1223

Re: How can I get direct link to the website?

Hello,
it works if I click in the link you sent but if you copy the link and then paste it in address bar it doesn't work.
how can I delete cookie of the page with ahk?
by anhnha
16 Aug 2020, 16:21
Forum: Ask For Help
Topic: Close newly created chrome window and tab
Replies: 8
Views: 3679

Re: Close newly created chrome window and tab

So that seems like there is no way to do that.
Is it possible to close the four most newly opened microsoft edge with chrome.ahk library?
(not using ctrl + w method)
by anhnha
16 Aug 2020, 15:28
Forum: Ask For Help
Topic: How can I get direct link to the website?
Replies: 2
Views: 1223

How can I get direct link to the website?

Does anyone know how to get direct link to this page like this? First I enter the word 表 into the search box from https://www.yellowbridge.com/chinese/character-dictionary.php and then press the search button https://i.imgur.com/zDjC5dn.png Then I click the Etymology part it'll link to this: https:/...
by anhnha
16 Aug 2020, 14:25
Forum: Ask For Help
Topic: Close newly created chrome window and tab
Replies: 8
Views: 3679

Re: Close newly created chrome window and tab

Because that is not possible. I'm switching to microsoft edge. How can I close microsoft edge?
I don't want to use ctrl + w or alt + F4 because that will also close google chrome too.
by anhnha
15 Aug 2020, 11:23
Forum: Ask For Help
Topic: Close newly created chrome window and tab
Replies: 8
Views: 3679

Re: Close newly created chrome window and tab

It doesn't work for me.
I can't close it with ^1.
by anhnha
15 Aug 2020, 09:30
Forum: Ask For Help
Topic: Close newly created chrome window and tab
Replies: 8
Views: 3679

Re: Close newly created chrome window and tab

I don't want to use ctrl + w because the hotkey works for every tab so sometimes you can wrongly close tabs by mistake.
I just want to close tab or windows that is opened by the ahk program.
by anhnha
15 Aug 2020, 08:50
Forum: Ask For Help
Topic: Close newly created chrome window and tab
Replies: 8
Views: 3679

Close newly created chrome window and tab

I'm trying to close newly created chrome window and tab as below but it doesn't work. Does anyone know how to do that? #NoEnv #SingleInstance FORCE #Persistent Run chrome.exe https://www.google.com/ " --new-window ",,,OutputPID1 Sleep 200 Run chrome.exe https://www.facebook.com/ " --new-tab ",,,Outp...
by anhnha
11 Aug 2020, 23:26
Forum: Ask For Help
Topic: Can not click on a gui
Replies: 4
Views: 2038

Re: Can not click on a gui

does anyone know how to solve this?
by anhnha
10 Aug 2020, 02:18
Forum: Ask For Help
Topic: Can not click on a gui
Replies: 4
Views: 2038

Re: Can not click on a gui

Hello, in google chrome, firefox or edge you can click it like this.
https://ibb.co/jgF1NyC
However, it doesn't work on Internet Explorer so that causes my code above doesn't work.
Do you have any idea to solve this?
by anhnha
08 Aug 2020, 20:55
Forum: Ask For Help
Topic: Can not click on a gui
Replies: 4
Views: 2038

Can not click on a gui

I'm trying to make a a gui dictionary with the code below. When you select a chinese words (two characters in this case) like 打球 and then press Ctrl + 3 then it will open the dictionary page https://hvdic.thivien.net/whv/%E6%89%93%E7%90%83 In the page, because the word is not a phrase so there is a ...
by anhnha
28 Apr 2020, 01:40
Forum: Ask For Help
Topic: WB.Navigate doesn't work
Replies: 15
Views: 1049

Re: WB.Navigate doesn't work

I have NO solution but a nice browser from user 'SOFT' , Dropdownlist , navigate go back / forward and see URL ;-------- https://autohotkey.com/boards/viewtopic.php?f=5&t=6445 ----------- ;-- a browser from user 'Soft' and 'Lexikos' ;=================================================================...
by anhnha
26 Apr 2020, 23:13
Forum: Ask For Help
Topic: WB.Navigate doesn't work
Replies: 15
Views: 1049

Re: WB.Navigate doesn't work

Set FEATURE_SCRIPTURL_MITIGATION to 1.

where can I set that?
by anhnha
26 Apr 2020, 22:14
Forum: Ask For Help
Topic: WB.Navigate doesn't work
Replies: 15
Views: 1049

Re: WB.Navigate doesn't work

I'm not sure how to do what gregster said so I tried this. It works but still has some problems. vIE := FixIE() Gui Add, ActiveX, w980 h640 vWB, MyGui ; FixIE(vIE) WB.Silent := True WB.Navigate("https://dict.naver.com/linedict/#/cnen/search?query=%E8%80%81") Gui, Show,,Browsers in AHK GUI While wb.r...
by anhnha
26 Apr 2020, 21:51
Forum: Ask For Help
Topic: WB.Navigate doesn't work
Replies: 15
Views: 1049

Re: WB.Navigate doesn't work

Thanks for the replies.
I also get some 'page not found' graphics which is same as what gregster got.
https://ibb.co/N1GF1s9

With malcev code, I got 7.000000. I'm not sure what I'm supposed to do with that.
by anhnha
26 Apr 2020, 13:17
Forum: Ask For Help
Topic: WB.Navigate doesn't work
Replies: 15
Views: 1049

WB.Navigate doesn't work

Does anyone know why WB.Navigate doesn't work here? How can I solve this problem? If I copy the site link and paste it in IE it works well. However, it can't display on this gui. Gui Add, ActiveX, w980 h640 vWB, MyGui ; WB.Silent := True WB.Navigate("https://dict.naver.com/linedict/#/cnen/search?que...
by anhnha
30 Aug 2018, 04:27
Forum: Ask For Help
Topic: Text to speech for Korean
Replies: 1
Views: 374

Re: Text to speech for Korean

I installed Microsoft Speech Platform - Runtime Languages (Version 11) for Korean voice but it has not worked yet.
https://www.microsoft.com/en-us/downloa ... x?id=27224
Does anyone know how to fix this?
by anhnha
29 Aug 2018, 10:33
Forum: Ask For Help
Topic: Text to speech for Korean
Replies: 1
Views: 374

Text to speech for Korean

I am trying to create a text to speech for Korean language. However, the code below doesn't work for Korean.
Does anyone know any way to make text to speech for Korean?

Code: Select all

^1::
clipboard := ""
Send ^c
ClipWait, 0.5
say := clipboard
ComObjCreate("SAPI.SpVoice").Speak(say) ; announce text
return
by anhnha
26 Aug 2018, 13:38
Forum: Ask For Help
Topic: Improve a code to make it faster
Replies: 12
Views: 2280

Re: Improve a code to make it faster

It works great! Thanks a lot.
by anhnha
26 Aug 2018, 10:23
Forum: Ask For Help
Topic: Improve a code to make it faster
Replies: 12
Views: 2280

Re: Improve a code to make it faster

I used tmplinshi's code and sometimes I got this error below. Can anyone know how to get rid of that error? https://autohotkey.com/boards/download/file.php?mode=view&id=5696 Another problem is that it saves all words that you have consulted and with time this takes a lot of windows space as below. h...
by anhnha
25 Aug 2018, 13:40
Forum: Ask For Help
Topic: Improve a code to make it faster
Replies: 12
Views: 2280

Re: Improve a code to make it faster

Thank you. Both approaches are good. Currently tmplinshi's approach is fast enough for me. So I will save your approach for future project.

Go to advanced search