Merry X-Mas people! "And now, YOU TOO can have a looter that doesn't warp to empty belts needlessly!"
This will make a bookmark every 25 minutes and before it leaves a belt so that the miner doesn't miss any cans.
Requirements:
You need to install AutoHotkey (choose Unicode 32 bit).
Unzip file to "%localappdata%\MacroLab\Eve Pilot\Scripts"
Inside both AHK scripts, add the character name in the quotes to the right of the "CharacterNm" field.
Setup the Save Location hotkey to be "Cntrl+Shift+B" (in Navigation tab).
Set looter to use Corp Bookmarks
If you use more than one miner on the same OS/System, then you should:
1. Create a uniquely named copy of both AHK files for each character.
2. Within each of the AHK files created in step 1, change the name of "TimeOfLastBM" to be unique for each miner. (Once in Belt and twice in Can.)
3. Create a uniquely named copy of the MinerCorpBMV1.txt algorithm for each character, and within it change the AHK filenames to match those made in step 1.
4. In the Eve Pilot GUI, make sure the custom algorithm is used by only one miner
(I suppose I could have avoided you having to do those steps by getting a pixel color from your character's portrait, but then you'd have bookmarks named 11:25-0xFE69 and such...)
Let me know how it works, please.
Please feel free to reuse or adapt the code as you want. The screenshots that the bot uses to find GUI objects are simply PrintScreens pasted into Paint, then I select/cut/save the small picture as a PNG. If you feel like getting fancy, Paint also makes it easy to count pixel spacing. Just use the select tool to click/drag from the start to end point and the gray bar at the bottom left tells you how many X and Y pixels you've selected.
(Note: I haven't thoroughly tested this because this is an extremely dumbed down version of what I use, as I don't want to share my code-base. This is just something I threw together over 2 hours. I offer no warranty or promise that I'll keep it updated. In fact I tried to add notes within the code so that anyone can understand what's going on and can easily understand how to start their own AHK projects.)