Mark100 Posted July 9, 2013 Share Posted July 9, 2013 (edited) Hi there, i know you support but don't like to do all work alone for someone, and i really tried alone but did not work. I have to send mails to certain people once a month and since this are 100+, a script would help me very much. I have one, a long time ago someone helped me, but i do not reach this person anymore. What i have is entering the topic and the text into the email mask: HotKeySet("{ESC}", "_Exit") ; Make a hotkey to exit the script ; Very important when u are using MouseMove, MouseClick etc. in a loop HotKeySet("{^}", "_work") ; Look at the Send command in the help file for keys Global $work = False ; Here we say $work = false, so the bot has stopped as default While 1 Sleep(1000) ; Use a sleep in the main loop for not getting a high CPU WEnd Func _work() $work = Not $work ; It's basicly something like: If $work = False Then $work = True ; Also visa versa While $work MouseMove(630, 485, 10);moving mouse to position MouseClick("left") Send("PI") MouseMove(630, 625, 10);moving mouse to position MouseClick("left") Send("^v") MouseMove(630, 700, 10) Mouseclick("left") Mousemove(540, 420, 10) Mouseclick("left") mousemove(630, 455, 10) Mouseclick("left") Sleep(100000000000000) WEnd EndFunc Func _Exit() Exit EndFunc Most parts of this macro i do not understand myself, i played around and googled and what it does now is entering a topic(the "PI" thing, i can edit myself then) and a text from the clipboard(the "^v"-thing) into the email-formular and it even presses the SEND-button. Only the names i have to enter myself. All i miss now is a part in this macro, that reads the names of the people from a txt.file and enters it in the first mask, above the topic-mask. The name of this file would be: C:UsersMarkusDesktoptestwi.txt Can you complete my script please ? I found another macro in your forums from a guy that had the same problem but it was the autoit-version, not autoit3..did not work, i just fetched it at the macro above. Ah well Edited July 9, 2013 by Mark100 Link to comment Share on other sites More sharing options...
water Posted July 9, 2013 Share Posted July 9, 2013 (edited) Welcome to AutoIt and the forum! Which program (which mail client) do you try to automate? Outlook by any chance? Edited July 9, 2013 by water My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
water Posted July 9, 2013 Share Posted July 9, 2013 (edited) BTW: Could you please enclose your code in [ autoit][ /autoit] (please remove the space after [) tags? This enhances readability of your code. Edited July 9, 2013 by water My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Mark100 Posted July 9, 2013 Author Share Posted July 9, 2013 Thanks for the quick answer. Code is enclosed and to answer your question: Unfortunately it's not outlook, it is only a email mask in a browsergame. It has 3 fields, the first is for the name, the second is topic and then a bigger field for the text. Link to comment Share on other sites More sharing options...
water Posted July 9, 2013 Share Posted July 9, 2013 Can you please elaborate on what you mean by "browsergame"? My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Mark100 Posted July 9, 2013 Author Share Posted July 9, 2013 Wurzelimperium is it called, you know it ? Link to comment Share on other sites More sharing options...
water Posted July 9, 2013 Share Posted July 9, 2013 Looks like you have missed to read the forum rules. A link can be found in the lower right corner of every page. We do not support "Launching, automation or script interaction with games or game servers, regardless of the game." My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Mark100 Posted July 9, 2013 Author Share Posted July 9, 2013 But its for the email, not for the game, the problem is just i need a script-part, that reads out names from a text file and inserts into a mask, i mean this mask could be anywhere. i just mentioned "game" and now all help is gone and dead ? i dont want to damage someone, just make it easier to send those mails i have to send from my guild. Link to comment Share on other sites More sharing options...
water Posted July 9, 2013 Share Posted July 9, 2013 Lets see what the Mods say. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Mark100 Posted July 9, 2013 Author Share Posted July 9, 2013 I'm to openly, ever been. the other guy just said he needs the names read from a file, finish. when will i learn it Link to comment Share on other sites More sharing options...
Mark100 Posted July 9, 2013 Author Share Posted July 9, 2013 Or if someone else reads this, we can communicate via PM, i'm not a scammer or betrayer or something. I play this game (bad word) since years and want to make this emailing easier, nothing else. Imagine i write hundreds of emails to old, lonely ladies if that helps Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted July 9, 2013 Moderators Share Posted July 9, 2013 Mark100,What are these emails that you want to send? Are they part of the game itself? Do they have an effect on how you and your "guild" play the game in real-time? M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Mark100 Posted July 9, 2013 Author Share Posted July 9, 2013 (edited) No effect on the gameplay. The emails are just communication and information, they do not help in the game or making it easier. If you got more questions to this, please ask. I just need a part added to my macro, that reads names from a .txt-file and enters them into a mask on a homepage, would be great if someone could help me in this. Edited July 9, 2013 by Mark100 Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted July 9, 2013 Moderators Share Posted July 9, 2013 Mark100,The emails are just communication and informationWhile the game is ongoing? If they do not help your "guild" in the game, why are you sending them? M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Mark100 Posted July 9, 2013 Author Share Posted July 9, 2013 (edited) Because they are communication and information. The macro does not take part in this game, it just makes communication easier, M23. Would someone mind to help me with this macro ? Edited July 9, 2013 by Mark100 Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted July 10, 2013 Moderators Share Posted July 10, 2013 mark100,Given your evasive, unhelpful replies it seems obvious to me that the emails are indeed intended to facilitate gameplay by your "guild" while the game is active. As a result, I have decided that the script falls under the "game interaction" prohibiton in the Forum rules (there is also a link at bottom right of each page) and so I am locking the thread. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted July 10, 2013 Moderators Share Posted July 10, 2013 Mark100,Telling me now that the emails are not to help your "guild" within the game is too late - your reluctance to do so earlier has resulted in the thread being locked. And your lame excuse of:I just had no interest to answer your pompous and unimportant questionsis not going to help - the next time a Mod asks you some questions I suggest you explain fully at once. However, as you also saw fit to insult me after explaining the above in a PM I am not reopening the thread. If and when you return after your short posting holiday, you can open a new thread. But if you are asked more questions about exactly what you are doing you had best not adopt the same attitude a second time. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts