How do you launch a book by using just its file name?

Tim Lord
Tim Lord Member Posts: 103
edited November 20 in English Forum

In Logos 3 we can enter the file name of a Logos book in the "Quick Navigate" field and the book opens up (the file extension cannot be used, just the file name without the file extension).  I tried to do the same in Logos 4 via the Command bar, but this does not seem to work, even after trying several different methods, such as including the file extension and preceding the file name with the "Open" command. (I also checked in the "Wiki" but found nothing). Does anyone know how to do this in Logos 4?  In Logos 3 it is a fast way to open a book whose file name you have memorized without having to type in the whole book title or look it up in the Library listing.  Thank you!

Comments

  • J.R. Miller
    J.R. Miller Member Posts: 3,566 ✭✭✭

    Hi Tim, in L4 you can assign short names to books in the Library browser. If you really want to use the file name, go in and make the file name the short title and it will work the way you want it to work.

    My Books in Logos & FREE Training

  • Rosie Perera
    Rosie Perera Member Posts: 26,202 ✭✭✭✭✭

    Type LLS: followed (without a space) by the resource ID, which I believe is always the filename without its extension. You can find it in the Support Info section of the resources info panel (click the small i icon at the top right of the resource panel to open the info panel):

    image

    But why not use Abbreviated Titles - those are even shorter and easier to memorize. You can use the built in ones or edit them to create your own. In the Library, open the info panel by cllicking the "i" icon:

    image

    Then if the book has no short title yet, click on Short Title to edit it and create one:

    image

    If it has a short title already and you want to change it, click on the pencil icon next to that short title:

    image

    Then to open a book by its short title, just type that short title into the command bar. The built in ones are all intuitive -- the abbreviations you'd expect given the title, or well known abbreviations (e.g., BDAG).

    image

    Enjoy memorizing a whole new set of shorter ways to access books!

  • Kevin Becker
    Kevin Becker Member Posts: 5,604 ✭✭✭

    Logos 4 is very intelligent in figuring out what book you want to open. For example: I'm studying the book of Ephesians and the primary commentary I'm consulting is O'Brien's Ephesians commentary in the Pillar series. I can type "Pillar Ephesians" into the command bar and it will open that book. Try something that you think should work and it just might!

  • Tom Geswein
    Tom Geswein Member Posts: 235 ✭✭

    I have also found that you can type in the file name (e.g. 4000questansr) in the quick navigate field and sometimes it will open the resource.  This is very convenient, but I am not sure why it doesn't work on all resources.  I do this occassionally to see what books were downloaded in an update...

    "It seems our problems solve themselves when we look beyond us to those truly in hell."  -  Beyond Our Suffering - AILD

  • Tim Lord
    Tim Lord Member Posts: 103

    My thanks to Rosie for what I needed (to use the "LLS:" prefix).  Some of you gave other suggestions, which I am familiar with, but what prompted me for this specific method is that I had some new resource downloads and they were not showing up in my Library (at least not at first, it seemed), but I could see the file names in my Resources directory, so I just wanted a quick way to launch them since I already knew the file names.  However, one of the books will not open using the LLS: prefix, so if any of you want to give a try and see if you have the same problem as I did, I would appreciate so that I know whether something is wrong with my configuration or not (I have the same problem on my desktop PC and my laptop PC).  The book is "God's Word", the file is "GODSWORD.logos4", so I should be able to enter "LLS:GODSWORD" in the Command bar.  But "LLS:GODSWORD" in the Command bar does not launch the book for me.  I've done "Update Resources" several times, but Logos 4 thinks everything is up-to-date. My file date on this book is Jan. 7, just a few days old.  This book is in Logos 4 Gold on up, so it is not a new book to Logos 4, and the reason for the new file date is likely due to an update.   Anyone else have the same problem, or know of a solution?  Thank you.

  • Damian McGrath
    Damian McGrath Member Posts: 3,051 ✭✭✭

    Tim,

    The file name and the LLS code are not always the same. In the case of GODSWORD.logos4, you have to type in LLS:1.0.108

    This information is found in the resource information tab at the very bottom.

  • Kevin Becker
    Kevin Becker Member Posts: 5,604 ✭✭✭

    The resource id for God's Word is LLS:1.0.108. Putting this in my command bar it opened the resource. The system also responded to "God's Word" but not "Godsword". In short, I don't think you can do what you want, use the filename, to open resources from the command bar.

  • Rosie Perera
    Rosie Perera Member Posts: 26,202 ✭✭✭✭✭


    The file name and the LLS code are not always the same. In the case of GODSWORD.logos4, you have to type in LLS:1.0.108

    This information is found in the resource information tab at the very bottom.


    It's a Catch-22. If Tim knows a filename for a resource that has recently downloaded and wants to be able to open it in Logos, but can't do so without knowing the LLS code, he can't find out the LLS code because he can't open the book by knowing just the filename. Is there anywhere you can find an LLS code given the filename? I'm sure Logos has a giant table that shows the mappings somewhere. It would be great if they'd make that available online or build it into the program.

    CAUTION: Do not read beyond this point if you don't want to do anything risky!

    If you're a geek and have a hex editor, you can look inside the file and find the LLS code starting at byte 9 (caution! only open the file as read only or you might mess it up).

    You can also open it in Notepad and find this info (caution: do not mess with the file or save it after looking inside!)

    image

     

  • Tim Lord
    Tim Lord Member Posts: 103

    Thanks, Kevin.  Entering the LLS Resource ID number did not seem to work for me at first, but now it is working.  However, "LLS:GODSWORD" still is not working for me after doing that, and it sounds like it does not work for you either, although I have found that the method of using LLS:FILENAME (without the extension) does work for other resources I have.  So, I am seeing an inconsistency here, similar to the inconsistency Tom reported where he could sometimes directly enter the file name without the LLS: prefix and without the file extension and it would sometimes work.  This problem is actually a kind of catch-22, because you cannot obtain the LLS Resource ID number without first launching the resource, but if you cannot launch the resource because you do not know what the resource title is (i.e., by searching in the Library by title), then how can you launch it at all if using the file name in some way does not work in the first place?  For me, and I suspect the same for some others, I would like to see the file name launch feature that Logos 3 has work just as well and as reliable in Logos 4, too.

  • Tim Lord
    Tim Lord Member Posts: 103

    Rosie, excellent!  You just provided a work-around to the inconsistency problem Kevin and Tom and I are seeing.  For an unknown file here and there that we cannot launch based on LLS:FILENAME, this will work for the time being to get us the Resource ID code we need to launch the unrecognized resource.  However, it is my understanding that all the file names are also unique, and so if Logos was able to support that feature of launching a resource using just the file name without its extension in Logos 3, it would be consistent to get it working reliably in Logos 4, too.  Besides, I don't think Logos really wants us to have to use text editors to get this kind of information when it is probably just a fix or enahancement to some sort of database table, or a patch to an applet this isn't quite working right to add all the needed info whenever new resources are added or older resources updated in one's Library.  Thanks for the tip.

  • Rosie Perera
    Rosie Perera Member Posts: 26,202 ✭✭✭✭✭

    I agree, Logos should provide this functionality.

    In the meantime, I have just written a little utility program that will give the Resource ID of a Logos file without having to open it in Notepad, for those who are worried that might be risky.

    Download http://www.rosieperera.com/bin/llscode.exe (right-click and choose "Save Target As...") and save it in your Resources folder. If you ever encounter a file for which the filename is not working as the LLS code, run this little program from the command line (you have to open a command prompt window by running Start > cmd from Windows, and then navigate to your Resources folder using the "cd" command).

    The syntax is as follows:

            llscode <filename>

    Example:

            llscode godsword.logos4

    This currently works for logos4 files only. I haven't figured out where they store the Resource ID in lbxlls files, or rather it must be encrypted so I can't access it.

    No viruses or spyware. I compiled this myself from the simplest of C code. Maybe if I get ambitious I'll make it into a little Windows app so you don't have to go into the command prompt to run it.

  • Rosie Perera
    Rosie Perera Member Posts: 26,202 ✭✭✭✭✭

    Tim Lord said:


    However, "LLS:GODSWORD" still is not working for me after doing that, and it sounds like it does not work for you either, although I have found that the method of using LLS:FILENAME (without the extension) does work for other resources I have.  So, I am seeing an inconsistency here, similar to the inconsistency Tom reported where he could sometimes directly enter the file name without the LLS: prefix and without the file extension and it would sometimes work.


    The inconsistencies are only apparent, not really inconsistent. Since the filename is usually used as the Resource ID, whenever that is the case, LLS:filename will work to open the file, but not because Logos is opening that filename; it's opening that Resource ID which just happens to be the same as the filename. In some cases, the Resource ID is not the same as the filename (GODSWORD is one example). In those cases LLS: will not work.

    The cases where Tom was sometimes able to open the filename without the LLS: prefix, it is probably because, coincidentally, the filename happens to match a subset of the title of the book (or the abbreviated title), so Logos is matching the title and opening it that way. This works, for example with UTMOST, which is the filename for My Utmost for His Highest. I found it did not work for 4000questansr, the example Tom gave.

  • Tim Lord
    Tim Lord Member Posts: 103

    Rosie,  thanks for coding the little utility.  I see what you mean that the resource ID is sometimes a numeric notation and sometimes the same as its file name, now that I look at a few more files.  Still, Logos 3 accepted the file name (without extension) regardless, so it would still be useful if Logos 4 did the same so that we do not have to run a text  editor or a utility to find out the exact resource ID for launching it.  Having the exact resource ID has other benefits.  If someone feels ambitious, a great little utility to write would be a program that would create a list of all the file names in a person's given resource directory, side-by-side with the resource ID of each file.  (At least that would be doable enough for Logos 4 files).  The reason is that some of us like to track all our resource files as a sort of "quality check" to make sure, as we move files from PC to PC and do backups, that nothing gets inadvertently "lost" in the day-to-day shuffle over time (as collections grow bigger, and hard drives are replaced, this kind of thing can happen).  Like some other Logos users, I use a simple Excel spreadsheet to hold a list of al my resource files.  And some of us also like to use Excel to make comparisons of what we already have with listing of new collections whenever they come out (e.g., "Library Builder", "Platinum", etc.), to help us make decisions on what to upgrade to and/or purchase based upon comparing with what we already have.  One day that may no longer be necessary if Logos moves fully to maintaining this kind of info for us in the "cloud", but until it's working well enough, and utnil what we need is provided (and we have a high level of confidence), some of us will continue to maintain our own ad hoc lists for tracking and comparing for the time being.  What we liked about the Library Management feature in Logos 3 was the ability of the Bibliography function to generate a listing of "Titles and Locations" to help automate the generation of some of these kinds of lists.  So, we look forward to this kind of functionality coming in Logos 4 when Bibliography is released in Q2.

  • Rosie Perera
    Rosie Perera Member Posts: 26,202 ✭✭✭✭✭

    Tim Lord said:


    Rosie,  thanks for coding the little utility.  ... Still, Logos 3 accepted the file name (without extension) regardless, so it would still be useful if Logos 4 did the same so that we do not have to run a text  editor or a utility to find out the exact resource ID for launching it.


    I know. I wasn't doing this to get Logos off the hook, just to give us a quick & dirty workaround to use in the interim until they put that functionality which was in Logos 3 back into Logos 4.

    I too would love to have a list of all my files with their LLS codes and book titles, authors, and publication info, in Excel. In fact I'd love to see a table with that info for all of Logos's available resources (and ones they used to sell which have been discontinued since some of us still have those) and third party resources. Then I'd be able to compare my list with the larger list and see if I'm missing anything I know I bought (which I can verify on my My Account > Order History tab on the Logos website).

  • Rosie Perera
    Rosie Perera Member Posts: 26,202 ✭✭✭✭✭

    Tim, I just discovered that Logos has made available a utility program called ResourceChecksum which will make a list of all your resources by filename, with their Resource ID's. It doesn't give the book titles and other info, but this is a huge start towards what we want. I guess my little llscode utility is redundant then, but it's still a quick way to look up the Resource ID for a single file if you've just downloaded a newo ne. ResourceChecksum can take a few minutes to complete.

    You can find this utility at this post on the forum: http://community.logos.com/forums/p/8370/67103.aspx#67103

     

  • Dave Hooton
    Dave Hooton MVP Posts: 35,767

    I just discovered that Logos has made available a utility program called ResourceChecksum which will make a list of all your resources by filename, with their Resource ID's. It doesn't give the book titles and other info,

    This is an old L3 utility with Resource Id, Filename and title for all your resources. Instructions enclosed.

    Dave
    ===

    Windows 11 & Android 13

  • Rosie Perera
    Rosie Perera Member Posts: 26,202 ✭✭✭✭✭


    I just discovered that Logos has made available a utility program called ResourceChecksum which will make a list of all your resources by filename, with their Resource ID's. It doesn't give the book titles and other info,

    This is an old L3 utility with Resource Id, Filename and title for all your resources. Instructions enclosed.


    Cool! Thanks! Any info on whether they're going to provide something like that which works with Logos 4 resources?

  • Dave Hooton
    Dave Hooton MVP Posts: 35,767

    Any info on whether they're going to provide something like that which works with Logos 4 resources?

    Sorry, no.

    Dave
    ===

    Windows 11 & Android 13

  • Bob Pritchett
    Bob Pritchett Member, Logos Employee Posts: 2,280

    We're really, really, really trying to discourage any messing around with Logos resource files. There isn't even necessarily a one-to-one mapping from files to "resources" in your library, and this will probably get more confused in the future.

    We let you set the short title of a resource, which you can use to open it. If you find a resource in the command bar and it wasn't the default selection for what you typed in, your selection of it from the command bar drop down will be remembered, and it will be the default next time.

    We're trying to make opening them as easy as possible.

    We're also looking to add a "last updated" column to the Library details view, so you can find recently used resources.

    Hopefully these things together can remove any need to work with the files themselves. If I missed a case, please let me know.

  • Tom Bartzsch
    Tom Bartzsch Member Posts: 73

    We let you set the short title of a resource, which you can use to open it. If you find a resource in the command bar and it wasn't the default selection for what you typed in, your selection of it from the command bar drop down will be remembered, and it will be the default next time.

     

    Does this mean if I create a short title that duplicates an existing short title that I didn't know about - there is no problem with Logos 4 finding the resource with the "Open" command?

     

    Thanks,

    Tom

    1 Cor 2:2

  • Dominick Sela
    Dominick Sela Member Posts: 3,641 ✭✭✭


    We're also looking to add a "last updated" column to the Library details view, so you can find recently used resources.

    If "recently used" means "recently updated from the server", this sounds great and would eliminate a lot of my need to see what files correspond to what resource.  Thanks!

  • Damian McGrath
    Damian McGrath Member Posts: 3,051 ✭✭✭

    If I missed a case, please let me know.

    Bob,

    the one case you missed is the ability to open a resource based on its file name.

    We have no other way of knowing what has been updated than to open the resource folder. This gives us the file names. Often, these are either clear indicators of the resource (godsword.logos4 is an example) or the LLS code allows us to discover what the resource is.

     

    Signed,

    still confused as to why there is not at the very least a list of updated resources/files made available.....

  • Dominick Sela
    Dominick Sela Member Posts: 3,641 ✭✭✭


    Bob,

    the one case you missed is the ability to open a resource based on its file name.

    We have no other way of knowing what has been updated than to open the resource folder. This gives us the file names. Often, these are either clear indicators of the resource (godsword.logos4 is an example) or the LLS code allows us to discover what the resource is.

    Damian, I think that is exactly what Bob is addressing when he said "We're also looking to add a "last updated" column to the Library details view, so you can find recently used resources."

    So instead of looking at the Resource folder after an update, you open the Library, ensure its sorted by last updated, and you will see the resource(s) that came down today (or whenever).  That's much more elegant and gets us away from filenames.  Bob's note also implies that using filenames will be misleading or won't have the intended affects we desire moving forward, due to something they may be doing with resources. 

  • Damian McGrath
    Damian McGrath Member Posts: 3,051 ✭✭✭

    Damian, I think that is exactly what Bob is addressing when he said "We're also looking to add a "last updated" column to the Library details view, so you can find recently used resources."

    So instead of looking at the Resource folder after an update, you open the Library, ensure its sorted by last updated, and you will see the resource(s) that came down today (or whenever).  That's much more elegant and gets us away from filenames.  Bob's note also implies that using filenames will be misleading or won't have the intended affects we desire moving forward, due to something they may be doing with resources. 

    While I am all for the ability to see updated files within the library, I sometimes wonder what files have been downloaded based on the size of the download (and the time for the subsequent indexing). There is no way within the library to know how large files are. Looking in the resource folder enables us to identify not just what was downloaded but also the size of each file. 

    I don't read in Bob's post how filenames could be misleading - surely the program would not function if there were not unique file names.

    PS. I still want to know what the updates are before I download them....

     

     

  • Tim Lord
    Tim Lord Member Posts: 103

    What drove me into this question in the first place is that noticed a discrepancy of 3 more resources in the total Library count on my desktop PC versus the Library count of all my resources on my laptop PC (it's a large number).  The total file count in the Logos 4 "Resources" directory of the hard drive on each PC is was identical.  In fact, a couple days earlier I had just finished setting up my laptop PC using "Method 1" on the Wiki to set up a second PC wihout having to download all my resources and without having to create a brand new Index on the second PC.  Then there were some automated downloads (the J. Oswald Sanders collection I pre-ordered was released).  However, a day or so after that, (I think), my total Library resource count no longer matched between the two PCs.  This is what got me to thinking that maybe it was the recently released collection, that somehow one of my two PCs is not yet fully synched up correctly, and I was trying to figure out the problem by forcing a launch of the new resources by using file name (and learning from this thread to use the "LLS:" command to do that). The new resources did launch that way (and do appear now in my Library listing), but my total Libarary counts are still off by exactly the same number.  No success.  I then followed all but one of the procedures in the Wiki to rectify this type of problem, but to no avail.  Today I did the final procedure left that I could find in the list of suggestions on how to resolve this problem, which is to run the "Scan" command.  However, I still have no success as yet in getting the Library resource counts to match, so something still seems "corrupted".  I'm not sure what to do next, short of rebuilding Logos 4 on my laptop PC.  I wanted to avoid this drastic measure, so I welcome any more suggestions from anyone still reading this thread.  Thank you.

  • Rosie Perera
    Rosie Perera Member Posts: 26,202 ✭✭✭✭✭


    I don't read in Bob's post how filenames could be misleading - surely the program would not function if there were not unique file names.

    The filenames will of course always be unique, but there might not always be a one-to-one mapping between filenames and Resource IDs. You might have a file that contains two resources (or rather, they'd like to keep open the possibility of implementing it that way sometime in the future), or a resource that spans across multiple files. There is also the confusion between what filenames stand for true "resources" that you would see listed in your library, and whate files are for features that show up elsewhere like in Passage Guides (Biblical People/Places/Things, for example). Also, they might decide to rename files at some point (like they did with some of the Lexham resources). I think Bob just doesn't want us to rely upon always being able to tell what or how many resources we have by looking at the files.

  • Dave Hooton
    Dave Hooton MVP Posts: 35,767

    Resources that show in your Library are *.lbxtml; *.lbxlls; *.lbxclv; *.logos4.

    *.lbxtml are type:timeline

    *.lbxclv are type:Clause Visualization

    Your Library count will match a (count of these files -2), of which one is the Help file.

    Biblical People/Places/Things are not Library resources.

    Dave
    ===

    Windows 11 & Android 13

  • Rosie Perera
    Rosie Perera Member Posts: 26,202 ✭✭✭✭✭


    Biblical People/Places/Things are not Library resources.


    I know, but they are files, so they could confuse someone who was counting files and expecting that to match up with resources.

    image