Jump to content

Swimming_Bird

Active Members
  • Posts

    150
  • Joined

  • Last visited

About Swimming_Bird

  • Birthday 11/19/1985

Profile Information

  • Location
    Washington, DC
  • WWW
    http://www.the-skynet.com

Swimming_Bird's Achievements

Prodigy

Prodigy (4/7)

0

Reputation

  1. are these functions still useable? particularly in vista? because i'm not able to get them to work.
  2. i'm not sure if that would be sufficient, but ill give it a shot, because it would have to work both ways. I may try learning the original language, it seems better for capturing things.
  3. "rocking" the mouse is when you hold down one key then click the other one. I'm looking to make a script that would detect when someone rocks their mouse in either direction and will perform an action depending on the direction (right<-left , right->left) I've found the (relatively) new function _IsPressed but the issue i was wondering if there was any sort of mouse detection that would act more like a hotkey. I'm not a fan of using such loops when i don't have to. i'm always paranoid they'll miss the action or delay the action too much. When testing it using the given example it missed my just tapping the end key, i had to hold it down instead #include <Misc.au3> $dll = DllOpen("user32.dll") While 1 Sleep ( 250 ) If _IsPressed("23", $dll) Then MsgBox(0,"_IsPressed", "End Key Pressed") ExitLoop EndIf WEnd DllClose($dll) I'd love some suggestions. This script was inspired by the Lifehacker rocker app found here source, it was written in something called Autohotkey. Thanks
  4. heh, yea sorry, i deleted the post once i realized you posted edited code
  5. ah thanks, i wasnt able to find that int function
  6. With this code i cant get, <,>,<=, or >= to work properly with this below: $Local = RegRead ( $reg , 'li-version' ) $newversion = IniRead ( $tempini , 'info' , 'version' , 0 ) MsgBox ( 0 , $Local <= $newversion , $Local & '<=' & $newversion ) the operator returns 1 if they're equal and 0 otherwise, with <,> it always returns 0. Any idea why these variables may not be formatted properly or somehting?
  7. d'oh on the +1, as far as the formatting of the directories i make sure that the \ is in it already thanks a lot
  8. I've got the following code, and it exits out w/o error before the test_ ( 'if' ) line however the statement inside the for loop works. $nuke = IniReadSection ( $tempini , 'nuke' ) If @error Then test_('test') Dim $nuke[1][1] $nuke[0][0] = 'omg' EndIf test_ ( $nuke[0][0] & ' Nuke' ) If $nuke[0][0]<>'omg' Then For $n = 1 To $nuke[0][0]+1 test_ (DirRemove ( $addondir & $nuke[$n][1] , 1 )) Next test_ ('if') EndIf i tried it w/o that if @error statement and some other things for the if nuke statement and had the same issue. the test_ function is just a simple little debugging function which outputs a msgbox. any idea why it exits out?
  9. *problem found elsewhere. delete thread
  10. <3 1 quick question. will this be pretty nasty for resources? Is there any way to trigger it to just do the select when a new window appears?
  11. I wanted to a script to wait for any window to open and then if that window is one of the windows i'm looking for have it perform a particular aciton. It's easy enogh with one window, but i dont want a different script for every window that i want to deal with. While 1 WinWait ( 'Alert' ) WinClose ( 'Alert' ) WEnd
  12. out of curiocity why was this removed? I found myself going to this part of the help file more then any other.
  13. where can i find a list of all the SID's for the different built in directories?
  14. wewt i've been after an HTTPPost command tahnks i'll play with it a bit.
  15. jesus when you quoted my text i realized just how many typeos i had. i need to focus a lot more
×
×
  • Create New...