You're more than a little mixed up 🙁
ALL visas for thailand sold at ALL the thai consulates in the world are done so thru the eVisa ONLINE web-portal.
That means you GO to the country of the thai consulate where you're going to apply, you log in, upload your documents, pay and then WAIT for that visa to be approved or rejected.
You do not submit documents in person to a consulate, you do not take your passport there or pick it up after
It's ALL online, if you're approved you will get an email with a PDF file in it, that IS your visa, and you print it out, show it with your passport to the officer when you stamp in and you'll get 90 days on entry
You can be ANYWHERE in Indonesia when you apply, you just have to be physically IN that country because you upload your visa/entry stamp to prove where you are and you use the address of where you're staying there as your "current address" on the eVisa application
Here's the eVisa website, make a log in / profile so that once you're in Indo, you can log in and start the application process
****************************