IsAvailable option is here just to provide some sort of comfort. Skill is activated only if it is not on cooldown and hero has enough resource (fury, arcane power, spirit, mana, hatred or discipline).
We determine if skill is available by fetching color of pixel at skill's specified position (vertical top, horizontal middle).
Everyone can use different screen resolution so pixel coordinates may differ. You can manually enter Coord X and Coord Y for each skill or better load preset coordinates for most used screen resolutions.
Go to menu Profile - Load preset pixel coordinates - select your screen resolution.
Your Coord X, Coord Y values should be set now. If you didn't found your resolution visit another wiki page [How to get pixel coordinates manually].
Alt-tab to Diablo 3 and set set it into Fullscreen or Windowed Fullscreen mode. (game main menu - Options - Video - Display)
This is very important, because we want our 'special' pixels to be always at same position on the screen.
Now 'Start Game' with any character and ensure that all skills are available to use. Press F5.
F5 keypress will get pixel colors at all Coord X, Coord Y positons what we loaded before.
I suggest to save current settings to your new profile (menu Profile - Save profile) so you can load them later and skip all previous steps.
You are ready to go, press F1 to start automatic skill activation and F2 to stop it.
What loop basically does now is that every Timer-entered millisedonds if fetches pixel color at coordinates specified position and compares it to the color that we fetched by pressing F5. If colors match each other then skill is activated else nothing happens.
Wiki: Application Description
Wiki: Home
Wiki: How to get pixel coordinates manually