 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
crxvfr
Joined: 10 Mar 2006 Posts: 55
|
Posted: Tue Sep 09, 2008 12:52 am Post subject: ...just for fun |
|
|
I found this page a awhile back and saved it in delicious. My delicious account is not organized. I use it more\less to reminisce places I've been on the net, and to save stuff to.
Anyways, bright guy with an unbelievably basic domain name wrote something where you can use a serial port as a switch to launch apps.
Shorting two pins on a serial connector will launch whatever app you specify. (Hook it by relay to whatever kind of switch you want, motion detector, light, sound, timer, etc.) Using it requires 2.0 .net framework and Microsoft Visual J# .NET Redistributable Package 2.0. (wouldn't a USB connection be easier and better?)
I don't know how may lines its taking him to do it but needing all that stuff seems like a long way to go to do something as simple as that(?) and have only 1 circuit.
It probably requires com libraries or something way above my head, but I bet using ahk, the clever chaps here could make short work of this task.
(I'm not trying to get somebody to code for me. I'm going a different route)
I just got a projector to use as a tv. I want to have a small pc to run things in the house. Lights that come on when you come in a room and off when things are still, usb cameras and alarm, modem for answering machine and fax, game and media center, etc. Strange to think I can do all that myself these days. When I was a kid they had this "house of tomorrow" concept that was super lame in comparison to what we really have now.
Since I didn't know where to start, I saved this page awhile back. I'm thinking now a programmable infrared remote would be better. .....voice recognition would be SuperCool.
...but anyways, What do you think? ... is this something ahk could do in say, ...less than 100 lines?
http://josh.com/TriggerPin.htm |
|
| Back to top |
|
 |
Dra_Gon
Joined: 25 May 2007 Posts: 314
|
Posted: Mon Sep 15, 2008 10:51 pm Post subject: |
|
|
Sounds like something more for amusement than anything else, though it would be fun to just try it {as long as it doesn't actually fry the computer}.
I haven't checked lately, but I seem to recall someone here was working on a script for use with a microphone. With the right setup a person could use the microphone to launch apps. Create a COMMAND vocabulary {i.e. "Launch", "Switch", etc...} then SUBCommands {i.e. "Firefox", "PSPad", "Off", etc...}. A full instruction would be "COMMAND, Launch, PSPad" or "COMMAND, Switch, Off". Or some such thing {beyond me at the moment}.
Anyway, just thought I'd comment on this.
Ciao,
Dra'Gon _________________
For a good laugh {hopefully} >> megamatts.50megs.com
My WritersCafe profile>>
http://www.writerscafe.org/writers/BlueDragonFire/ |
|
| Back to top |
|
 |
SpiderGames
Joined: 09 Jun 2008 Posts: 464 Location: Canada
|
Posted: Fri Oct 03, 2008 12:36 pm Post subject: |
|
|
with regard to the voice activated scripts...
You can use Glove PIE to do that.
Simply put the following codes in it.
IN GPIE
AHK
| Code: |
F24::
; what you want the RUN comand to do
| [/code] _________________
Xfire: SpiderGames77 |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|