|
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
|
|||
|
|||
Example Code Request
I need some assistance. I have a file that I would like to store its location in the sage properties file. The file location of course is dynamic, on one box it is at this location on another it is at another location.
I was trying to make a textinput box so I can paste the correct location into the STV or type it in with my keyboard hit enter and it save it to the sage.properties file. Does anyone have some example code on how I could do that? |
#2
|
||||
|
||||
You should be able to link to the file browser widget(s) that the stock UI does. I believe I do that in the IVL STV import, that might be a place to start.
|
#3
|
||||
|
||||
You could use the directory browser dialogs to choose a location, like Stanger mentioned.
If you just want to type in the location, then search for "Get Alternate Movie Category Name" (w/o the quotes) for a basic text entry dialog where the text is saved to a property. You could probably even copy the text from the clipboard -- search for getSystemClipboard & then see the Java docs for how to get text from the clipboard instead of copying to the clipboard like the STV does. - 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
Thanks guys... This gets me going I think.. I will mess around with it tonight.
I don't know which approach will work best. Stanger89 you are always on the ball pulling me out the fire. and Thanks Opus4 your coding expertise is always useful. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plugin: Web User Interface for SageTV 2.2-6.6 (V2.25 18 Sep 2009) | nielm | SageTV Customizations | 2644 | 10-24-2016 10:18 AM |
Request: Placeshifter for Windows Mobile | Nerva | SageTV Placeshifter | 6 | 09-30-2008 09:30 AM |
send 4 digit code after 5 sec | Dror Engel | SageTV Software | 2 | 09-02-2008 07:59 AM |
Feature Request | Razillian | SageTV Software | 4 | 07-12-2008 09:51 PM |
Feature Request following 3.0.3 beta | snoopy | SageTV Beta Test Software | 83 | 03-31-2006 03:38 PM |