MonkeyTools
Monkey Forums/Monkey Code/MonkeyTools
| ||
MonkeyTools is a Monkey community created library with useful functions and classes which work on all targets. Version 0.0.0.0 includes: Commands: - ExitApp - ShowMouse - HideMouse - Timer class with the methods: Start, Pause, Resume, Reset, Stop. Demos: - NativeDemo.monkey - TimerDemo.monkey Download: http://www.monkeytools.net/files/MonkeyTools_0.0.0.0.rar Installation: Just extract into your MonkeyPro directory, it has a modules and bananas directory with a MonkeyTools subdirectory in each. Usage: Import MonkeyTools |
| ||
Nice to see more gaps getting filled. I'm already using your timer code. |
| ||
Hi Lumooja, could you put together a guide to creating modules? Also, if you're interested, I can help you create the documentation for MonkeyTools that can be included in the module docs folder? (I wrote the docs system) |
| ||
Hi matt, yeah those are good ideas. I'll write an article on monkeytools.net how to create modules. |
| ||
Nice! Thanks |
| ||
I added the following function CurrentDate() CurrentTime() to MonkeyTools (at the moment work only on HTML5 and FLASH) (ps: I've spent quite an hour to find an error in the ActionScript... Return instead of return...Argg!) MonkeyTools.as MonkeyTools.js MonkeyTools.java PS: you must add this to monkey\modules\mojo\native\mojo.android.monkey MonkeyTools.monkey |
| ||
I would make it return ISO date and time, then it's country independant, like 2011-03-12 19:23:32;43.231 |
| ||
in v32 I wanted to use the show/hide mouse in flash but i get an error for the 2 lines app.dead=1; getConsole().textColor=0x00000000; Once i comment them out it works ok |
| ||
Ok, thanks for the info, I will test it and update for V32. |
| ||
Hey Lumooja, Hope you dont mind, Ive added Show/Hide Mouse to our diddy module. Thanks! |
| ||
That's fine, I use also other people's code :) |