neverbepractical: (NUMBER ONE NINJA | enstars)
miro ([personal profile] neverbepractical) wrote1980-06-12 02:04 pm

COLORS CARD NAME CHEAT



card code



hello! so, i don't know about the rest of you but sometimes my brain/eyes just can't process card names.. other times i just can't be bothered to type out card names only to get them wrong and for etcg to scream at me and mess everything up, and other times i have so many cards to process from rewards that it would take a milennia... so! i've come up with a quick and easy shortcut to combat this!

first you'll need to download notepad++. it's a really useful and light notepad program that's made for people who use code a lot. it has a function where you can make it color code your html text to make it easier to read/edit, and when you close it whatever you were working on stays there without you having to save it, which is really useful if ever you accidentally close the program in the middle of something!

anyway, once you've installed notepad++, you'll see something like this.




next we need to get some cards we've received in rewards! once we've opened the comment containing the cards we need to right click and click View Page Source (Ctrl+U).




after that, a page containing lots of code should show up. you can scroll down until you find the section containing your cards or you can press Ctrl+F and search for a section of the image code.
i usually search for 'eu/cards'. once you've found them, highlight the image links and copy them.




they will paste like this, but if you want them all on one page just click the button under the plugin menu that says 'Word Wrap' and your cards should all be in view without you needing to scroll.





next we need to set up the macro that will help to dig the card names out of all the code.
first you'll need to click the button that looks like a little red dot inside of a box that's titled 'Start Recording'. once you do that the stop button should go black like in the image below.





then highlight the first section of code before the card name, in it's entirety, and then press Ctrl+F on your keyboard. The Find & Replace menu should pop up and once you go to the Replace tab, the options should look like the second image below.





make sure that 'Wrap Around' is checked, this will ensure that the search function doesn't search from wherever your cursor is.
after that, delete everything out of the 'Replace With:' section and press Replace All. you should be left with something that looks like this.




then we need to clean up the ends and add the comma so we can input the card names into etcg.
so highlight the last few parts of the code and press Ctrl+F again to bring up the Replace menu. this time, however, we want to put a comma and a space (, ) into the 'Replace With:' section.




hit Replace All again and you should be left with nice clean card names separated by commas and spaces, ready to be input into ectg!




but wait, we're not done! you need to save your macro to make all this possible in just the press of one shortcut! hit the little black square in a box that's titled 'Stop Recording' and then hit the button at the end of that section, the one called 'Save Current Recorded Macro'.





a pop up should pop up asking you to assign a name and a shortcut to your macro. i usually go for Ctrl+Alt+Shift+1 because it doesn't interfere with anything else and it's easy to remember. once you hit OK you'll be able to the image code into notepad++ and retrieve the card names just by pressing your chosen shortcut! simple! :D





crayon code



i always struggle to count crayons and remember which color is which, so i made an extra little code to make crayons easier to read and process, too. it's not as convenient as the card code, but it helps me so i thought i'd add it here too in case it helps anyone else!




so here's our code containing all the different colors of crayon. start out the same way we did for the card code. click Start Recording, then highlight the first section of code before the crayon name and press Ctrl+F to open the Replace tab.





The 'Replace With:' section needs to be empty for this one again. Click Replace All and the start of the code should disappear.




next comes the fiddly part. select the crayon name and press Ctrl+F to open the Replace tab. once it opens you need to change the 'Replace With:' section with the actual name of the crayon.
so crayon1 = red crayon, crayon2 = orange crayon, crayon3 = yellow crayon and so on.




after you've done that for each crayon going up to crayon8, hit Replace All and you should be left with this.




go ahead and press 'Save Current Recorded Macro' again and give it a name (i picked Ctrl+Alt+Shift+2 for mine so that my two macros are next to each other) and then hit OK.
then, if you press your shortcut from earlier you'll be left with just your crayon names! this means that when i get a reward of cards and crayons i simply have to press Ctrl+Alt+Shift+1, Ctrl+Alt+Shift+2 and i'll have all my card names sorted. much easier than typing them all out one by one!




it doesn't count how many of each crayon you are getting, but if you double click the color it should highlight all appearances of that word in the document, which makes it easier to count.

i hope this is useful to someone ;v; <3