AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

v1.0.38 released: Respond to signals from remote controls
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Announcements
View previous topic :: View next topic  
Author Message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10450

PostPosted: Sat Sep 03, 2005 7:58 pm    Post subject: v1.0.38 released: Respond to signals from remote controls Reply with quote

Here are the changes for v1.0.38:

Fixed the Input command to properly capture keystrokes sent by a hotkey or hotstring for which the user is physically holding down SHIFT, CTRL, ALT, or WIN. [thanks wildfire]

Changed "GuiControl, Text" to set the text of a ComboBox's Edit control rather than new choices for its drop-list. Please update your scripts accordingly.

Improved FileMoveDir with an option to unconditionally overwrite the target folder.

Added built-in function IsLabel(), which verifies that a label exists before you Gosub it. [thanks Tekl]

Added built-in function OnMessage(), which can receive custom messages and monitor system messages.

Added a WinLIRC client script that responds to signals from a hand-held remote control. WinLIRC is an open-source utility that captures infrared signals from virtually any brand of remote control.
Back to top
View user's profile Send private message Send e-mail
corrupt



Joined: 29 Dec 2004
Posts: 2328

PostPosted: Sat Sep 03, 2005 8:38 pm    Post subject: Reply with quote

Shocked Thanks Chris Very Happy

I can think of many, many ways to use/abuse the OnMessage() function. Time to play...
Back to top
View user's profile Send private message Visit poster's website
corrupt



Joined: 29 Dec 2004
Posts: 2328

PostPosted: Sat Sep 03, 2005 8:44 pm    Post subject: Reply with quote

unfortunately I get this error when trying to install this version:
Quote:
---------------------------
NSIS Error
---------------------------
The installer you are trying to use is corrupted or incomplete.
This could be the result of a damaged disk, a failed download or a virus.

You may want to contact the author of this installer to obtain a new copy.

It may be possible to skip this check using the /NCRC command line switch
(NOT RECOMMENDED).
---------------------------
OK
---------------------------


I only get a 133kb file when downloading Sad
Back to top
View user's profile Send private message Visit poster's website
corrupt



Joined: 29 Dec 2004
Posts: 2328

PostPosted: Sat Sep 03, 2005 9:38 pm    Post subject: Reply with quote

Seems to work ok now Smile
Back to top
View user's profile Send private message Visit poster's website
Nemroth



Joined: 07 Sep 2004
Posts: 262
Location: France

PostPosted: Sat Sep 03, 2005 9:45 pm    Post subject: Reply with quote

Again a great release !!!
I asked for GetMessage I have OnMessage... A dream come true !!!
I will try this feature.
Thanks a lot, Chris !!!

PS : who knows a freeware program to list the messages received by a window ? Witch it is ?
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10450

PostPosted: Sat Sep 03, 2005 11:53 pm    Post subject: Reply with quote

Nemroth wrote:
who knows a freeware program to list the messages received by a window?
Although I've never used it, I think Winspector Spy can do it. Rajat's SendMessage Tutorial has some details.
Back to top
View user's profile Send private message Send e-mail
Nemroth



Joined: 07 Sep 2004
Posts: 262
Location: France

PostPosted: Sun Sep 04, 2005 5:32 am    Post subject: Reply with quote

Thanks Chris I think it's exactly the software I'm looking for.
Back to top
View user's profile Send private message
Rajat



Joined: 28 Mar 2004
Posts: 1715

PostPosted: Mon Sep 05, 2005 8:41 am    Post subject: Reply with quote

after quite some time i just checked my messages and found the list of changes of the latest version! ... the support for IR remote and messages are great!! thanx a lot for them!
i can think of some really nice things to start with the new toys u've thrown in ... only if i'd been on my pc!
congratulations on another brilliant release!
_________________
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10450

PostPosted: Mon Sep 05, 2005 7:09 pm    Post subject: Reply with quote

Here are the changes for v1.0.38.01:

Fixed GuiContextMenu's A_GuiControl to be non-blank when the user right-clicks a Text, Picture, or Tab control.

Changed OnMessage() to receive LPARAM as an unsigned vs. signed number. If an incoming WPARAM or LPARAM is intended to be a signed value, any negative numbers can be revealed by following this example:
Code:
if wParam > 0x7FFFFFFF
   wParam := -(0xFFFFFFFF - wParam + 1)
Back to top
View user's profile Send private message Send e-mail
jsmain



Joined: 11 Jul 2005
Posts: 81

PostPosted: Tue Sep 06, 2005 12:10 pm    Post subject: Reply with quote

It's great you added remote support, now if it could be expanded for a serial remote such as the X10 Mouse remote, I'd convert from Girder!

Currently that is what is stopping the conversion.
_________________
Jeff Main
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10450

PostPosted: Tue Sep 06, 2005 1:12 pm    Post subject: Reply with quote

WinLIRC doesn't support your serial remote? I thought it might because WinLIRC probably doesn't care what's connected to the serial port: an IR receiver or a serial remote.

There might be a way to support your remote by reading from the serial port via DllCall. But unless there's an expert in the house, that would require some research at MSDN, etc. Alternatively, perhaps parts of the WinLIRC source could be adapted to handle more types of serial devices.
Back to top
View user's profile Send private message Send e-mail
jsmain



Joined: 11 Jul 2005
Posts: 81

PostPosted: Tue Sep 06, 2005 2:26 pm    Post subject: Reply with quote

Honestly, I have not researched if the winLIRC will work or not.

I assume not as this is an RF remote, not IR. With girder I was/am using a serial plugin with a special ini file configured for this remote. The remote in question is an X10 Mouse remote model MK19A. It has the largest range of any remote I've found. I can get nearly 200 foot range with this remote. As it is also RF, it doesn't require clear line of site.
_________________
Jeff Main
Back to top
View user's profile Send private message
jsmain



Joined: 11 Jul 2005
Posts: 81

PostPosted: Tue Sep 06, 2005 2:32 pm    Post subject: Reply with quote

I might also add that Max10 is an open source control interface for this remote, and I have been decoding this for my own use.

I've been trying to decode AHK to merge the 2 for my own use, but as AHK was compiled in something greater than VC6, I have been stalled in my efforts.
_________________
Jeff Main
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10450

PostPosted: Wed Sep 07, 2005 3:17 am    Post subject: Reply with quote

Depending on exactly what Max10 is, you might be able to integrate it into a script via DllCall. If that's not feasibily, you might want to give WinLIRC a try: See if its "learn" mode can learn your mouse remote.

You might also try web searches on the combination of "X10 Mouse WinLIRC". I did one on Google and one of the first links was a patch for LIRC (not WinLIRC, but maybe useful to you anyway). It says, "Attached is a diff against current (20030926) CVS which adds a complete driver for the X10 MouseRemote RF receiver (Model JR21A) and remote (Model JR20A)." http://sourceforge.net/mailarchive/forum.php?thread_id=5651008&forum_id=5339

There might be better resources than the above, but maybe you've already been down that road.
Back to top
View user's profile Send private message Send e-mail
jsmain



Joined: 11 Jul 2005
Posts: 81

PostPosted: Wed Sep 07, 2005 12:14 pm    Post subject: Reply with quote

Thanks Chris!

I will look into it.
_________________
Jeff Main
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Announcements All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group