Quantcast
Channel: AutoHotkey Community
Viewing all articles
Browse latest Browse all 579

Tutorials (v1) • Re: Profile Categories & SplashImage Tray Area

$
0
0
I figured out 1), How to "Profile reverse"

CODE:

            ChangeProfileUp:
Profile := Profile = Count ? 1 : Profile + 1
Gosub, _DisplayProfile
RETURN

ChangeProfileDown:
Profile := Profile - 1
If Profile = 0
Profile := Count
Gosub, _DisplayProfile
RETURN


The moment profile = 0, it instantly auto-changes to the last profile number, being the total count number value

Still figuring out how to make #2 possible, now that I've somewhat of a better understanding at variables / expression, legacy syntax etc.

Statistics: Posted by OrangeCat — Today, 19:58



Viewing all articles
Browse latest Browse all 579

Trending Articles