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

Post a reply

Confirmation code
Enter the code exactly as it appears. All letters are case insensitive.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Script to copy data from notepad and enter it on a website

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

Post by Guest » 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

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

Post by anarion125 » 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!!!

Top