RDS Posted January 21, 2015 Author Share Posted January 21, 2015 Do you have an id on RMWeb ?Yes, tangerineRDS Link to comment Share on other sites More sharing options...
PJ_model_trains Posted January 21, 2015 Share Posted January 21, 2015 Hi RayNo nothing as complicated as Sound and Light. My layout has 17 Sidings and 4 Loops and the idea is to show where the Loco should be positioned to start.It's not so much program time I wanted to extract but the program date stamp, i.e. when it was created. In terms of Loco id that is something I can type in easily as it is unlikely to change.But to be able to get into a program, that is something that would be of interest ...... Hi RDS I am not sure if this is any use to you but I do the following150120 - file nameI add it as someone may not use it.If the file name includes the dat in this order YYMMDD it will always be mathematically shown in date order141211 - 150103 - 150121 - I know files include the date and time as well but including this at the start of a filename is a great date stamp.PJ Link to comment Share on other sites More sharing options...
RDS Posted January 21, 2015 Author Share Posted January 21, 2015 Hi PJI don't use it on my RM programs but whenever I use the date in a filename, I always use exactly the format you have suggested so as to get files in the correct chronological order.I don't want to make my RM fillename any longer than it is already. I only start programs with RDSprog so that I can identify ones I have written myself. I have asked previously in the Desirable Features Thread, to have more room in the window for the filename. Yesterday, I asked for either the ability to change the column widths in the 'edit program' window or at least for the instruction column to be wider. Link to comment Share on other sites More sharing options...
Teedoubleudee Posted January 21, 2015 Share Posted January 21, 2015 I date my on-line statements like that too. Just goes to show there are no new ideas. Link to comment Share on other sites More sharing options...
St1ngr4y Posted January 21, 2015 Share Posted January 21, 2015 PJ & RDS,I have enhanced the spreadsheet to include date/time stamps. Can we pass info on RMWeb? I've included you both in the conversation.Ray Link to comment Share on other sites More sharing options...
St1ngr4y Posted January 21, 2015 Share Posted January 21, 2015 What happens when you update such files - do you rename them to reflect the new date? If you are looking at the list of files in Windows explorer, you can double-click the date/time stamp column, and it will sort the files in that order.Ray Link to comment Share on other sites More sharing options...
RDS Posted January 21, 2015 Author Share Posted January 21, 2015 Hi RayI have got your listing from RMweb. Thank you very much for taking the time to do that.If I have changed the file when the filename has been created using the date, I do rename them to use the new date but usually when I use that type of filename (for example when scanning a document) the date does not change. I am aware of the ability to sort by clicking the heading column (I often wish we could do that with a RailMaster program to find all uses of a particular Loco, where they would be kept sorted together)Windows Explorer contains a Date Created and a Date Modified option. Are there commands in VB for both options. Link to comment Share on other sites More sharing options...
St1ngr4y Posted January 21, 2015 Share Posted January 21, 2015 Hi RayI have got your listing from RMweb. Thank you very much for taking the time to do that.If I have changed the file when the filename has been created using the date, I do rename them to use the new date but usually when I use that type of filename (for example when scanning a document) the date does not change. I am aware of the ability to sort by clicking the heading column (I often wish we could do that with a RailMaster program to find all uses of a particular Loco, where they would be kept sorted together)Windows Explorer contains a Date Created and a Date Modified option. Are there commands in VB for both options.The FileDateTime function returns the date the file was created or last modified. I'm afraid theres no way that I know of to get both.I've since enhanced the code to include the start and end time of each program.Ray Link to comment Share on other sites More sharing options...
PJ_model_trains Posted January 21, 2015 Share Posted January 21, 2015 Let's try again, with line breaks ... You could always list them in the command prompt then open in notepad, thus:- Click on Start then run and type CMD then press enter At the command prompt type CDProgra~2RailMaster and press enter Type DIR *.prg > list.txt and press enter Open Notepad, click open, navigate to the RailMaster program folder and open the file list.txt There's you list of programs and also the default RailMaster ones, which you can easily remove.Brilliant HRMS - that is just what I wanted (I had to replace the 'Progra~2' with 'program files' though).Thank you very much For reference..... Windows 64 bit usersFrom command prompt..... CDProgram Files (x86)RailMaster then DIR *.prgPJ Link to comment Share on other sites More sharing options...
PJ_model_trains Posted January 21, 2015 Share Posted January 21, 2015 I date my on-line statements like that too. Just goes to show there are no new ideas. I use the date method in a few things but not everything. If short of space I miss the spaces 150121-Filename But other things I often use a priority or grouping method, I am sure others do also. 0-Filename for top category or highest priority file types1-Filename for priority 1 or another category file typesetc If used for groups instead of categories they could be for example0-RailMaster,1-Trainsetc, etc I find it keeps all files in one folder but separates them in groups. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.