Topics - Nod5 [ switch to compact view ]

Pages: prev1 ... 8 9 10 11 12 [13] 14 15 16 17 18 ... 22next
61
Hi. I wasn't sure where to post this; it is mostly a howto but includes a small autohotkey script.

A process for using an android phone as a remote control for five autohotkey actions of your choice. I exemplify with remote control of the audio player Xmplay. But the autohotkey commands can be changed to whatever you want to do.

1. install premotedroid on android phone
https://market.android.com/details?id=org.pierre.remotedroid.client
2. install premote server on computer http://code.google.com/p/premotedroid

3. in premotedroid on phone, set up new wifi connection (enter your wifi details)

4. in xmplay > options > shortcuts, create some unusual keyboard combination shortcuts for 5 actions. For example:

(make the shortcuts global)
ctrl+alt+shift+y  -- current track - play pause
ctrl+alt+shift+u  -- change track - prev
ctrl+alt+shift+i  -- change track - next
ctrl+alt+shift+o  -- DSP - vol up
ctrl+alt+shift+p  -- DSP - vol down

5. install the scripting language autohotkey
http://www.autohotkey.com/

6. save the below code as premote.ahk (if you added other shortcuts keys in xmplay then first edit the sendinput code; see http://www.autohotkey.com/docs/commands/Send.htm ). The script, when running, "reroutes" all mouse clicks/scrolls to instead send the xmplay shortcuts keyboard combinations.
LBUTTON:: sendinput !^+y ;PAUSE
MBUTTON:: sendinput !^+u ;PREV
RBUTTON:: sendinput !^+i ;NEXT
WheelDown:: sendinput !^+o ;VOL DOWN
WheelUp:: sendinput !^+p ;VOL UP
^escape:: exitapp ;control esc to exit
7. run xmplay, turn on wifi, run premotedroid server, run premote.ahk (doubleclick).

Now you can control xmplay with the mouse buttons + scrollbar in the premotedroid app on your phone (scrollbar = right edge of of the screen in premotedroid).

note: to exit script and restore standard mouse button functionality on the computer do ctrl+escape on the computer keyboard. Or ctrl+rightclick the scripts trayicon and ctrl+leftclick "exit".

edit:
For control of Xmplay you can skip step 4 (hotkey setup) by switching to the code below in step 6:
LBUTTON:: PostMessage 0x41a, 80, 0,, ahk_class XMPLAY-MAIN ;PAUSE
MBUTTON:: PostMessage 0x41a, 129, 0,, ahk_class XMPLAY-MAIN ;PREV
RBUTTON:: PostMessage 0x41a, 128, 0,, ahk_class XMPLAY-MAIN ;NEXT
WheelDown:: PostMessage 0x41a, 513, 0,, ahk_class XMPLAY-MAIN ;VOL DOWN
WheelUp:: PostMessage 0x41a, 512, 0,, ahk_class XMPLAY-MAIN ;VOL UP
^escape::exitapp ;control esc to exit
LBUTTON & WheelUp:: PostMessage 0x41a, 82, 0,, ahk_class XMPLAY-MAIN ;longpress lbutton then scroll up to fast forward in track
LBUTTON & WheelDown:: PostMessage 0x41a, 83, 0,, ahk_class XMPLAY-MAIN ;longpress lbutton then scroll down to rewind in track

62
Finished Programs / DONE: FFBookmarkUnpacker
« on: May 15, 2010, 12:00 PM »
FFBookmarkUnpacker

Unpacks Firefox bookmarks.html bookmarks as .url files and subfolders.

Download and more information available here
https://www.dcmembers.com/nod5/download/ffbookmarkunpacker/


Changelog:
180330
fix datestamp bug
fix encoding issue: now uses UTF-16 for ini read/write, UTF-8 for bookmarks.html read
faster unpack with less/better regex

180222
code cleanup
.url datestamp matches bookmark.html date strings

150904
bugfixes: nested subfolders, separator lines, bookmarks without subfolders

131117
fix special characters error
set profile in ini
cleans up old bookmarks before copying

120212
fix: special characters error
fix: profile issue bypassed by letting user set path manually

100515
first version

63
Anyone good at both perl and AHK? If so, care to help translate the format.pl code in the zip here http://nod5.dcmembers.com/tiffdjvuocr.html ? I'm not getting it right.

64
Mini-Reviews by Members / Monkey Dash mini review
« on: April 05, 2010, 06:07 AM »
Monkey Dash mini review

App NameMonkey Dash (boardgame)
App URLhttp://monkeydash.co.uk/
Test System Specsthe brain of a moderate level board game player
Supported OSeshuman brains 8 yrs and up
Pricing Scheme20£ + shipping
Reviewer Donation LinkDonate to nod5, the Author
Relationship btwn. Reviewer and Product I won the game in a DC prize draw I entered after seeing the awesome Monkey Dash video


Intro:
MonkeyDash is a 2 player strategy board game. A match takes about 15 minutes. It is made by DC member Ampa, who also play tested the game here on DC: https://www.donationcoder.com/forum/index.php?topic=12523.0

I won't follow the minireview template and will only post my own impressions and scattered thoughts from playing the game. For game overview and game details, check out the video and these two resources:

Great video tutorial from the game site: http://monkeydash.co.uk/tutorial.html
Information and other reviews: http://www.boardgamegeek.com/boardgame/33605/monkey-dash



My impressions
(I've just posted the below text as a boardgamegeek review, pending approval)

I've so far played Monkey Dash around 30 times since last fall. I really enjoyed it from the get go and still do! :) Here are some of my impressions from the "phases of playing" I've gone through.

PHASE 1 -- beginner
For the first one or two matches I had a hard time grasping a working strategy. But so had my co-player - we fumbled around to equal degree. Still, I liked the game experience from the start. Simple moves and rules yet hard to calculate a multi turn strategy. Your opponent often comes up with surprising counters. After later playing against some people who are new to the game I think my experience here generalizes. You really need a few games to get to grips with the game. Good thing that the matches are short then!

PHASE 2 -- grasping strategies
Then I got a better feel for some effective strategies. I think the outcome of a match to a large degree hangs on doing the right things on the way to the monkey. Very often the one who first gets there and starts moving the monkey home will also win (but not always). Realizing this, our matches have gotten a bit longer from preventive manouvering in the middle to (with much joy!) mess up the opponents strategy. But the games have almost never come to a standstill in the middle, which I had thought they would. Pretty soon one player gets an opening, gets through to the monkey and the game focus shifts to the race back. The action cards very often break the tie here.

On maybe two occassions we've decided to implement a chess clock style "think time limit" of 10 seconds, just to loosen up a standstill-ish situation. That worked fine and was great fun in itself. I've also played two entire matches in such "turbo mode" - intense fun!

PHASE 3 -- thoughts on improvements
The rule book suggest that when playing with children (or new players) you can balance the game by different distribution of action cards. An alternative that also works is to give the child one more action point per turn. In fact, for small children it might be better to first leave out the action cards completely and focus on the basic gameplay.

I'd like a mode or version for more players. I can imagine a 4 player version using two copies of the game like this: place the two maps next to each other, monkey nest edge touching. Position crates from both games. Monkeys start in loading bays, supervisors in nests. The goal is then to move your monkey to the diagonal loading bay on the other map. (A worry is that 4 player games would be too unpredictable thereby lack the strategy element. But still I think it could be worth a try.)

I like the game box, it really stands out and fits the theme of the game well. That said, it is a bit bulky so when I bring the game somewhere I leave the box at home and use a plastic bag.

FINALLY...
The theme of the game is great and adds to the joy of playing! That's important when there are so many good games out there that compete for our time and have some similar game architecture. A quirky detail: partly influenced by the enthusiastic video tutorial on the game site we've found ourselves starting to shout "MONKEY DAAAAASH!" with the same great gusto whenever making that move! Everyone enjoys that. :D

Congrats on making a great game Ampa!

65
Bug replicated with these settings:

ALIAS:
^b (\w.*)[^\+]$
C:\aaa $$1 | dosearch +aaa $$1

SEARCH DIRECTORY:
path: C:\aaa
restrictions: -txt;url;jpg
modifier keyword: aaa

Given that then entering "b test" in FARR should match C:\aaa\test.png but not C:\aaa\test.txt . But if the user has previously launched C:\aaa\test.txt then FARR seems to ignore the set restriction and displays C:\aaa\phrase.txt among the alias matches. FARR does not include other matching .txt files (like  C:\aaa\test2.txt ) until such other files also have been launched by FARR once.

(background: the last part of the regex -- [^\+]$ -- is there to disable this alias by adding "+" to the end of the search phrase and then immediately let another alias -- ^b (\w.*)\+$  -- search the same folder but without the restrictions, using another search directory modifier. If I get this problem sorted out then that will be a very handy way to have an alias toggle between limited/full search within some folders)

Pages: prev1 ... 8 9 10 11 12 [13] 14 15 16 17 18 ... 22next
Go to full version