Copy and pasting – Space is all about spreadsheets these days
As it turns out nearly everything in eve online can be Ctrl+A Ctrl+C ed. Directional scans, mineral scan results even inventory can be copied to clipboard. So I had to take advantage of this feature and hopefully make a few lives easier.
Back in the day when I wrote the material reports section, we couldn’t Ctrl+C the contents of an inventory window (at least to my knowledge anyway) so everything had to be input manually. Until I added the fleetlog uploader, then the asset grabber to streamline things. But even those are prone to error or lag waiting for API cacheduntil timers to get old.
Then recently someone asked me if they could copy the contents of the mineral scanner somehow. The logic was that if they warped an orca right into belt, do a scan then copy paste the results into some widget and get an overall value of the belt.
So on I hopped onto SISI for some experimentations and what not and what I found is that nearly all the CTRL+C data from eve is in the same format.
Item Name \t quantity \t group Name \t volume
So all I needed to do was parse the 1st 2 fields to get name and quantity. Functions that I’d already written into the site for material report fleetlogs. So all I had to do was take what I’d already written in other areas of the site to parse text fields, build up the data object to feed into the material reports section and boom, you can now Ctrl+C your inventory and mineral scans right into the material reports section.
And, I’ve added the feature to the public end as well so people not registered can use the Price check feature by checking the “show refined worth” checkbox.
So now everyone has an easy to use lookup widget to get the current refined value of their current stock or that gravi belt they just discovered without all the hassle of having to enter values in one at a time. I bet even Chribba would find this feature handy for his veld fleet ;)