Script to copy data from notepad and enter it on a website

Get help with using AutoHotkey and its commands and hotkeys
anarion125

Script to copy data from notepad and enter it on a website

17 May 2018, 21:26

I need to copy a list of numbers from notepad to a set of input forms on a website.

I'm entering inventory values, each line has the name of the item and a text box to enter the amount. I can press enter go down to the next text box to enter amount.

The problem I'm having is that I can only paste into the top box. I need a script that will enter the first number, press enter, enter the second number, press enter, etc until there's nothing left in the list.

Please help save me days of work!!!
Guest

Re: Script to copy data from notepad and enter it on a website

18 May 2018, 02:36

Don't use Notepad, just use the FileRead command - https://autohotkey.com/docs/commands/FileRead.htm to read the text file into the clipboard and process that file. The first example here https://autohotkey.com/docs/misc/Clipboard.htm shows you how to do that.
Instead of the MsgBox you can use https://autohotkey.com/docs/commands/Send.htm

Return to “Ask For Help”

Who is online

Users browsing this forum: beentold, Bing [Bot], Google [Bot], paik1002, Scr1pter and 24 guests