|
SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
executeprocess arguments
I'm having a little trouble getting my arguments to work for ExecuteProcess(). How do I make an array of strings in Studio so my executable gets called like...
Code:
foo.exe "parameter1" "parameter2" "parameter3" |
#2
|
|||
|
|||
I think
Code:
args = java_lang_String_split("arg1,arg2,arg3",",") Dirk |
#3
|
||||
|
||||
If you search for ExecuteProcess in the default STV, you'll see an example in the "Xtra: SageTV Recordings by malore" menu, where malore used DataUnion() to send multiple arguments to comskip.exe.
- Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#4
|
||||
|
||||
Thanks for the replys!
I tried dataUnion() last night, but I couldn't figure it out how to make it work for more than two arguments for some reason. String split, however, worked like a charm. |
#5
|
||||
|
||||
The downside to DataUnion() is that if a couple args are the same for whatever reason, they would get merged, so using split is probably better anyway.
- Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|