Hi, I'm looking for somebody to help me if at all possible. Background - I'm playing a game with a macro on my mouse but cannot always see if it is activated or not. Therefore I'm looking for a very simple progress bar that can display a green color when it is activated on my 2nd monitor. It will also be nice if this bar can be moveable so that i may place it any where on the 2nd PC screen. will it also be possible for the progress barb to start with the F1 key.
I have no idea about AHK scripts but would really appreciate the assistance with this.
Progress bar
Re: Progress bar
Press F3 to toggle
Press F4 to move the gui
Try:
Press F4 to move the gui
Try:
Code: Select all
;############################### - Options (Best Performance)
#NoEnv
#MaxHotkeysPerInterval 99000000
#HotkeyInterval 99000000
#MaxThreadsPerHotkey 255
#KeyHistory 0
ListLines Off
Process, Priority, , A
SetBatchLines, -1
SetKeyDelay, 0, -1
SetMouseDelay, -1
SetDefaultMouseSpeed, 0
SetWinDelay, -1
SetWorkingDir %A_ScriptDir%
SendMode Input
;############################### - Options
1st_color := "ff0000"
2nd_color := "00ff00"
gui_name := "status"
;############################### - Code
Gui, Add, Progress, x0 y0 w100 h100 +Background%1st_color% vprogress, 0
Gui, Color, 0xffffff
Gui, Show, w100 h100, status
CoordMode, Mouse, Screen
status := 0
~$*F3::
if(status == 0)
{
GuiControl,+Background%2nd_color%, progress
status := 1
}
else if(status == 1)
{
GuiControl,+Background%1st_color%, progress
status := 0
}
return
~$*F4::
while(GetKeyState("F4", "p"))
{
MouseGetPos, x, y
WinMove, %gui_name%,, %x%, %y%
}
return
Who is online
Users browsing this forum: Theda and 138 guests