XXHighEnd

Ultimate Audio Playback => Chatter and forum related stuff => Topic started by: AUDIODIDAKT on August 24, 2010, 06:02:26 pm



Title: Using Girder
Post by: AUDIODIDAKT on August 24, 2010, 06:02:26 pm
Ok,

Got Girder 5 going, nice program though, little complicated for a novice user, but still great.
Took me a whole day to figure out how it works (just 2%) ;)

First problem, RC doesnt work in Unattended, reason:
The action "keyboard" see left pane discription
"Send specified keystrokes to the Target Window as if from the keyboard" (See Pic)

In Unattended there is no "Target Window" to send the keystrokes to, hmmm

(http://img185.imageshack.us/img185/826/girder.jpg)

A little Guide to girder is this:

Get your remote plugin, open the view tab, select logger, select" switch to expert interface", you can drag your remote signal directly in your (pre-assigned) folders.

on the left you see the action pane, drag actions into a folder on the right,

simply put your remote signals under the actions in the folder tree.

Don't forget to save every action, its the green button in each window that opens.

See also: (start with page 102)
http://www.promixis.com/pdfs/GirderUserManual.pdf

I also made a simple XXHighEnd.gml file, to give you an idea.

Roy


Title: Re: Using Girder
Post by: PeterSt on August 24, 2010, 06:41:08 pm
Hey Roy, thank you very much for sharing this. I think I tried Girder 3 times in the past year, but always gave up within the hour.

But ... what to do with it if Unattended can't work ? ...

Thanks,
Peter


Title: Re: Using Girder
Post by: AUDIODIDAKT on August 24, 2010, 06:58:27 pm
But ... what to do with it if Unattended can't work ? ...

I dont want to give up because unattended wont work (for now),
Its fully programmable, so will see, AHK needs to be adressed in some other way.
FYI EventGhost works good with Unattended.

But Girder has more potential, but it takes many hours to get you going.

The main purpose is to create a plugin that anyone can use, without spending all those hours, just drag your remote commands to
a pre-assigned xx folder and start using it. (and updating it)
I also use MPC-hc to watch my movies, needed a remote for that too.


Title: Re: Using Girder
Post by: AUDIODIDAKT on August 24, 2010, 07:10:45 pm
And oh, keystrokes for eg. ALT-P, are adressed as:

<@><p>

 :)


Title: Re: Using Girder
Post by: PeterSt on August 24, 2010, 10:17:14 pm
Roy, it is not mandatory ("necessary") to use AutoHotkey ! If it only works ...

But indeed, if Girder needs a "window" to address, then it just can't work.

But notice that without AutoHotkey you will need to find another means to connect a program (+ parameter) to a keyboard command.

But thanks for your work and efforts ...
... and sharing !!
Peter


Title: Re: Using Girder
Post by: AUDIODIDAKT on August 25, 2010, 12:35:07 am
Nice thing about Girder is that it can do serveral functions on just 1 button depending on the Window state.

For eg. the power button on your remote layer can have 4 functions.

1 - when xx window not exists it opens XXHighEnd.exe, then blocks it, otherwise several instances of xx will open after each other.
2 - when xx window does exist it sets the focus on the window, wow, it brings it to the foreground
3 - if window is at the foreground it minimalizes it.
4 - if hold down for 2 sec it will close xx.

It can for eg. prefend xx to crash, by giving to much volume control actions after each other,
by using the Anti-Repeat function in girder.

One wish:
A "open Library Button" macro !

One suggestion:
Can the "stop" button also be the clear playlist by pushing it twice ?
Or a "Clear button" macro

For now,

Spoofing Roy


Title: Re: Using Girder
Post by: AUDIODIDAKT on August 25, 2010, 02:18:26 am
http://www.promixis.com/pdfs/GirderUserManual.pdf
Page 185, using windows calculator as example

Quote
Discovering Message Codes:

Sometimes the Command Capture Tool is not the best way of discovering message codes for
the Command Capture Action, which is why the values can be entered manually. Many
applications use standard Windows control libraries for elements such as Buttons, Check
Boxes, Radio Buttons and Text Boxes. These controls are implemented as child windows which
can be targeted with a standard set of messages.

Microsoft's online MSDN Library is a good source of information.

http://msdn.microsoft.com/library/

Search for "CreateWindow" for a list of the different standard control window classes available
to Windows developers and follow the links for the specific control type of interest (note that
Check Boxes are implemented using the BUTTON class. Follow the links through to "Button
Messages" for the information needed.

For example, a "BM_SETCHECK" message can be used to check or uncheck a checkbox control.
BM_SETCHECK is a "C" language symbol and the wParam uses one of three more symbols
"BST_CHECKED", "BST_INDETERMINATE" and "BST_UNCHECKED". We need to decode these
symbols into decimal numbers. The symbols are defined in a Windows API file called "WinUser.
h" which is shipped with most development systems, or a Google search will quickly reveal a
copy online.

Searching within the file we find "#define BM_SETCHECK 0x00F1". This is in hexadecimal, as
indicated by the "0x", and the leading zeros can be dropped giving "F1". Windows Calculator in
Scientific mode will convert this to decimal 241, which is the entry for the "Message" value.
Similarly, BST_CHECKED is decimal "1" which is the value for the wParam.

So executing Command Capture Action, targeted on a checkbox child window, with Message =
241 and wParam = 1 should result in that checkbox being checked.

Similarly, Message = 240 (BM_GETCHECK), wParam = 0, lParam = 0, using SendMessage and
specifying a Lua variable for the result will result in the Lua variable being set to 0
(BST_UNCHECKED), 1 (BST_CHECKED) or 2 (BST_INDETERMINATE).


This will not solve the Unattended problem, but this way I can adress every child function in the xx window
without using AHK.

Hook the rest on "Windows 7 Speech Recognition" hahaha


Title: Re: Using Girder
Post by: PeterSt on August 25, 2010, 09:46:24 am
Roy, the Library Button is Alt-y. Also see the Help Area after the ToolTip appeared for a button. The shortcut will be shown in there.

No shortcut for Clear. But I guess I can make one ...


Title: Re: Using Girder
Post by: PeterSt on August 25, 2010, 09:51:24 am
Quote
Hook the rest on "Windows 7 Speech Recognition" hahaha

Good idea. But start with Vol-Down.
:) :)


Title: Re: Using Girder
Post by: AUDIODIDAKT on August 25, 2010, 07:21:15 pm
Quote
Hook the rest on "Windows 7 Speech Recognition" hahaha

Good idea. But start with Vol-Down.
:) :)

See this video:
http://www.youtube.com/watch?v=NFKHAjHrc5A

Watch the voice controlled "open mouse grid" function and even better the "show Numbers" fuction

I just opened xx, with my voice, cool ;)

But not very convenient to work with.


Title: Re: Using Girder
Post by: Telstar on September 01, 2010, 07:12:43 am
I used girder 4.3.
As per your request, i'm sending my config file but note that it uses custom buttons from my irtrans remote.

T.