T3k Posted June 23, 2007 Share Posted June 23, 2007 (edited) Hi!I've been reading these forums and programming in AutoIT for a while now, but I've never posted any scripts. Well, here's my first.I call it "Kinesis" (sounds cool, huh?). The idea is to let you create mouse gestures that run files, send keystrokes, etc. For instance you could draw a circle to open firefox or and S to open windows search. It's all customizable too. Give it a try, and let me know what you think!Screenshot: http://img238.imageshack.us/my.php?image=screenshotgy9.jpgSpecifically, let me know: If you find bugsFeatures you'd like to seeIn future versions I'd like to add+Context sensitivity (e.g. gestures do different things depending on the window that has focus+Detecting which direction the gesture was drawnEnjoy!Edit: Version List:Version 1.1 - 25 June 2007Fixed that darn ReadArray bug. Thanks Manadar!-T3kKinesis_1.1.zip Edited June 25, 2007 by T3k Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted June 23, 2007 Moderators Share Posted June 23, 2007 This looks pretty cool, but I get the following when I hold down the trigger key and make a gesture. Kinesis_1.0\FileIO.au3 (35) : ==> Subscript used with non-Array variable.: $xsize = StringLen($badarr[1]) $xsize = StringLen($badarr^ ERROR Link to comment Share on other sites More sharing options...
T3k Posted June 23, 2007 Author Share Posted June 23, 2007 (edited) Is this when creating a gesture, or when trying to use one after you've created it? what trigger key are you using? Also if it's after creating a gesture, what did you call the gesture? Edited June 23, 2007 by T3k Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted June 23, 2007 Moderators Share Posted June 23, 2007 (edited) Is this when creating a gesture, or when trying to use one after you've created it? what trigger key are you using? Also if it's after creating a gesture, what did you call the gesture?It's when I'm trying to use the gesture, the trigger key is "z", and I called the gesture "Firefox".Same result from both compiled and not. Edited June 23, 2007 by big_daddy Link to comment Share on other sites More sharing options...
T3k Posted June 23, 2007 Author Share Posted June 23, 2007 It's when I'm trying to use the gesture, the trigger key is "z", and I called the gesture "Firefox".Same result from both compiled and not.Weird, I can't reproduce it. Are you on XP? After you create the gesture, see if there's a "Firefox.shape" in the directory with Kinesis in it Link to comment Share on other sites More sharing options...
Sn0opy Posted June 23, 2007 Share Posted June 23, 2007 (edited) AutoIT AutoIt Could be a very usefull script for some computer-protections. After making a circle with the mouse, the computer would be unlocked etc. btw. im getting an error, too: --------------------------- AutoIt Error --------------------------- Line 0 (File "C:\Dokumente und Einstellungen\Sn0opy\Desktop\Kinesis_1.0\Kinesis_1.0\Kinesis.exe"): $xsize = StringLen($badarr[1]) $xsize = StringLen($badarr^ ERROR Error: Subscript used with non-Array variable. --------------------------- OK --------------------------- Edited June 23, 2007 by Sn0opy Link to comment Share on other sites More sharing options...
Toady Posted June 23, 2007 Share Posted June 23, 2007 This works when I am sending something, its crashes when I try to run something. I really like this!! Good job! www.itoady.com A* (A-star) Searching Algorithm - A.I. Artificial Intelligence bot path finding Link to comment Share on other sites More sharing options...
T3k Posted June 23, 2007 Author Share Posted June 23, 2007 (edited) This works when I am sending something, its crashes when I try to run something.Does it give the same error people described above, or does it say "unable to execute the external program"?If it's the latter, then the problem is with what you typed in as the program path (my error checking isn't too robust yet) Edited June 23, 2007 by T3k Link to comment Share on other sites More sharing options...
Toady Posted June 23, 2007 Share Posted June 23, 2007 Does it give the same error people described above, or does it say "unable to execute the external program"?If it's the latter, then the problem is with what you typed in as the program path (my error checking isn't too robust yet)no same error dealing with stringlen() www.itoady.com A* (A-star) Searching Algorithm - A.I. Artificial Intelligence bot path finding Link to comment Share on other sites More sharing options...
T3k Posted June 23, 2007 Author Share Posted June 23, 2007 (edited) try this version when it fails, it should pop up a messagebox instead of dying violently. tell me what that msgbox says... Also: Are you guys on XP or Vista? Edited June 25, 2007 by T3k Link to comment Share on other sites More sharing options...
jvanegmond Posted June 23, 2007 Share Posted June 23, 2007 try this versionwhen it fails, it should pop up a messagebox instead of dying violently. tell me what that msgbox says...Also: Are you guys on XP or Vista?Line 36: Error in expression. github.com/jvanegmond Link to comment Share on other sites More sharing options...
sandman Posted June 23, 2007 Share Posted June 23, 2007 Wow, this is awesome.Great job!! [center]"Yes, [our app] runs on Windows as well as Linux, but if you had a Picasso painting, would you put it in the bathroom?" -BitchX.com (IRC client)"I would change the world, but they won't give me the source code." -Unknownsite . blog . portfolio . claimidcode.is.poetry();[/center] Link to comment Share on other sites More sharing options...
Valuater Posted June 23, 2007 Share Posted June 23, 2007 Might want to take a llok at thisWebsite with pic ( source at bottom )http://lekremyelsew.googlepages.com/hotcornersForumhttp://www.autoitscript.com/forum/index.ph...st&p=3052938) Link to comment Share on other sites More sharing options...
T3k Posted June 23, 2007 Author Share Posted June 23, 2007 Might want to take a llok at thisWebsite with pic ( source at bottom )http://lekremyelsew.googlepages.com/hotcornersForumhttp://www.autoitscript.com/forum/index.ph...st&p=3052938)I might incorporate that kind of functionality into Kinesis, but it's sort of a different (but definitely related) concept Thanks for the link tho! Link to comment Share on other sites More sharing options...
T3k Posted June 23, 2007 Author Share Posted June 23, 2007 Line 36: Error in expression.doh, had a 7 not a &should work now (still can't reproduce original bug) Link to comment Share on other sites More sharing options...
AutoItKing Posted June 23, 2007 Share Posted June 23, 2007 I always loved it in Firefox, even better this way! Great job! http://www.autoitking.co.nr Site is DOWN | My deviantART | No Topic Topic - Don't do it!-------------------- UDF's/Scripts:AutoIt: [BenEditor 3.6] [_ShutDown()]PHP: [CommentScript]Web Based AutoIt: [MemStats] [HTML to AU3] [User LogIn and SignUp script] Link to comment Share on other sites More sharing options...
WeMartiansAreFriendly Posted June 23, 2007 Share Posted June 23, 2007 This is really neat! Don't bother, It's inside your monitor!------GUISetOnEvent should behave more like HotKeySet() Link to comment Share on other sites More sharing options...
RazerM Posted June 24, 2007 Share Posted June 24, 2007 This is a really great script. Great work! gestures are recognized but line 35 of FileIO gives me an error when running something My Programs:AInstall - Create a standalone installer for your programUnit Converter - Converts Length, Area, Volume, Weight, Temperature and Pressure to different unitsBinary Clock - Hours, minutes and seconds have 10 columns each to display timeAutoIt Editor - Code Editor with Syntax Highlighting.Laserix Editor & Player - Create, Edit and Play Laserix LevelsLyric Syncer - Create and use Synchronised Lyrics.Connect 4 - 2 Player Connect 4 Game (Local or Online!, Formatted Chat!!)MD5, SHA-1, SHA-256, Tiger and Whirlpool Hash Finder - Dictionary and Brute Force FindCool Text Client - Create Rendered ImageMy UDF's:GUI Enhance - Enhance your GUIs visually.IDEA File Encryption - Encrypt and decrypt files easily! File Rename - Rename files easilyRC4 Text Encryption - Encrypt text using the RC4 AlgorithmPrime Number - Check if a number is primeString Remove - remove lots of strings at onceProgress Bar - made easySound UDF - Play, Pause, Resume, Seek and Stop. Link to comment Share on other sites More sharing options...
jvanegmond Posted June 25, 2007 Share Posted June 25, 2007 To fix the error that has been pointed out multiple times before with running things, you have to replace the function: ReadFileTo2DArray. The function is inside the FileIO.au3 include. Func ReadFileTo2DArray($filename) $badarr = 0 _FileReadToArray(ØÜ [È ][ÝÉÌLÉ][ÝÈ [È ÌÍÙ[[[YK ÌÍØYBRYW'&÷"FVà ×6t&÷ÂgV÷C²gV÷C²ÂgV÷C´W'&÷"vVâW6ærôfÆU&VEFô'&ä¸ÅÕ½ÐìµÀì I1µÀìÅÕ½ÐíAɵÑÈÄèÅÕ½ÐìµÀìÀÌØí¥±¹µmp; @CRLF & "Parameter 2: $badarr" & @CRLF & @CR [È ][ÝÐÜ ][ÝÈ [ÈÜ [ÈÔ [ÈÔ [È ]÷CµF2&öw&ÒvÆÂæ÷r6Æ÷6RæBWBâvR&R6÷''f÷"FRæ6öçfVæVæ6RÅÕ½Ðì¤($%á¥Ð(%¹%($ÀÌØíåÍ¥éôU ½Õ¹ ÀÌØíÉȤ´Ä($ÀÌØíáÍ¥éôtringLen($badarr[1]) Dim $arr[$xsize] If @error Then MsgBo ][ÝÐØ[Ý[[N ][ÝÈ [È ÌÍÙ[[[YJBQÜ ÌÍÞHFòb33c·6¦RÓ FÒb33c¶6öŲb33c·6¦UÐ f÷"b33c·ÒFòb33c·Í¥é´Ä($$$ÀÌØí½±lÀÌØíåtô%¹Ð¡MÑÉ¥¹5¥ ÀÌØíÉÉlÀÌØíä¬Åt°ÀÌ;x+1, 1 )) Next $arr[$x] = $col Next Return $[[ github.com/jvanegmond Link to comment Share on other sites More sharing options...
Fabry Posted June 25, 2007 Share Posted June 25, 2007 It works now A lan chat (Multilanguage)LanMuleFile transferTank gameTank 2 an online game[center]L'esperienza è il nome che tutti danno ai propri errori.Experience is the name everyone gives to their mistakes.Oscar Wilde[/center] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now