2016-01-26, 22:52
(2016-01-26, 22:41)marcelveldt Wrote:(2016-01-23, 10:30)emiralles Wrote: Hi, can you add a function for check if a file exist or not? There isn't any that do it.
How do you want this implemented ?
call the script with something like script.skin.helper.service,action=fileexists,file=blahlah.file and return the result in a window prop or skin string ?
Or just add it as a general window property for the selected listitem ?
Hey Marcel
Interrested in this too !!!
I have 3 custom files I don't want to be overwritten at skin update so thinking about to just provide them for copy in 16x9 folder and remove them from the package. This could avoid user to manually override them at each version bump.
So if I can make a suggestion, a skin.string is more reliable for a check because kept in skin settings.
Otherwise you will get a fail at reloadskin ?
Cheers