AzKay Posted April 15, 2008 Share Posted April 15, 2008 Any possible (known) way to do this autoit? Im bored, And want to play with the IR port on my laptop. Its just sitting there. Any ideas how I would go about "interacting" with it? # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
weaponx Posted April 15, 2008 Share Posted April 15, 2008 You could ignore its existence since bluetooth has taken its place. I would say you could use it for the Windows Media Center but that comes with a remote and IR port. Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted April 15, 2008 Share Posted April 15, 2008 If your IR-port is connected through a serial port THIS could maybe work (only a theory, never tried it) .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
AzKay Posted April 15, 2008 Author Share Posted April 15, 2008 Except my laptop doesnt have bluetooth. And I want to learn more about IR with autoit, so I can move on later, with more knowledge for when I attempt something with my PSP. I want to make use of its IR. # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
AzKay Posted April 15, 2008 Author Share Posted April 15, 2008 If your IR-port is connected through a serial port THIS could maybe work (only a theory, never tried it)Thanks, Ill try that. # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
weaponx Posted April 15, 2008 Share Posted April 15, 2008 Except my laptop doesnt have bluetooth. And I want to learn more about IR with autoit, so I can move on later, with more knowledge for when I attempt something with my PSP. I want to make use of its IR.Well in that case you would want software for your PSP to emulate a remote control. AutoIt would not help you. That thing has wireless, use that. Link to comment Share on other sites More sharing options...
AzKay Posted April 15, 2008 Author Share Posted April 15, 2008 Well in that case you would want software for your PSP to emulate a remote control. AutoIt would not help you. That thing has wireless, use that.I am not looking for an alternative. I am looking for how to use IR with autoit. # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
AzKay Posted April 15, 2008 Author Share Posted April 15, 2008 (edited) K, Well the only ive got connected, is COM3 apparently, and according to the computer, Its set to builtin dialup modem. the IR port, isnt. Apparently.EDIT::Apparently the IR port is set at COM2.But doesnt show up with the UDF. Edited April 15, 2008 by AzKay # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
AzKay Posted April 15, 2008 Author Share Posted April 15, 2008 I just tried the code HEREIt errors out, "Invalid port number", at $MsComm.PortOpen = 1 # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
martin Posted April 15, 2008 Share Posted April 15, 2008 I just tried the code HEREIt errors out, "Invalid port number", at $MsComm.PortOpen = 1If the port isn't listed in device manager under Ports(COM & LPT) then it isn't available as a COM port and any serial COMMS utility that uses Windows to tell it what's available won't know it exists. Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
AzKay Posted April 16, 2008 Author Share Posted April 16, 2008 Its not listed under COM ports in device manager. # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
jvanegmond Posted April 16, 2008 Share Posted April 16, 2008 Check the manufacturer of the IR, check what drivers it's using and Google for some more information. You may get lucky. github.com/jvanegmond Link to comment Share on other sites More sharing options...
AzKay Posted April 16, 2008 Author Share Posted April 16, 2008 Manufacturer is "(Standard Infrared Port)". # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
weaponx Posted April 16, 2008 Share Posted April 16, 2008 Manufacturer is "(Standard Infrared Port)".I think they also make Computer Mouse brand computer mice. Link to comment Share on other sites More sharing options...
AzKay Posted April 16, 2008 Author Share Posted April 16, 2008 That wasnt funny. I put the quotes there for a reason. I know its not the name of the manufacturer, But that is what is there. # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
martin Posted April 16, 2008 Share Posted April 16, 2008 I think they also make Computer Mouse brand computer mice.Naah, there're the people who make Standard Ruby Port, it's a bit lighter than Standard Infrared Port. Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now