Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
Lista Forumurilor Pe Tematici
Mrrrr's Forum (VIEW ONLY) | Reguli | Inregistrare | Login

POZE MRRRR'S FORUM (VIEW ONLY)

Nu sunteti logat.
Nou pe simpatie:
grecoaica
Femeie
22 ani
Dambovita
cauta Barbat
22 - 45 ani
Mrrrr's Forum (VIEW ONLY) / Tutoriale si Ghiduri Utile // Tutorials and useful guides / [AUTOHOTKEY] Script to insert certain text [AHK] Moderat de TRaP, TonyTzu
Autor
Mesaj Pagini: 1
Mrrrr
AdMiN

Inregistrat: acum 17 ani
Postari: 2186
I have been using tag-wrapping AHK scripts for quite a while now, but was looking for an option to also type some text. I inserted the following lines in the tag-wrap script by davebrny (see post here:).

There's no need for other lines of script besides the following as they are standalone, but I didn't want to have multiple AHK scripts running just to have a couple of text inserting codes in them.

So, the first line of code inserts 23:59:59 when you type practically anywhere the characters t59 and press SPACE, ENTER, or TAB. Depending in what software you are, some might not work properly, but SPACE should work everywhere just fine. I need this in Excel, so any of the 3 keys works a treat.

The 2nd line of code will similarly insert some text, but on 2 lines with one empty line in between them, notice the `n`n which means new line and new line, it's like pressing ENTER, ENTER.


::t59::23:59:59 ; insert before midnight time when typing t59 and pressing TAB or ENTER or SPACE

::gmup::Game is updated to ...`n`nSavegames are located in ... ; insert the text on a total of 3 lines, 2 lines of text and 1 empty line in between


I repeat, these work as standalone lines in an AHK script, no need for other code.


_______________________________________


pus acum 6 luni
   
Pagini: 1  

Mergi la