Jump to content

ScripterX Help to see if I'm doing Things correctly? in windows.


Go to solution Solved by TMCsw,

Recommended Posts

Leafstrider
Posted

I wont go on about the state of the documentation all over everything or the lack of it. I loaded scripterx on windows i have a file that takes an argument and id like it to be ran at the start of a recording. Scripterx looks like a miricale if i can get it right ive read alot but cant figure it out . i click on "onLiveTVRecordingStart. then a plus sighn, so there are 3 text boxes, first one is run. so i put script or command there. the second one says using, so i put Cmd via a guess and parameters i imagine are for the arguments and i only have one so i put it there thought i was done. nothing happened. i read mor and things talk about drop boxes or selecting and moving stuff which i did not see any. went back all looks ok then i select true and move it down to where.  and i put %3621% for the argument. Still nothing and nothing ODD OR BAD in the logs. ANYONE SEE ANY MISTAKES I MADE?

TMCsw
Posted
20 hours ago, Leafstrider said:

%3621%


What is that? We need a lot more info to help you.

Please provide screenshots, the script you are trying to run and logs.

 

Leafstrider
Posted

 Im not reporting a problem, unless you think my lack of knowledge is a problem LOL. Im asking if i did it right. I described in detail what i did, and surely cant report a problem, if i dont know if what i did is right. I asked in general, does anyone see if i made any mistakes? I I don't know know if i did it right, I can't put in a problem report. If its wrong, send a post as to why, so one can lean. here is a streamlined version of original .installed scripterx on windows. Have a file that takes an argument, to be ran at the start of recording.  There are 3 text boxes, RUN. I put script. USING, i put cmd. PARAMETERS i put argument",  i select true and move it down to below Where.  Nothing ODD OR BAD in the logs. Anyone see any mistakes, omissions or things i did wrong. if its right say that too. Thanks.

TMCsw
Posted
17 hours ago, Leafstrider said:

There are 3 text boxes

Please post a screenshot of what you filled in on that page.

Leafstrider
Posted

I tried to make them smaller but the letters get distorted. i didnt get what i should put in the second box so i guessed at "cmd". Also i assumed at the lower words. so i put true as if one was evaluating the condition. So in windows is this the correct procedure? and channel.exe is a Node.js JavaScript Runtime. it is in the path and runs well in a command prompt. 

1Screenshot (9).png

Screenshot (8).png

  • Solution
TMCsw
Posted (edited)

That gives me a better understanding;

Using: cmd - is correct for a Windows command prompt

What argument is channel.exe expecting?

You are passing the actual channel # to it (i.e., 13.1 or 131)

I think you may want to pass the full drive/path/filename to it? then use "%recording.path%" including the quotes for [parameters]

Leave the [conditions] (where) EMPTY (otherwise it will filter the trigger)

Doing all the above would be like keying in the following in a command prompt:

C:\Windows\System32\here\channel.exe “X:\Full\Path\Show.ts”

Let us know how it goes, or if my assumptions are wrong! There are Other things that could be wrong .

Edited by TMCsw
Leafstrider
Posted

Thank you TMCsw it helps alot. the argument it is expecting is a straight digits or number in other words.  channel.exe is in the path and in a dos prompt channel.exe 131 or channel 3229  thats why i chose the recording channel number. i assumed it just passes the number?  Ill give the full path a shot  and this gives me a good start to getting it running as i was totaly lost as far as the cmd went and or the where. Ill get bak to it in a few days and see what i can do and leave a result here. thanks again.

Leafstrider
Posted

WELL IT DID NOT WORK ITS SO FRUSTRATING. So I created a batch file that does not do anything other than showing it ran. just incase an exe is not accepted. Thenset up more scriptx runs on live tv record start and on l9ivetv record stop and entered them all differently. some with quotes some with full paths.  Im going to reinstall scripterx 6.1.0.1 and hope that changes things ..Well nothings changed ,still not working though it does show in the log that it gets the argument. i am going to try webhooks. and yep they worked. finially got an X1 Xfinity set top box thats a rf "radio remote" to change channels, to record tv via hdmi to usb, 60 FPS, video captue for $20 from walmart, to automaticly take care of recording. it took me forever to do it all on one machine less the remote. and if the scripterx guy reads this, the windows version  on the dropdown where cmd is, it is white box and white letters you cant read it unless one is very close and contrast is set just right it can barely be seen. I really like how deep the scripterx is i will try it again in 6 months as i really need it. and anyone want a crazy way to do xfinity channel changer  just ask and ill write it up.  

whiteONwhite.png

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...