Search found 18 matches

by phucnguyenphi123
01 Nov 2020, 21:39
Forum: Scripts and Functions (v1)
Topic: Vis2 - Image to Text OCR()
Replies: 329
Views: 160451

Re: Vis2 - Image to Text OCR()

After i ran demo code, i got this error.
by phucnguyenphi123
01 Nov 2020, 21:22
Forum: Scripts and Functions (v1)
Topic: Vis2 - Image to Text OCR()
Replies: 329
Views: 160451

Re: Vis2 - Image to Text OCR()

@iseahound
hi iseahound, after i installed your zip file and did follow your instructions, i got this error. what should i do to fix this? Thanks.
by phucnguyenphi123
10 Oct 2020, 00:38
Forum: Ask for Help (v1)
Topic: Capture text from screen
Replies: 1
Views: 205

Capture text from screen

Hello guys,
I want a script that can capture a text from screen, after I select in a free-form style around the text, like picture below.
by phucnguyenphi123
29 Aug 2020, 02:43
Forum: Ask for Help (v1)
Topic: Get menu item's name
Replies: 3
Views: 590

Re: Get menu item's name

Hi, Xtra.
Thanks for your reply, so if i want to check if a menu item exits or not (base on its name), what should i have to do?
by phucnguyenphi123
28 Aug 2020, 11:58
Forum: Ask for Help (v1)
Topic: Get menu item's name
Replies: 3
Views: 590

Get menu item's name

Hello guys,
I'm learning about Menu and have a problem about it.
I have a lot of Menu item when use (Menu,name,Add, Item1/Item2..., Run) and it all runs something.
Is it possible to get the item's name when i click one?
Example, i click Item1 to go Run and screen appears a msgBox: Item1
by phucnguyenphi123
02 Aug 2020, 11:08
Forum: Ask for Help (v1)
Topic: Script that can pause-Resume-Stop Sound Topic is solved
Replies: 10
Views: 4389

Re: Script that can pause-Resume-Stop Sound Topic is solved

@phucnguyenphi123 I use Open Office , it works for me , maybe use a text file , xy.txt / Ask again in forum !h:: Clipboard = send, ^c ClipWait Fileappend, %clipboard%`r`n, %a_scriptdir%\test1.docx,UTF-8 return @Smile_ thank you for the MusicPlayer , maybe add to 'Scripts and Functions' It doen't wo...
by phucnguyenphi123
02 Aug 2020, 09:22
Forum: Ask for Help (v1)
Topic: Script that can pause-Resume-Stop Sound Topic is solved
Replies: 10
Views: 4389

Re: Script that can pause-Resume-Stop Sound Topic is solved

Hi, Smile_. I know i'm a bit annoy but can i ask you another question about a different subject? I tried to create a docx from clipboard. Clipboard = send, ^c ClipWait Fileappend, %clipboard%, C:\Users\ACER\Desktop\File\test1.docx return But when I opened the file test1.docx, it showed error: "The f...
by phucnguyenphi123
02 Aug 2020, 08:13
Forum: Ask for Help (v1)
Topic: Script that can pause-Resume-Stop Sound Topic is solved
Replies: 10
Views: 4389

Re: Script that can pause-Resume-Stop Sound Topic is solved

Little longer but it might help Sounds2PlayFolder := "D:\Music" ; Location of *.mp3 files to play. PlayList := [] Loop, Files, %Sounds2PlayFolder%\*.mp3 , R PlayList.Push(A_LoopFileFullPath) SoundID := 1 SplitPath, % PlayList[SoundID], OutFileName Gui, Add, Button, xm ym w100, Play Gui, Add, Button...
by phucnguyenphi123
02 Aug 2020, 08:12
Forum: Ask for Help (v1)
Topic: Script that can pause-Resume-Stop Sound Topic is solved
Replies: 10
Views: 4389

Re: Script that can pause-Resume-Stop Sound Topic is solved

Smile_ wrote:
31 Jul 2020, 13:56
OK, I'll see what I can do, just one question :
Can it speed up/ down the sound?
you mean advance in the time or accelerate it?
Nothing. I did it
by phucnguyenphi123
31 Jul 2020, 08:00
Forum: Ask for Help (v1)
Topic: Script that can pause-Resume-Stop Sound Topic is solved
Replies: 10
Views: 4389

Re: Script that can pause-Resume-Stop Sound Topic is solved

