Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Inserting current date and time
#1
This appends current contents of Notepad to a file (on a new line), but how do I insert date and time (preferably including the seconds) as well?
 
Code:
Copy      Help
int w=win("Notepad" "Notepad")
act id(15 w) 
key Ca       
_s.getsel(); _s.setclip()
_s.getclip(); _s.setfile("$Documents$\Backup.txt" -1 -1 1)
key D        
 


Messages In This Thread
Inserting current date and time - by InterestedNewbie - 03-07-2019, 03:57 AM
RE: Inserting current date and time - by Kevin - 03-07-2019, 04:07 AM
RE: Inserting current date and time - by Kevin - 03-07-2019, 06:46 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)