AutoHotkey Community

It is currently May 27th, 2012, 6:58 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 398 posts ]  Go to page Previous  1 ... 21, 22, 23, 24, 25, 26, 27  Next
Author Message
 Post subject: Re: running out of ideas
PostPosted: October 3rd, 2011, 7:08 pm 
Offline

Joined: January 15th, 2007, 2:37 pm
Posts: 573
tomino wrote:
Hello, I've tried to implement the multimedia buttons on my wireless keyboard into AHK but I just can't get it working.
What am I doing wrong?


Have you tried using hotkeys for your multimedia keys instead of AHKHID?
Code:
Media_Stop:: VLCHTTP_Stop()
Media_Play_Pause:: VLCHTTP_Pause()

_________________
Links to my scripts.
---------------------------------------------------------------------------------------------

I too have an app for that... and that... and that, and that, and that.
It's called a web browser.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: running out of ideas
PostPosted: October 3rd, 2011, 9:10 pm 
Offline

Joined: October 3rd, 2011, 5:00 pm
Posts: 3
specter333 wrote:
Have you tried using hotkeys for your multimedia keys instead of AHKHID?


Thanks for the advice. Yes, one or two of them work this way, but unfortunately none of the five supposedly programmable buttons. No "Launch_App1::", no scan codes, nothing. I can only entitle them to launch executable applications by means of the manufacturer's software, which I'd rather have turned off. I cannot assign hotkeys to them. One way would be to make them run slightly different AHK scripts, but that's far from an elegant solution.

I was very happy to find this HID script and being able to listen to the keyboard's outputs with it, as the KeybdHook is totally blind. Now that I finally have the codes of those buttons, I'm not able to use them. It's very frustrating.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 3rd, 2011, 9:41 pm 
Offline

Joined: January 15th, 2007, 2:37 pm
Posts: 573
Edited, removed bad advice.

I was thinking the script your using is not for keyboards or mice, which it's not, but using this script, Other HID Devices, which is the original examples rolled into an easier to use gui, I was able to capture all the special keys on my keyboard.

Another possibility is that AHKHID does not see all the available HID devices. It only looks for the basic devices. I have a remote that has some keys seen as advanced devices that AHKHID cannot see.

_________________
Links to my scripts.
---------------------------------------------------------------------------------------------

I too have an app for that... and that... and that, and that, and that.
It's called a web browser.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 4th, 2011, 12:57 pm 
Offline

Joined: October 3rd, 2011, 5:00 pm
Posts: 3
That's a very nice work! Unfortunately your catcher didn't notice those buttons, however AHKHID did. I can't figure out why, I'm not that good with these scripts.

After looking for a different approach I've stumbled upon this: http://www.autohotkey.com/forum/topic39574.html&highlight=raw+input+devices

That script works perfectly. It detects all the devices and buttons, but most importantly I've been able to use the data thanks to the guy's example.

btw, your signature is really funny


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 12th, 2011, 12:47 pm 
Offline

Joined: October 29th, 2004, 3:35 pm
Posts: 56
Hi, I want to do the reverse use: make Autohotkey perform a HID device button press. Is it possible????


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 12th, 2011, 5:46 pm 
Offline

Joined: January 15th, 2007, 2:37 pm
Posts: 573
shader wrote:
Hi, I want to do the reverse use: make Autohotkey perform a HID device button press. Is it possible????

I'm not understanding what your wanting to accomplish. Can you give some more details?

_________________
Links to my scripts.
---------------------------------------------------------------------------------------------

I too have an app for that... and that... and that, and that, and that.
It's called a web browser.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 12th, 2011, 7:37 pm 
Offline

Joined: October 29th, 2004, 3:35 pm
Posts: 56
Quote:
I'm not understanding what your wanting to accomplish. Can you give some more details?

I want to send the same signal a Wacom tablet sends pushing one of its buttons. The function I want to use is "Display toggle" to switch between monitors, but seems that it only can be mapped to the tablet buttons.
Hope you understand. Thanks.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 12th, 2011, 10:58 pm 
Offline

