4rtzel / poe-archnemesis-scanner

Tool for Path of Exile game to automatically scan Archemesis inventory and display related information
Apache License 2.0
64 stars 25 forks source link

Feature request - Ability to copy the output of the tool easily #11

Open sozemego opened 2 years ago

sozemego commented 2 years ago

Hi,

I'm loving this tool so far! It works great and is extremely helpful for me.

I'd like to request a feature (a button perhaps) that would copy the output of the tool to clipboard (e.g. {'Abberath-Touched': [(551, 208)], 'Brine King-Touched': [(551, 62)], 'Storm Strider': [(187, 62)]}. I want to parse that output later (to track recipe progress), but now I have to select it from the window each time and it sometimes causes scanning to hang.

Thank you in advance.

4rtzel commented 2 years ago

That's an unusual request because console output it not really meant to be used..

I will think about it, but in the meantime you could try using some powershell features to capture it (I'm not that familiar with powershell so can't really give you the exact solution). Something like Clip may work:

poe_arch_scanner.exe | Clip
sozemego commented 2 years ago

I realize it's a pretty selfish request, most people would probably not use it. I noticed by accident the console output is quite useful in providing the list of all the organs. Redirecting output to 'clip' works. For some reason it only copies the output on exit, but I'll deal with that, thank you for setting me in the right direction :)