Search found 6 matches
- Wed May 23, 2012 10:48 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Deleting File Suffix
- Replies: 9
- Views: 5020
Re: Deleting File Suffix
You are deleting the suffix for presentation purposes ? When you want to load the file just put the .mov suffix back onto the file name :- command uiLoadSelectedVideo put the selectedtext of field "Video Menu" into theVideoName put "Videos/" & theVideoName & ".mov" into theVideoFile set the filenam...
- Wed May 23, 2012 10:27 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Deleting File Suffix
- Replies: 9
- Views: 5020
Re: Deleting File Suffix
Hey Klaus! Haven't been at work for quiet a while - but I'm back! I figured out the problem - when i replace ".mov" with EMPTY then the file extention will be deleted aswell, because i return theFiles then without the suffix! - so livecode isn't able to find the videos anymore! preOpenCard ##Load th...
- Wed Apr 18, 2012 8:23 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Deleting File Suffix
- Replies: 9
- Views: 5020
Re: Deleting File Suffix
Hi KommBI, welcome to the forum! :D Another way, there are always a lot of ways to do something in LiveCode!, could be something like this: ... ## Acting behind the "curtains" will speed thing up a LOT! lock screen replace ".mp4" with EMPTY in fld "your list of video fles here" ## remove all other ...
- Wed Apr 18, 2012 8:15 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Deleting File Suffix
- Replies: 9
- Views: 5020
Re: Deleting File Suffix
In theGetFilesInFolder handler in the card script, insert the following instead of the final line (the "return theFiles" line): -- divide each line at the file specification set the itemdelimiter to "." -- now go through the list repeat for each line tLine in theFiles -- grab everything up to the f...
- Fri Apr 13, 2012 11:03 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Deleting File Suffix
- Replies: 9
- Views: 5020
Re: Deleting File Suffix
thank u guys for answering! gong to try it out after work!
going to keep u up 2 date!
going to keep u up 2 date!
- Thu Apr 12, 2012 3:03 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Deleting File Suffix
- Replies: 9
- Views: 5020
Deleting File Suffix
Hello everybody! I'm new to LiveCode, but I thinks its a great way to programm - that's why I already got the license! Anyway I tryed to do this Lesson Creating a Video Library Application - with total success, but I dont want to have the file suffix within the List! Can somebody may tell me how to ...