Sign in to follow this  
Followers 0
testi

keyboard shortcut to copy a line of a text file....

5 posts in this topic

#1 ·  Posted (edited)

Hey,

Sorry for my english....

I have no knowledge in this domain, ca made 2 hours that I look for your forum, I nevertheless need something who adorned me simple in the end it is difficult, somebody could help me please?

I need a keyboard shortcut:

When i tape F12 (or another), copy to clipboard (and paste directly if possible) a random line of a text file.

It's a simple txt files with one email adress on each line, it is for inserer an e-mail address differente has every time of the web forms

$filename = "C:UserscakissimoDesktopemail.txt"

$randomLines = Random(1,1)

FileReadLine($ofile,$line)

ClipPut

Obviously this do not work, it is difficult without notion....

Edited by cakissimo

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

cakissimo,

Welcome to the AutoIt forum. :)

Could you please explain why you want to send emails to random addressees? And what kind of webforms are they? :huh:

M23

Edited by Melba23
Typo

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

I don't want to send mail ,i want to cut and paste an random email :)

I am concouriste (I don't know how translate this, i play french game or quizz online to try to win gift), and sometimes i need another e-mail address for replay, I would like a hot key to save time.

You understand ?

Edited by cakissimo

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

You have to read the forum rules (section: game automation) which can be found in the lower right corner of this page!

Edited by water

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

cakissimo,

I suggest you read the the Forum rules (the link is also at bottom right of each page) - particularly the bit about not discussing game automation - before you post again. And I would also class this as a spam tool - another no-go subject here. Thread locked. :naughty:

M23

Et pour qu'il n'y a pas de probleme de comprehension - nous ne supportons pas l'automatisation des jeux. Et en plus je considere ce que tu veux faire comme spam - un autre prohibition ici. Donc question fermé. Lit bien ces regles avant de poster encore.


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0