Jump to content

sas

Members
  • Posts

    7
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

sas's Achievements

Seeker

Seeker (1/7)

2

Reputation

  1. FFColorCount doesn't seem to work with exclusion areas, I'm getting the same result for different exclusion area combinations, is it a bug or a feature? FFSetWnd($wHandle) FFSnapShot() For $col = 1 To $Height Step 1 For $row = 1 To $Width Step 1 $currentTileLeft = Round($leftTilePos + ($row-1) *$tilePixelSize,0) + $margin $currentTileTop = Round($upTilePos + ($col-1) *$tilePixelSize,0) + $margin $currentTileRight = Round($leftTilePos + $row *$tilePixelSize,0) - $margin $currentTileBottom = Round($upTilePos + $col*$tilePixelSize,0) - $margin FFResetExcludedAreas( ) FFAddExcludedArea( 0, 0, @DesktopWidth, $currentTileTop ) FFAddExcludedArea( 0, $currentTileTop, $currentTileLeft, $currentTileBottom ) FFAddExcludedArea( $currentTileRight, $currentTileTop, @DesktopWidth, $currentTileBottom ) FFAddExcludedArea( 0, $currentTileBottom, @DesktopWidth, @DesktopHeight ) $tileValues[$col][$row] = FFColorCount($color,$variation,False) Next Next
  2. Hi! Thanks again for the help. Made some adjustments and added features. Works great. Do I have your permission to post my modified code online?
  3. By the way, there's something special about the audio on this site (only this site so far). The script seems to register something even though there's no music playing. Very peculiar!
  4. The mods are minor and I've already added a lot of my code, so I'll just post the differences: The initialization: Local $aApp[0]Should be changed to: Local $aApp[1][1](For the compiler) And then the condition: If IsArray($aApp) thenShould be changed to: If (UBound($aApp)>1) thenP.S. I love Autoit!!!
  5. Thanks for the detailed response! After some minor modifications it seems to work like a charm!
  6. I'm kind of new to this, can you please elaborate on the subject? From what I found online, I only see that it enables one to see various params such as volume level. Do you know if "IAudioSessionEvents" and "OnStateChanged" is what I'm looking for? I tried looking at winmm.dll functions with no success.
  7. Is there a way of detecting that the PC's sound card is being used? I want to trigger an event each time audio is played.
×
×
  • Create New...