Joined: January 15th, 2007, 2:37 pm
Posts: 573
shader wrote:
I want to send the same signal a Wacom tablet sends pushing one of its buttons. The function I want to use is "Display toggle" to switch between monitors, but seems that it only can be mapped to the tablet buttons.

I understand, I have a tablet myself but it's in the car at the moment so I'll look later tonight. However this won't be accomplished through AHKHID but I'm sure it can be done.

I think you may be able to find some of the button commands in the windows folder as some of them on my tablet are little exe files that do one function. Look through your windows folder and see if there is a exe for what your wanting to do.

What tablet and OS do you have?

_________________
Links to my scripts.
---------------------------------------------------------------------------------------------

I too have an app for that... and that... and that, and that, and that.
It's called a web browser.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 12th, 2011, 11:51 pm 
Offline

Joined: October 29th, 2004, 3:35 pm
Posts: 56
I can't find any exe files related to the Wacom in my windows directory. I've an Intuos3 a5. Hope you can find something :).


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 13th, 2011, 8:10 am 
Offline

Joined: January 15th, 2007, 2:37 pm
Posts: 573
Different type of tablet, I thought you meant tablet pc. I use an old HP TC1100, it was cheap, which also uses a Wacom stylus and I have written AHKHID scripts to make my stylus more functional.

However what your wanting to do should be possible but again I don't think AHKHID is what you need. What you would need is to find what your USB tablet is controlling then you should be able to figure out how to control it without the tablet, of course I'm sure that's what your were asking in the first place. The answer will be in the tablets software or at least it's driver.

Have you asked this question in the help section. You may be more likely to get a helpful answer there.

Edit, just looked at the Intuos3 user manual. I assume you mean the Express Keys are what your talking about. It looks to me they can only send keyboard keys or run apps so the tablet is not changing the screen mode, only telling another app to do it.

What is the button your talking about assigned to in the tablets control panel?

_________________
Links to my scripts.
---------------------------------------------------------------------------------------------

I too have an app for that... and that... and that, and that, and that.
It's called a web browser.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 13th, 2011, 1:55 pm 
Offline

Joined: October 29th, 2004, 3:35 pm
Posts: 56
Yes, they are the Express Keys. I've asked this question in the general forum and a membes has suggested to look in this thread, so I'm here.

I know the key is in the driver itself but I'm not able to figure out how to emulate the tablet buttons with AHK. Hope someone can help with that.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 13th, 2011, 7:12 pm 
Offline

Joined: January 15th, 2007, 2:37 pm
Posts: 573
What is the Express Key currently assigned in the Intuos3 control panel?

_________________
Links to my scripts.
---------------------------------------------------------------------------------------------

I too have an app for that... and that... and that, and that, and that.
It's called a web browser.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 13th, 2011, 8:39 pm 
Offline

Joined: October 29th, 2004, 3:35 pm
Posts: 56
The left-bottom button at the left side of the tablet. It's assigned to "Toggle Screen".

In example2 I get this result when pressing the button:

Vendor Id:1386 Product ID: 177 UsPg/Us: 13/1 Data: 0C000000000800000000
Vendor Id:1386 Product ID: 177 UsPg/Us: 13/1 Data: 0C000000000000000000


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 14th, 2011, 9:15 am 
Offline

Joined: January 15th, 2007, 2:37 pm
Posts: 573
I don't see "Toggle Screen" as an option in the manual. It must not show all the options. Can you do a screen shot of the control panel where you assign functions to the buttons and post it?

_________________
Links to my scripts.
---------------------------------------------------------------------------------------------

I too have an app for that... and that... and that, and that, and that.
It's called a web browser.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 14th, 2011, 12:56 pm 
Offline

Joined: October 29th, 2004, 3:35 pm
Posts: 56
Sorry, it's called exactly "Display Toggle" in the wacom settings.

Image


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 398 posts ]  Go to page Previous  1 ... 21, 22, 23, 24, 25, 26, 27  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 15 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group