Read from file and print it

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Corvin2003

Read from file and print it

26 Apr 2018, 11:56

Hello I need your help I have been trying to programm a programm that reads from a file and prints each line in to a textfield and then presses enter.
Could somebody please help me.
User avatar
divanebaba
Posts: 805
Joined: 20 Dec 2016, 03:53
Location: Diaspora

Re: Read from file and print it

27 Apr 2018, 16:26

Hi.
Look for these examples in help file, especially example 3,4 and 5.
For the next steps, your information is a bit less.
Normally you change the content of a text-field with GuiControl.
Try to code and show your script. Support should be much more effective after this steps.

To read a text-file into a variable, use Fileread.
Einfach nur ein toller Typ. :mrgreen:
gregster
Posts: 8990
Joined: 30 Sep 2013, 06:48

Re: Read from file and print it

27 Apr 2018, 16:36

Corvin, are you still trying to hack your school? I thought, we concluded that this would not be a good idea: https://autohotkey.com/boards/viewtopic ... 49#p215049

If you just want to impress your teacher, starting to learn how to program would probably more effective. I gave you already some pointers where to start.


Edit: Ah, I see now that this thread is actually a few minutes older than your other thread. Well, I guess this duplicate post is old news then...
User avatar
divanebaba
Posts: 805
Joined: 20 Dec 2016, 03:53
Location: Diaspora

Re: Read from file and print it

27 Apr 2018, 16:51

:crazy: :crazy: Thanks, Corvin2003, for spamming. :crazy: :crazy:
Einfach nur ein toller Typ. :mrgreen:

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Google [Bot], hiahkforum and 214 guests