nschmidt Posted October 9, 2014 Share Posted October 9, 2014 (edited) Hi yes, looking to make a script for example to add to domain, but copy a text file then paste it in for computer name but delete the text. In long im going to make the whole script to add to domain, but when it gets to pc name open a text copy that text and delete.Since there is gona be a bunch of lines in there then paste it into where the pc name is once thats done then the next computer the script runs on it will copy the next text line in the word file since the script deleted the one it copied. As of right now im looking to do just a copy and paste word script right now. Im having issues with just creating this function any help would be appreciated. Currently im writing this since we work on 20+ comps a day and adding them to the domain constantly is a pain would be easier to knock that out so we can do more a day. As of right now i dont have anything solid yet since im just starting on it i was just looking for some pointers or lines that can point me in the right direction for making a script to open the text file copying then pasting to "Blank destination" maybe another text file for testing purposes for right now. Edited October 9, 2014 by nschmidt Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted October 9, 2014 Moderators Share Posted October 9, 2014 nschmidt,Welcome to the AutoIt forums. You have punctuation and newline keys on your keyboard - please use them when you retype the above so it is at least readable. 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...
MikahS Posted October 9, 2014 Share Posted October 9, 2014 Post the script you're having trouble with after you retype the above Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ Link to comment Share on other sites More sharing options...
nschmidt Posted October 9, 2014 Author Share Posted October 9, 2014 (edited) Sorry i was in a rush and talking to others at the time of writing that i edited as much as i could for the time being. >.> kinda in a rush trying to get something figured out to free some time for the team to work on other stuff. Edited October 9, 2014 by nschmidt Link to comment Share on other sites More sharing options...
MikahS Posted October 9, 2014 Share Posted October 9, 2014 (edited) some functions you can look at FileOpen FileRead FileWrite FileClose GUICtrlSetData ; these are just some of the functions you'll be looking at.. Edited October 9, 2014 by MikahS Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now