AutoHotkey Community

It is currently May 26th, 2012, 6:23 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: February 28th, 2008, 8:19 pm 
Offline

Joined: February 20th, 2007, 1:37 pm
Posts: 198
Location: D.C.
The most common footpedal device used for transcription is your "Infinity" USB pedal. They're sold for ~ $75 USD and have 3 pedals on one device. Typical footpedal software only privides for play, pause, rewind, etc. using a specific audio program. I have one, and I'd like to extend the functionality of my pedal to lots of other stuff but don't know where to start. Any way to capture this input and use it in AHK?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 28th, 2008, 9:33 pm 
Offline

Joined: June 27th, 2006, 2:38 pm
Posts: 385
Location: Canada
You probably already checked, but do any of the pedals show up in KeyHistory? If so you can just remap the key with the SC Code #.


If you find it shows up in KeyHistory, please post your results. :)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 28th, 2008, 10:29 pm 
Offline

Joined: November 3rd, 2007, 12:41 am
Posts: 188
This is likely something that AHK won't be able to see. However, don't give up before you try the method at the bottom of http://www.autohotkey.com/docs/KeyList.htm


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 28th, 2008, 11:25 pm 
Offline
User avatar

Joined: October 7th, 2006, 8:45 am
Posts: 3328
Location: Simi Valley, CA
here's another thought, though it may be a long shot: try the joystick test script to see if your footpedal shows up as a joystick

_________________
Ternary (a ? b : c) guide     TSV Table Manipulation Library
Post code inside [code][/code] tags!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 29th, 2008, 4:45 am 
Offline

Joined: February 20th, 2007, 1:37 pm
Posts: 198
Location: D.C.
Hey thanks everybody for all your replies. I've tried all your suggestions and no go. But I've learned a few things from your answers, so it was well worth it. Does not show in key history, is not recognized as a joystick. But thanks anyway! Lots of other solutions out there.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 7th, 2008, 12:44 pm 
Offline

Joined: February 20th, 2007, 1:37 pm
Posts: 198
Location: D.C.
Eh, months later, I still don't know the answer to this one, but I do know that a pedal made by p.i. design allows you to assign any text string to each of the pedals.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 7th, 2008, 2:51 pm 
I know you wanted to use autohotkey for this but maybe a different route

http://www.nch.com.au/footpedal/

Quote:
Just a note on Pedable:

Upon opening the application, you can map any shortcut key to one of the three footpedals. So, for example, if you wanted to use the foot pedal to play and pause your Windows Media Player, you could map one of the pedals to CTRL+P. Whenever the Windows Media Player window is active, pressing your designated pedal would play and pause the playback, making transcription from a video source theoretically possible. However, because you would be transcribing in Microsoft Word or a similar word processor, it would be the active window, meaning that pressing the pedal would cause a prompt window for printing the document to open (CTRL+P is the printing hotkey for Word and most other word processor applications).
In order to transcribe from a video source, you would need to have an application that supports Global Hot Keys (a shortcut key which would perform a function in the desired program, regardless of which application was currently active on your PC).

So, to enable you to transcribe from a video file, I would recommend downloading the Global Hot Key plugin for Windows Media Player, located at: http://wmpkeys.sourceforge.net/
Then, simply map your middle pedal to CTRL+ALT+HOME (the default for Play/Pause). This will allow you to be typing in Microsoft Word, and control the playback with the foot pedal controller, without switching applications.

There may be other media playback applications which support Global Hot Keys that are more appropriate for your system configuration. If you find one, please link it here. I have simply used Windows Media Player as an example, because it is the most popular.


Of course, this is just one use for the Pedable program. I will be testing several other uses over the next coming days, and report my findings here. One possibility which I'm particularly excited about is the possibility of using Pedable (and one of our standard transcription foot pedals) for game play. CounterStrike, World Of Warcraft and Need For Speed are a few examples of games which may be able to use our foot pedals to enhance game play. I'll let you all know what I find.

