substorm Posted July 13, 2012 Share Posted July 13, 2012 (edited) Hello, Could someone point me in the right direction how I would go about creating a little application that will automatically save anything copied to clipboard into a new file (possibly in RichText format)? I would like the files to be saved in a single folder using date and time in the file name (i.e. clip---2012-07-13---09:17:23.rtf). In addition, it would be great if this script could handle all types of data including images, text, tables, etc. Any suggestions will be greatly appreciated. Edited July 13, 2012 by substorm Link to comment Share on other sites More sharing options...
jdelaney Posted July 13, 2012 Share Posted July 13, 2012 (edited) string the following together however you want them to create a file name:like:$sFileName = @MDay & "-" & etc etcdon't include ":" in your file name.In the help file, search Macro Reference - Time And Date: Macro Description @MSEC Milliseconds value of clock. Range is 000 to 999 @SEC Seconds value of clock. Range is 00 to 59 @MIN Minutes value of clock. Range is 00 to 59 @HOUR Hours value of clock in 24-hour format. Range is 00 to 23 @MDAY Current day of month. Range is 01 to 31 @MON Current month. Range is 01 to 12 @YEAR Current four-digit year @WDAY Numeric day of week. Range is 1 to 7 which corresponds to Sunday through Saturday. @YDAY Current day of year. Range is 001 to 366 (or 001 to 365 if not a leap year) Edited July 13, 2012 by jdelaney IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window. Link to comment Share on other sites More sharing options...
substorm Posted July 13, 2012 Author Share Posted July 13, 2012 Thanks for your help. Are there any scripts in existance that you know that perform a similar function? I am very new to scripting and would be very helpful if I could learn by example. 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