Kay wrote: >You can't be using LC8dp15 or greater because all I have to do is type >in 'detaile' and the list of hits is reduced to 3 with the one you are >looking for quite visible. If I type 'detailed fi' there is only one >hit and it's clearly the one you want:
You are absolutely right regarding Dictionary. I was looking in the dictionary of the 7.x version, switching versions between 7.x and 8.0.0 dp 16 while using 8 dp16 for scripting. Files are still opened automatically in 7 on my system as I think (maybe wrongly) that last version 7 is more stable. It is much better in 8.0.0 dp15/16! Just have to get used to this new Dictionary. --- --- Reading File Properties ("the detaile files") It may be easier to move the file into just one default folder. Agreed. But then for general purpose you must enforce it, otherwise it could fail. Still I believe it is better to be able to point at just one single file (for example: "the detailed file" instead of "the detailed files"). --- OFF TOPIC: Writing File Properties: What I also did was changing file properties such as creation date and time using a separate Windows command line program and calling it through the Shell command. I find it VERY convenient since the actual file creation date is not of importance. The content of the file is important. For example, a Word document has a date of the Content (a letter for example, or a contract). Why should this not be reflected in a *persistent* date of the file itself? Then it is easy to sort and filter files by dates which are meaningful. (Here users are not interested in the date when the physical file was created, but in the date of the document itself.) Maybe it will be possible to implement this using LCB for all platforms? Roland On 24 March 2016 at 02:58, Kay C Lan <lan.kc.macm...@gmail.com> wrote: > On Tue, Mar 22, 2016 at 11:33 PM, Roland Huettmann > <roland.huettm...@gmail.com> wrote: > > > > I was searching for "file", "detailed file", "detailed files". > > You can't be using LC8dp15 or greater because all I have to do is type > in 'detaile' and the list of hits is reduced to 3 with the one you are > looking for quite visible. If I type 'detailed fi' there is only one > hit and it's clearly the one you want: > > the [{ detailed | long }] files > > Since dp15 the Dictionary has been very much improved. Even when > working in LC 6 or 7 I keep LC 8 open so I can use it's Dictionary > because it's search feature is better. > > > > Anyway, I would appreciate a function giving the same pointing at just > one > > selected file (not files). I will use my custom function doing that. > > I generally find it a lot easier just to move the files I wish to work > on into a single folder, then declare that the defaultFolder. If there > is only one file in there then 'the detailed files' will report on the > one file. Alternatively you can always: > > put shell("ls -l /hardDrive/User/Folder/FileToWorkOn.mbox") into tFileInfo > > Look up 'shell' in the LC Dictionary for it's description > > Use your favourite man page reader to look up all of the options for > the ls shell command > > HTH > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode