@gregster and
@telanx Thank you, that works perfectly
@gregster I have two sets of movements, as this is scripted to clear TaskBar cache. I have a bunch of games in which I use WideScreen fixer and several that I hot-swap between AHK.exe files during gameplay. On these games, there can sometimes be multiple cache icons down by the clock. Dragging the mouse over those icons, makes them vanish. At close of game and prior to ExitApp, this script moves the mouse to a position about 3" to the LH side of clock and then moves over TO the clock and clears all the icons*
I have tested the following and works like a charm, so now I need to track down all of the games that require this action and fix 'em
Code: Select all
BlockInput, On
CoordMode, Mouse, Screen
SendMode, Event
MouseMove, 1600,1060,20 ;places mouse about 3" to LH side of time display
sleep, 100
SendMode, Event
MouseMove, 1845,1060,20 ;moves mouse from above position to right next to time display
sleep, 50
SendMode, Event
MouseMove, 1000, 100 ;relocates the mouse back to center of Desktop for convenience
BlockInput, Off
*ya... I had a bit of time on my hands