If you are interested in purchasing one of our Professional Transcription Foot Pedals, for use with Pedable or as a controller for our popular ExpressScribe software (http://www.nch.com.au/scribe/index.html), please visit: http://www.altoedge.com/pedals/index.html


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 5th, 2009, 3:38 am 
Offline

Joined: February 20th, 2007, 1:37 pm
Posts: 198
Location: D.C.
Hey, thanks! I just installed Pedable, and I can certainly use it in conjunction with AHK. This is a very exciting development. Your standard Infinity USB pedal is selling online nowadays for about $58 USD, and you can find them for much less 2nd-hand. Which means one can have a 3-button footpedal to send 3 or more hotkeys for a very low price. It gives the same functionality to a VEC pedal as the PI Engineering, but for a much better price.

IMO, NCH has done it again!


Report this post
Top
 Profile  
Reply with quote  
PostPosted: May 31st, 2009, 10:30 am 
Hi,
I have solved the problem by another way - I used electronic from old waste keyboard together with pedal and the result is a kind of keyboard. So it works with AutoHotkey as any other keyboard.
See my page http://staff.cesnet.cz/~michal/vms/pedal/
(This is in czech language, but pictures are essential - or you can try google translation, which has funny results, but sometimes it is usable)
My pedal is Olympus, which is seen by Windows as HID - I am going to try Pedable or this: http://www.autohotkey.net/~Micha/HIDsup ... otkey.html
Now I use only switches in my pedal, but pedal is able to communicate over USB. I gave up my attempts to find software solution and I assembled my keyboard-like solution, which works great, so I have no motivation, but I'll try it.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 31st, 2009, 1:14 pm 
Offline

Joined: February 20th, 2007, 1:37 pm
Posts: 198
Location: D.C.
If your Olympus pedal is seen by Windows as a HID device I think maybe there is no need to install Pedable. I believe AHK can work with any generic HID device.

My problem has always been that the Infinity brand is not even recognized as HID, and the drivers were not to be found until recently to allow me to do anything else with it. My work has involved transcription and so I had the common Infinity pedal but could not use it for anything else. I can now.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 31st, 2009, 1:58 pm 
I think you can get this cheaper, and with more options if you go for (old) MIDI footpanels instead of dedicated (newer) USB devices.

MIDI input library

HTH


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 31st, 2009, 6:54 pm 
Offline

Joined: February 20th, 2007, 1:37 pm
Posts: 198
Location: D.C.
Eh, I originated this thread with regards to how to use the VEC Infinity footpedal with AHK. As far as I'm concerned the introduction of Pedable is a solution to this problem, although I don't object to others. But the purchase of some MIDI pedal instead is not a solution so much as a good idea for a different thread. I own a VEC pedal already and several MIDI devices, and I'll assure anyone out there that setting up an Infinity pedal is a lot less hassle than setting up a MIDI footpedal just to send keystrokes or simple commands.

The price comparison between a used MIDI foot pedal and a used VEC pedal still favors the VEC. I got one on eBay for $25 a few weeks ago. Install the driver software, set up the hotkeys, and you're done. No fussing with velocity, program change, CC, etc. Very plug-and-play.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 31st, 2009, 7:30 pm 
Sure.

But you only get 3 pedals...

Elaborate MIDI footpedals have many more.

It was just a hint, do with it whatever you like. A quick look on eBay and similar gives me multiple MIDI footpanels for around 50$ that have 10 or more switches.

:)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: June 1st, 2009, 4:17 am 
Offline

Joined: February 20th, 2007, 1:37 pm
Posts: 198
Location: D.C.
Well I don't want to discourage you. I did try using a simple MIDI keyboard and Orbik's library. It worked but froze up after a few hours, don't know why. I have also built this:

http://homeofthegnome.net/junkdrawer/reaper.pedals.jpg

which used this: http://www.xkeys.com/xkeys/xkswi.php

And it works great.

There are plenty of options.

http://www.delcomproducts.com/products_USBFSW.asp

And I hear that those "dance pads" just send joystick messages, too. So they are yet another option.

And as bflmpsvz mentions, you can just cut up an old keyboard, too. Which is a very direct solution. :-)

And if anybody has any more input about using the Infinity pedal, that would be great. They are commonplace in transcription and in medical transcription also. And thanks to NCH and their application Pedable, they can now be used for a lot more. (Not a paid advertisement. :-) )


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 3rd, 2009, 3:06 pm 
Offline

Joined: May 24th, 2009, 1:23 pm
Posts: 89
Location: Bærum, Norway
Interesting concept. Three or so foot switches for each switch... vroom vroom! :twisted:

Could this thing be of help?

_________________
Better burden you cannot carry than man-wisdom much -- Hávamál


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Exabot [Bot], JSLover, Tipsy3000, Yahoo [Bot] and 60 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