MrEd Posted December 9, 2012 Share Posted December 9, 2012 How would I go about putting the string below into the clipboard? As sad as it is, I like to paste this into Facebook birthday responses . I tried Chr(14) & " " & Chr(14) & " Happy Birthday To You " & Chr(14) & " " & Chr(14).♫♫ Happy Birthday To You ♫♫Ed Link to comment Share on other sites More sharing options...
JohnOne Posted December 12, 2012 Share Posted December 12, 2012 How do you even put them on the forum? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Mat Posted December 13, 2012 Share Posted December 13, 2012 (edited) Hold down Alt and type 14. ♫♫ ♫♫ That doesn't necessarily mean they are ascii char 14 (in fact they aren't, 0-20 are non-printing (Edit: Slightly in-accurate, 0-32 are control characters. That includes whitespace)). ClipPut(ChrW(0x266b)) I actually put the character in notepad, then saved as a unicode text file, then opened in a hex editor. Must be an easier way, but ah well. Edited December 13, 2012 by Mat MrEd 1 AutoIt Project Listing Link to comment Share on other sites More sharing options...
JohnOne Posted December 13, 2012 Share Posted December 13, 2012 ♫ Woohoo, also alt and 13 Trala ♪ cheers. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
MrEd Posted December 13, 2012 Author Share Posted December 13, 2012 Perhaps I should have been more specific. Initially I made an RTF file on my desktop with the string '♫♫ Happy Birthday To You ♫♫' in it. I initially got the ♫ symbol from someone else's post and have been copy and pasting it ever since. (going green :-))I use Scite as the editor for AutoIT scripts. When I attempt to paste the note into it I get a question mark instead of the note. That is why I was trying to use the chr() function. I thought it was ASCII 14 because I used Boxer's value at cursor tool to give me it's decimal value.Attempting to use the Alt-## keys in Scite does not work. I was trying to figure out how I could use AutoIT to place the musical notes into the clipboard, not how to put them manually into a document.Ed Link to comment Share on other sites More sharing options...
Mat Posted December 13, 2012 Share Posted December 13, 2012 Attempting to use the Alt-## keys in Scite does not work. I was trying to figure out how I could use AutoIT to place the musical notes into the clipboard, not how to put them manually into a document.Read the full post It's unicode character 0x266b, so use ChrW as in my last post. AutoIt Project Listing Link to comment Share on other sites More sharing options...
MrEd Posted December 13, 2012 Author Share Posted December 13, 2012 Thanks, I was caught once again by the dreaded 'Read all before doing any' trap. It is of course working beautifully. Ed 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