Jump to content

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.

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

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.

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...