phucnguyenphi123 wrote:
31 Jul 2020, 06:59
Hi Smile_, thanks for this script :dance:
Can it speed up/ down the sound?
Yeah I know what I have to do. I see WMP COM obj and find out it can create a playlist. But it's important that i don't know the usage :))). Can you give me an example for creating a playlist? Thanks a lot :D
by phucnguyenphi123
31 Jul 2020, 06:59
Forum: Ask for Help (v1)
Topic: Script that can pause-Resume-Stop Sound Topic is solved
Replies: 10
Views: 4389

Re: Script that can pause-Resume-Stop Sound Topic is solved

Hallo! Try this Gui, Add, Button, xm ym w200 vPlay, Play Gui, Add, Button, xm ym w200 vPause +Hidden, Pause Gui, Add, Button, xm ym w200 vResume +Hidden, Resume Gui, Show Return ButtonPlay: Gui, Add, ActiveX, vAV, WMPLayer.OCX AV.Settings.setMode("loop" ,true) AV.Url := "D:\Music\sxs.mp3" ; Make su...
by phucnguyenphi123
30 Jul 2020, 06:59
Forum: Ask for Help (v1)
Topic: Script that can pause-Resume-Stop Sound Topic is solved
Replies: 10
Views: 4389

Script that can pause-Resume-Stop Sound Topic is solved

hello guys, I need a script that can play-pause-resume-stop a sound file .mp3/.wav I search a lot of script in many forums. But I doesn't find any scripts it works for my computer. I found a script sound.ahk from fincs, but when i ran on my computer, it didn't work. https://autohotkey.com/board/topi...
by phucnguyenphi123
30 Jul 2020, 06:38
Forum: Ask for Help (v1)
Topic: Pause audio, resume 2 seconds prior
Replies: 3
Views: 1435

Re: Pause audio, resume 2 seconds prior

Thanks, but I'd like to find an all AHK solution. Hello, PuzzledGreatly. I know it's been too long for this topic. But I'm a new AHKer and i want a soundplay script. Did you complete that script above? Can you share for me pls? i really need the script that can pause - resume - stop sound. Thanks a...
by phucnguyenphi123
30 Jul 2020, 06:29
Forum: Tips and Tricks (v1)
Topic: list of dll functions where an explicit W or A is required
Replies: 7
Views: 7192

Re: list of dll functions where an explicit W or A is required

DllCall() - Syntax & Usage | AutoHotkey https://www.autohotkey.com/docs/commands/DllCall.htm If no function can be found by the given name, an A (ANSI) or W (Unicode) suffix is automatically appended based on which version of AutoHotkey is running the script. - So, in AutoHotkey, when you use DllCa...
by phucnguyenphi123
30 Jul 2020, 06:22
Forum: Ask for Help (v1)
Topic: Soundplay not working
Replies: 14
Views: 7710

Re: Soundplay not working

well, looks like it was a bug in the soundcard settings. I switched back and forth between different output settings (in the soundcard software, NOT in the "Run, mmsys.cpl" sound properties panel). Toggling back and forth through all the available output options (speakers, headset, digital output, ...
by phucnguyenphi123
29 Jul 2020, 06:56
Forum: Scripts and Functions (v1)
Topic: Using Google Translate to automate text translation
Replies: 227
Views: 97144

Re: Using Google Translate to automate text translation

teadrinker wrote:
28 Jul 2020, 06:34
@phucnguyenphi123
If you need to translate the Clipboard contents from some language to English, this is the right way.
Thank you, i did it. Such a powerful tool for me :D
by phucnguyenphi123
29 Jul 2020, 06:53
Forum: Ask for Help (v1)
Topic: Can't get length of wav file
Replies: 6
Views: 1754

Re: Can't get length of wav file

Hello Knee. Welcome to the AutoHotkey community forums. I answered a question just like that a few days ago. The code below retrieves the length of a .wav file. FileSelectFile, WAV_FILE,,,Please select an audio file (.wav), *wav DURATION_IN_THOUSANDTHS_OF_SEC := GetAudioDuration( WAV_FILE ) DURATIO...
by phucnguyenphi123
28 Jul 2020, 04:07
Forum: Scripts and Functions (v1)
Topic: Using Google Translate to automate text translation
Replies: 227
Views: 97144

Re: Using Google Translate to automate text translation

r2997790 res := GoogleTranslate("今日",, "en") MsgBox, % res MsgBox, % RegExReplace(res, "s)\R\+.+") hi, i'm a new AHKer. I'm really impressive with your script about this translation. But because i'm new :)) so i wanna know how to do when i translate from clipboard. Is this % GoogleTranslate(clipboa...

Go to advanced search