Jump to content

Recommended Posts

Posted (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 ("...................................."-,_,-~" . . . . (;;;;;;;B) . . . |")

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 5

ClipPut (".......................................,,-~"`` . . . . . . . . .""`~-,")

ClipPut (".......................................,,-~"^ ERROR

Error: 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 by Dry
Posted

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 (".......................................,,-~""`` . . . . . . . . .""`~-,")
Posted (edited)

Is there a way around it? AutoIt must have ways to copy a quote.

Edited by Dry
Posted (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 by kpu
  • Developers
Posted (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 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.
  :)

Posted

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.

Posted

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')

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...