bobheart Posted June 6, 2004 Share Posted June 6, 2004 (edited) I have this and it gets the clip but I want to save it to a txt file in that folder ? with a name or number saved . C:\Program Files\Small Notes MsgBox(0, "Clipboard contains:", ClipGet()) Anyone help me out here .. Thanks . Edited June 6, 2004 by bobheart Link to comment Share on other sites More sharing options...
Developers Jos Posted June 6, 2004 Developers Share Posted June 6, 2004 filewrite ("C:\Program Files\Small Notes\save.txt",clipget()) SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
bobheart Posted June 6, 2004 Author Share Posted June 6, 2004 I got this but not sure what it means ? --------------------------- AutoIt Error --------------------------- MsgBox(0, "Clipboard contains:", ClipGet())filewrite ("C:\Program Files\Small Notes\save.txt",clipget()) MsgBox(0, "Clipboard contains:", ClipGet())^ ERROR Error: Illegal text at the end of statement (one statement per line). Thanks for the help . Link to comment Share on other sites More sharing options...
Administrators Jon Posted June 6, 2004 Administrators Share Posted June 6, 2004 You can't have two statements per line. Should be: MsgBox(0, "Clipboard contains:", ClipGet()) filewrite ("C:\Program Files\Small Notes\save.txt",clipget()) Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
bobheart Posted June 6, 2004 Author Share Posted June 6, 2004 Thanks Jon 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