Well this is a tiny wish- I need to get the file extension with the Dot File.exe Will give me only 'exe' .
And also another tiny thing - Fb 5 and 6 both have the same icon - could you change the color of one of them ? (i have both installed)
Thanks Daphna Levin
Hi Daphna,
The 'Path Manipulation' action should be including the '.' when its extracting the extension from a filename. I've attached a test project, could you please run that and see whether the 'Path Manipulation' action is working as expected?
With regards to the the icons, we won't be changing them for FinalBuilder 6 but we'll make sure they're changed in future versions.
Regards,
Paul.
Extract Extension.fbz6 (1.819 KB)
Sorry for my Typo, i meant WITHOUT the dot.
Thanks Daphna
Hi Daphna,
The easiest way to remove the preceding '.' would be to add one line of script to the Path Manipulation's AfterAction script event. In Javascript this would be:
Extension = Extension.substring(1);
Alternatively you can use the 'String SubString' action to perform the same thing. I've attached an updated project which uses the script event to remove the '.'.
Regards,
Paul.
Extract Extension 2.fbz6 (1.984 KB)