Search found 90 matches
- 13 Jan 2023, 21:10
- Forum: Ask for Help (v1)
- Topic: Display Contents of File Whose FilePath is a variable
- Replies: 7
- Views: 483
Re: Display Contents of File Whose FilePath is a variable
Here's an example of how you can read the contents of a text file and store them in a variable without using a menu, which should avoid the "Menu item name too long" error: ; Prompt the user to select a file FileSelectFile, FilePath, , , Select a file to read, , , , , , , , , %A_Desktop% ; Read the ...
- 13 Jan 2023, 21:07
- Forum: Ask for Help (v1)
- Topic: StrGet - problem with pointer received from VBA StrPtr()
- Replies: 7
- Views: 645
Re: StrGet - problem with pointer received from VBA StrPtr()
Here is an example of how you can send a string value from a 64-bit VBA script to an AutoHotkey script using the SendMessage function with COPYDATASTRUCT: AHK script: OnMessage(WM_COPYDATA, "POPUP") POPUP(wParam, lParam) { cds := *(COPYDATASTRUCT*)lParam msg := DllCall("RtlMoveMemory", "Ptr", &msg, ...
- 13 Jan 2023, 21:04
- Forum: Ask for Help (v1)
- Topic: Any way I can Link up Midi2key and Autohotkey?
- Replies: 4
- Views: 482
Re: Any way I can Link up Midi2key and Autohotkey?
sorry thought it was a good solution
- 30 Dec 2022, 17:24
- Forum: Ask for Help (v1)
- Topic: extract text from PDF and save as text file
- Replies: 35
- Views: 3442
Re: extract text from PDF and save as text file
what happens if i make it a word document? will it work better? not sure if i can
- 30 Dec 2022, 16:19
- Forum: Ask for Help (v1)
- Topic: extract text from PDF and save as text file
- Replies: 35
- Views: 3442
Re: extract text from PDF and save as text file
When I run PDFtoText on the file you posted (with the -layout option), I get the attached text file. As you can see, it has this text in it: The Python interpreter is a program that reads and executes Python code. Depending on your environment, you might start the interpreter by clicking on an icon...
- 30 Dec 2022, 12:47
- Forum: Ask for Help (v1)
- Topic: extract text from PDF and save as text file
- Replies: 35
- Views: 3442
Re: extract text from PDF and save as text file
when the font changes it`s not copied from the pdf to the text file. so the font is not added on the text file, if it was added there would be undistinguishable text in the text file where all font is the same format when font type changes it`s not copied to the text file Screenshot_1.png python.pdf
- 30 Dec 2022, 10:03
- Forum: Ask for Help (v1)
- Topic: extract text from PDF and save as text file
- Replies: 35
- Views: 3442
Re: extract text from PDF and save as text file
if FONT type different than most font type: DO NOT COPY to file
- 30 Dec 2022, 06:27
- Forum: Ask for Help (v1)
- Topic: extract text from PDF and save as text file
- Replies: 35
- Views: 3442
Re: extract text from PDF and save as text file
Some ways to identify or work with text could be InStr , RegExMatch , RegExReplace , and SubStr . You can have a look to see whatever best fits your need. i choose RegExMatch() can you write an example dir = %A_ScriptDir% source = %dir%\python.pdf chapterFile = %dir%\source.txt app = C:\Users\user\...
- 29 Dec 2022, 18:01
- Forum: Ask for Help (v1)
- Topic: extract text from PDF and save as text file
- Replies: 35
- Views: 3442
Re: extract text from PDF and save as text file
i have it working however i need to filter some results
like ignore font type from being copied, it`s a prompt or code source i dont need this font to be copied. it should ignore this font
- 21 Dec 2022, 20:08
- Forum: Ask for Help (v1)
- Topic: google TTS neural voice for txt to mp3
- Replies: 5
- Views: 684
Re: google TTS neural voice for txt to mp3
we should gather some professional AHK programmers to create this. it`s very useful.
also, azure TTS has a character limit, and google TTS has a capcha check
also, azure TTS has a character limit, and google TTS has a capcha check
- 20 Dec 2022, 14:44
- Forum: Ask for Help (v1)
- Topic: google TTS neural voice for txt to mp3
- Replies: 5
- Views: 684
Re: google TTS neural voice for txt to mp3
it can use microsoft azure TTS because it doesnt have a capcha
plz help me, i depend on this
plz help me, i depend on this
- 19 Dec 2022, 17:59
- Forum: Ask for Help (v1)
- Topic: google TTS neural voice for txt to mp3
- Replies: 5
- Views: 684
google TTS neural voice for txt to mp3
i want to try and create a script that works with googe text to speech. it has to save txt files as mp3 files Screenshot_10.png i have a folder of txt files that i want to save as mp3 through google TTS web service it has to process al the text files and save as mp3 if google TTS doesnt work we have...
- 18 Dec 2022, 14:00
- Forum: Ask for Help (v1)
- Topic: extract text from PDF and save as text file
- Replies: 35
- Views: 3442
Re: extract text from PDF and save as text file
dir = %A_ScriptDir% source = %dir%\ahk prog source file.pdf chapterFile = %dir%\source.txt app = d:\utils\Xpdf\bin64\pdftotext.exe ; http://www.xpdfreader.com/ FileRead, chapters, %chapterFile% RunWait, %app% "%source%",, Hide ; Extract text from PDF file Loop, Read, % RegExReplace(source, "\.pdf$"...
- 17 Dec 2022, 18:45
- Forum: Ask for Help (v1)
- Topic: extract text from PDF and save as text file
- Replies: 35
- Views: 3442
Re: extract text from PDF and save as text file
Hello, I don't know that I can provide what you need, but I have suggestions for your post, to aid responders with additional details that may be helpful. 1. A text file is not a PDF file. Please clarify. 2. Attach your input file in a new reply below. 3. Attach or post one example of exactly what ...
- 17 Dec 2022, 18:24
- Forum: Ask for Help (v1)
- Topic: extract text from PDF and save as text file
- Replies: 35
- Views: 3442
extract text from PDF and save as text file
i need to create program in AHK that has 1 text file as input. Introduction Chapter 1: Learning About the computer brain The Origins of the computer brain Why Use the computer brain? Chapter 2: The Benefits and Negatives of the computer brain The Benefits of the computer brain The Negatives of the c...
- 14 Dec 2022, 08:45
- Forum: Ask for Help (v1)
- Topic: create a ahk program to give output through input
- Replies: 9
- Views: 620
- 13 Dec 2022, 16:03
- Forum: Ask for Help (v1)
- Topic: create a ahk program to give output through input
- Replies: 9
- Views: 620
Re: create a ahk program to give output through input
i need to create this program i described
it`s a request not a question
or my question would be: can someone create this?
it`s a request not a question
or my question would be: can someone create this?
- 13 Dec 2022, 15:53
- Forum: Ask for Help (v1)
- Topic: create a ahk program to give output through input
- Replies: 9
- Views: 620
- 13 Dec 2022, 13:34
- Forum: Ask for Help (v1)
- Topic: create a ahk program to give output through input
- Replies: 9
- Views: 620
create a ahk program to give output through input
the input is a text file with text lines, each text line in the text file can be a outputted result the program can receive input as text you type then you click a button and it gives a output that exists in a text file as one line it has a input field edit box where you can type a question it has a...
- 22 Oct 2022, 16:15
- Forum: Ask for Help (v1)
- Topic: copy google define definitions and write them in a text file
- Replies: 15
- Views: 732