![]() |
![]() |
![]() |
![]() |
|
|
#406 | |
|
Senior Member
Join Date: Mar 2005
Posts: 257
|
Quote:
http://iaudiophile.net/forums/showthread.php?t=27718 You should also read the thread or post you downloaded the uci from for any special instructions related to the uci you are installing. |
|
|
|
|
|
#407 |
|
Junior Member
Join Date: Aug 2009
Posts: 12
|
There is a FS command to get file name GetEtcFileName(), but is it possible to get folder name? or any way to access current folder (for ex. to load an image or text file in album folder).
|
|
|
|
|
#408 |
|
Member
Join Date: May 2009
Location: Georgia, United States
Posts: 77
|
Reading through Cowon's documentation I haven't seen one. It would definitely be a very useful command to have. Better yet, a command that would grab the relative path to the file.
Generally speaking, I wish Cowon gave us access to lower level commands. Some areas seem so far abstracted that it makes it difficult to add new functionality. |
|
|
|
|
#409 |
|
Senior Member
Join Date: Feb 2009
Posts: 898
|
It should be EtcBrwGetTitleString
The title is a title of the stage, so in folder browsing (and in Picture mode browsing) it is folder name. It tag browsing, its name of virtual stage (i.e. [Songs]) var currentFolder:String; ext_fscommand2("EtcBrwGetTitleString", "currentFolder");
__________________
Latest Wallpaper UI - v3.50b (February 15, 2010) 207 individual user settings and counting ... [ @DeviantArt: http://secondclaw.deviantart.com ] |
|
|
|
|
#410 | |
|
GILgaMEsh
Join Date: Apr 2009
Posts: 144
|
Quote:
I mean not through your browser_total.swf, I'm writing a new script for my currently under work browser, but I just can't seem to get that changed ...(I don't like the brackets..[])
__________________
|
|
|
|
|
|
#411 |
|
Senior Member
Join Date: Feb 2009
Posts: 898
|
You have to strip them out on the fly. The firmware puts the brackets in, not Flash, so you have to intercept each row as it is being displayed, check if it has brackets, and either replace them with another character, or strip them outright.
This was a simple example I posted back in February on ABI - before Wallpaper UI was born - it removes brackets and colors files and directories using a different - in this case hardcoded - color.: Code:
function GetListName(NumofList, FileIndex)
{
Temp_fileString = "TXLine" + NumofList + ".text";
if (FileIndex < g_TotalIndex || g_TotalIndex == 0 && FileIndex == 0)
{
ext_fscommand2("EtcBrwGetListString", FileIndex, Temp_fileString);
var txtlength = _root.MCCon["TXLine" + NumofList].text.length;
if (_root.MCCon["TXLine" + NumofList].text.charAt(0) == "[" && _root.MCCon["TXLine" + NumofList].text.charAt(txtlength - 1) == "]") {
_root.MCCon["TXLine" + NumofList].text = _root.MCCon["TXLine" + NumofList].text.substring(1, _root.MCCon["TXLine" + NumofList].text.length - 1);
_root.MCCon["TXLine" + NumofList].textColor = 0xFFFF52;
}
else
_root.MCCon["TXLine" + NumofList].textColor = 0xFFFFFF;
}
else
{
_root.MCCon["TXLine" + NumofList].text = "";
} // end else if
} // End of the function
__________________
Latest Wallpaper UI - v3.50b (February 15, 2010) 207 individual user settings and counting ... [ @DeviantArt: http://secondclaw.deviantart.com ] |
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|