2021-01-18, 06:44 PM
For testing, you should be able to run that at a command or powershell prompt.
Martin
Martin
2021-01-18, 06:44 PM
For testing, you should be able to run that at a command or powershell prompt.
Martin
2021-01-18, 07:45 PM
Hi,
not sure what im doing wrong. Firstly, my WinLIRC files, and the drakeblast.exe and this drake.ps powershell script are all in the folder C:\WinLIRC So, I open a command prompt, and proceed to cd.. out of the user folders back to the root of c:\ and then i cd/ into the WinLIRC folder (which is C:\WinLIRC), so command prompt shows: C:\WinLIRC> at this i type "powershell -File Drake.ps1 1 2 3" (without the quotations tho) and in reply i get the following error text (although in red, which i've never seen red text in a windows command prompt before!). Also, i get this same error text, iregardless of wether i opened the command prompt as an administrator, or not.). The error text reads: File C:\WinLIRC\Drake.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see "get-help about signing" for more details. Thanks
2021-01-18, 08:11 PM
Did I say PowerShell sucks. If you add this parameter -ep Bypass does it help?
Martin
2021-01-21, 10:41 PM
Ok, so, I can't get past the error when attempting to run this sript at command prompt. when i run it in a powershell window i dont get the error, but i get no apparent reply so im thinking nothing's happening.
thanks
2021-01-21, 10:49 PM
You wouldn't get a reply if it works, just lots of errors if it fails to connect, so that to me would seem that WinLIRC is receiving commands. Does WinLIRC log anything?
Martin
2021-01-22, 04:08 AM
as far as i can tell, no. no log files getting generated anywhere
2021-01-22, 07:22 AM
OK so, after a lot of coffee and a very late night, i've stumbled across EventGhost, and after installing a WinLIRC plugin for it, and creating 10 "LIRC SendEvents" (one for each digit - My WinLIRC config only requires the 0 thru 9 keys) I am sucesfully able to trigger winLIRC to blast individual digits. This is the only way i've been able to trigger WinLIRC, but at least i can now trigger WinLIRC to blast from outside of it's own config gui.
So now i have to jump down a new rabbit hole (maybe) ......So, Can EventGhost's "send events" be used by NextPVR instead of a channel changer executable? IS that even do-able?
2021-01-22, 12:33 PM
(2021-01-17, 11:33 AM)Graham Wrote:(2021-01-16, 09:31 PM)chef Paul Wrote:(2021-01-16, 05:49 PM)Graham Wrote: There should be a program called ... haupblast.exe ... in ... c:\Program Files\NextPVR ... try this at the Command Prompt ... "c:\Program Files\NextPVR\haupblast.exe" 47 ... (or whatever channel number) including the quote markscopying that and pasting into command prompt just gvies me an "system cannot find teh path specified" (normal command prompt, and same result when CMD ran as administrator) Did you get a chance to try ... haupblast.exe ... after I corrected my error with the folder name?
2021-01-22, 04:01 PM
Hi Graham, sorry, i didn't mean to ignore your post about this, unfortunately, i cannot use Haupblasst (i think), due to not having any Hauppague blasting hardware. (i have a "gaming Edition" model of the HDPVR2 that has no built in IR blaster, and i have no other hauppague hardware in the machine to blast from. I'm currently using a "Ehome transceiver" (the microsoft USB reiever/blaster combo that came with OEM Media Center PCs) as my IR blasting hardware. I suppose i could throw an old analogue haupague card in the rig to blast from (i may still have a PVR150 gathering dust somewhere), but is this gonna improve my likelihood of succesfully learning the IR codes for a "diffcult" remote? (the reason i'm stuck with winlIRC is it seems to be the only IR blasting software that was capable of recognising/learning my new sat box's remote control)
Thanks
2021-01-22, 04:42 PM
(2021-01-22, 07:22 AM)chef Paula Wrote: OK so, after a lot of coffee and a very late night, i've stumbled across EventGhost, and after installing a WinLIRC plugin for it, and creating 10 "LIRC SendEvents" (one for each digit - My WinLIRC config only requires the 0 thru 9 keys) I am sucesfully able to trigger winLIRC to blast individual digits. This is the only way i've been able to trigger WinLIRC, but at least i can now trigger WinLIRC to blast from outside of it's own config gui. Here's a page I found with all the command line options for EventGhost. http://www.eventghost.net/docs/commandline.html If you can't send all the digits at once to EventGhost that way, you'd have to write a shell script that takes the digits and then passes them to EventGhost. I have no idea if it'll work though. |
|