Dry Posted November 29, 2005 Share Posted November 29, 2005 (edited) Sleep (5000)AutoItSetOption)("SendKeyDelay", 10)ClipPut ("................................................_,,,,,,,,,,,,,_")Send ("{Enter}^v{Enter}")ClipPut (".......................................,,-~"`` . . . . . . . . .""`~-,")Send ("{Enter}^v{Enter}")ClipPut (".............................._,-~""`. . . . . . . . . . . . . . . . . `"-,")Send ("{Enter}^v{Enter}")ClipPut ("...........................,-'` . . . . . . . . . . . . . . . . . . . . . . . "-,")Send ("{Enter}^v{Enter}")ClipPut ("..........................'\ . . . . . . . . . . . . . . . . . . . . . . . . . .|")Send ("{Enter}^v{Enter}")ClipPut ("...........................'\, . . . . . . . . . . . . . . . . . . . . . . . . .|'")Send ("{Enter}^v{Enter}")ClipPut ("............................'\, .. . . . . . . . . . . . . . . . . . . . . . . |'")Send ("{Enter}^v{Enter}")ClipPut ("..............................'\ . . . . . . . . . . . . . . . . . . . . . . ./'")Send ("{Enter}^v{Enter}")ClipPut ("...............................'\, . . . . . . . . . . . . . . . . . . . . /'")Send ("{Enter}^v{Enter}")ClipPut ("................................."-, . . . . . _,--~~,','-'-','~~--,,./'")Send ("{Enter}^v{Enter}")ClipPut ("...................................."-,_,-~" . . . . (;;;;;;; . . . |")Send ("{Enter}^v{Enter}")ClipPut (".......................................'\ . . . . . . . ."-,_,-" . . . .|")Send ("{Enter}^v{Enter}")ClipPut ("........................................|, . . . _,,-----~~~~--,,,_|")Send ("{Enter}^v{Enter}")ClipPut ("........................................'|,-~'"``. ,,---,, . . . . . . . "~-,,")Send ("{Enter}^v{Enter}")ClipPut ("......................................,-' . . . . .( . . .) . . . . . . ,-```- .'-,")Send ("{Enter}^v{Enter}")ClipPut ("...................................,-' . . . . . . .````` . . . . . . . ."----' . .''\,")Send ("{Enter}^v{Enter}")ClipPut (".................................,/' . . . . . . . . . . . . . . . . . . . . . . . . \........,__,,-~"""-,")Send ("{Enter}^v{Enter}")ClipPut ("............,--,_ ..............'| . . . . . . . ..~'--,_ . . . . . . .,- . . . . . .|....,-' . . . . . . ./")Send ("{Enter}^v{Enter}")ClipPut (".,~"""~'"` . . .""'~-,_ .....'\, . . . . . . . . . '\, ."~----~','-' . . . . . . .'|,-'` . . . . . . .,/'")Send ("{Enter}^v{Enter}")ClipPut (".'\, . . . . . . . . . . . ."~-,_ '\, . . . . . . . . . '\,__,,-~" . . . . . . . ./. . . . . . . . ,/'")Send ("{Enter}^v{Enter}")ClipPut ("..."~-,,_ . . . . . . . . . . . ."-' ',~-,,_ . . . . . . . . . . . . . . . . .,-' . . . . . . . ,-'")Send ("{Enter}^v{Enter}")ClipPut ("............"""~,, . . . . . . . . . . '-, . ."~~--,,,_ . _,,,,,,_ . .,,~" . . . . . . .,-'")Send ("{Enter}^v{Enter}")ClipPut ("...................."~-, . . . . . . . . ..`"~,,_ . . . ```( . .. . ) . . . ) . . . . . ,~"")Send ("{Enter}^v{Enter}")ClipPut (".........................."~-, . . . . . . . . . . "~---,,,/. .,- ./ .--,~" . . . . ,/'")Send ("{Enter}^v{Enter}")ClipPut ("...............................''-, . . . . . . . . . . . . .'| . . . \'\ . . '\, . . . .,/'")Send ("{Enter}^v{Enter}")ClipPut ("..................................'\, . . . . . . . . . . . .| . . . .').\. . .'\ . . ,/'")Send ("{Enter}^v{Enter}")ClipPut ("....................................`\ . . . . . . . . . . . \, . .,-' . .'-, . ) . /'")Send ("{Enter}^v{Enter}")ClipPut ("......................................') . . . . . . . . . . . "-"` . . . . '-" . /")Send ("{Enter}^v{Enter}")ClipPut ("......................................| . . . . . . . . . . . . . . . . . .. . . \")Send ("{Enter}^v{Enter}")ClipPut (".....................................,| . . . . . . . . . . . . . . . . . . . . ..\")Send ("{Enter}^v{Enter}")ClipPut ("....................................,|' . . . . . . . . . . . . . . . . . . . . . . |")Send ("{Enter}^v{Enter}")ClipPut ("...................................,/ . . . . . . . . . . . . . . . . . . .. . . ,/")Send ("{Enter}^v{Enter}")ClipPut ("..................................,/ . . . . . . . . . . . . . . . . .. . . . .,/'")Send ("{Enter}^v{Enter}")ClipPut (".................................,/'. . . . . . . . . . . . . . . . . . . . .,/'")Send ("{Enter}^v{Enter}")ClipPut ("................................,/'. . . . . . . . . . . . . . . . . . . ..,/'")Send ("{Enter}^v{Enter}")ClipPut ("..............................,/'. . . . . . . . . . . . . . . . . . .. .,/'")Send ("{Enter}^v{Enter}")ClipPut (".............................,/'. . . . . . . . . . . . . . . . . . . .,/'")Send ("{Enter}^v{Enter}")ClipPut ("............................,/'. . . . . . . . . . ._ . . . . . . . ,/'")Send ("{Enter}^v{Enter}")ClipPut ("...........................,/'. . . . . . . . .,-~".|. . . . . . .,/'")Send ("{Enter}^v{Enter}")ClipPut ("..........................,/ . . . . . . . ,~" . . '| . . .. . ..,/'")Send ("{Enter}^v{Enter}")ClipPut ("..........................| . . . . . . .,-' . . . . .'\, . .. . ,/'")Send ("{Enter}^v{Enter}")ClipPut ("..........................."~,, . .,,~" . . . . . . ."~,_,-'")Send ("{Enter}^v{Enter}")I get an error:Line 5ClipPut (".......................................,,-~"`` . . . . . . . . .""`~-,")ClipPut (".......................................,,-~"^ ERRORError: Unable to parse line.This happens to other ASCII art too. It really is just copy and paste so it should be working 100% of the time. I think it has something to do with the characters in the ClipPut but I really don't know what. Thanks in advance. Edited November 29, 2005 by Dry Link to comment Share on other sites More sharing options...
kpu Posted November 29, 2005 Share Posted November 29, 2005 I'm pretty sure it's because of the quotes. "" '' You would need to add another quote in a couple places. It of course would reck the art work. ClipPut (".......................................,,-~""`` . . . . . . . . .""`~-,") http://www.kpunderground.com Link to comment Share on other sites More sharing options...
Dry Posted November 29, 2005 Author Share Posted November 29, 2005 (edited) Is there a way around it? AutoIt must have ways to copy a quote. Edited November 29, 2005 by Dry Link to comment Share on other sites More sharing options...
kpu Posted November 29, 2005 Share Posted November 29, 2005 (edited) Is there a way around it? AutoIt must have ways to copy a quote. Sure, just use ' instead of "" on the outsides... like this. Sorry, I should have pointed this out before... brain shut down from the storm. ClipPut ('".......................................,,-~"`` . . . . . . . . .""`~-,"') Or like this ClipPut ('.......................................,,-~"`` . . . . . . . . .""`~-,') Edited November 29, 2005 by kpu http://www.kpunderground.com Link to comment Share on other sites More sharing options...
Developers Jos Posted November 29, 2005 Developers Share Posted November 29, 2005 (edited) Is there a way around it? AutoIt must have ways to copy a quote.Double the " inside "" to get a single " """" = " see : http://www.autoitscript.com/autoit3/docs/i...g_datatypes.htm Edited November 29, 2005 by JdeB 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...
Dry Posted November 29, 2005 Author Share Posted November 29, 2005 Thanks to both of you. I think I'll keep the double quotes for the clipput and change all my double quotes of the art to single. Link to comment Share on other sites More sharing options...
LxP Posted November 30, 2005 Share Posted November 30, 2005 Welcome to the forums! Have you considered storing the art in a separate file and then doing this: Local $File = 'C:\TheCookieMan.txt' Local $Art = FileRead($File, FileGetSize($File)) ClipPut($Art) Send('^v') 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