is your skin a flash skin?
Hi,
I'm dealing with a strange dream...
I'd like to be able to put the filename of a file selected from a list into a variable with a RR command.
I'll explain it better:
imagine you've got a launch skin in which you've got a list (of all the applications) and some button (for ex. 1, 2, 3, 4, 5).
I'd like to select an application from the list and be able to save its filename into a variable simply hold pressing the button 1 (for ex.) in a way that I'll be able to launch the selected application simply by pressing that button without have to select it from the list again...
...a sort of favourite applications...
...what do you think expert skinners? Is it possible or does it have to remain a dream?
Live today like it is your last day, and behave as though you will live forever...
my WEBSITE
MapMonkey Dalai skin-preview-download ITA-email me for ENG
Road Runner CrystalBlue skin-preview-beta release
is your skin a flash skin?
NOVA, MD, DC Monthly Meets Here
Ride Runner and Centrafuse 3 plugin creator
mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
Find my plugins on the MP3Car App Store!
Follow Me on Twitter or Facebook
Live mp3Car Facebook Chat
Live today like it is your last day, and behave as though you will live forever...
my WEBSITE
MapMonkey Dalai skin-preview-download ITA-email me for ENG
Road Runner CrystalBlue skin-preview-beta release
If you're using a Directory List, you could use LISTTEXT to pass the selected text into a variable.
i.e.
"SETVARBYCODE;APPFAVVAR;LISTTEXT"
ah ok.. i do this in my current skin.. basically i use a combination of DLPATH and DLTEXT to come up with the full path to the program to skin.ini then a small script i wrote to read the window name from the launch folder's .ini. Works quite well. I'm not sure how ou could right the label combination out as a variable but it would be
not sure if thats clear but that combination of labels would allow you to run the program from a button dynamically.Code:$filepath$=DLPATH + DLTEXT + "\" + DLTEXT + ".exe"
NOVA, MD, DC Monthly Meets Here
Ride Runner and Centrafuse 3 plugin creator
mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
Find my plugins on the MP3Car App Store!
Follow Me on Twitter or Facebook
Live mp3Car Facebook Chat
Thanks a lot.
...I'm interested in this LISTTEXT... where did you find it? it's not in the command skin list!
I'll search about it! ...thanks.
Live today like it is your last day, and behave as though you will live forever...
my WEBSITE
MapMonkey Dalai skin-preview-download ITA-email me for ENG
Road Runner CrystalBlue skin-preview-beta release
There are actually quite a few commands that are not in the SkinCommands.txt file, but this one is in there.
LISTEXT basically is a variable that hold's what ever is selected in the currectly displayed list.
What are you wanting to use the file name for? Are you passing it to an AutoIt script or something? If so, there is another hurdle to overcome. When you send something like this to AutoIt, and the path name contains spaces, those spaces will seperate the command line options sent to AutoIt. There for they have to be surrounded in quotes. As you can no wrap it in actual quotes, you have to make a variable that contains a quote hahha It's just easier to show you an example:
Here is the button code that I use on one of my skins to send whatever is highlighted in the list, to an AutoIt script named "FileCopy.exe".
Code:"SETVARBYCODE;LISTTEXT;LISTTEXT||SETVARBYCODE;DLPATH;DLPATH||SETVAR;QUOTES;"||RUN;$SKINPATH$Scripts\FileCopy.exe|$QUOTES$$DLPATH$$LISTTEXT$$QUOTES$"
Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart
My Fiero Build Thread
Thanks guyes,
my skin commands was too old!
downloaded the new one and found it
@JohnWPB - I'm not using autoit...at the moment... but thank you for the support![]()
Live today like it is your last day, and behave as though you will live forever...
my WEBSITE
MapMonkey Dalai skin-preview-download ITA-email me for ENG
Road Runner CrystalBlue skin-preview-beta release
Bookmarks