try my Layout Manager

I wrote a basic Layout Manager using autoit scrtping language in conjunction with the COM API for L4. I wrote it quickly and there are some bugs ( most notably that when you click outside the dialogues created some of the functions are triggered inadvertently - this I will fix when I get a chance)
In the zip file you will find a .au3 file (the script itself to modify as you wish), a .exe file (a compiled version of the script ready to run on double click (or you can make it a shortcut in your ribbon), and an example .ini file.
You can Double click the exe file and the program will run and create the ini file as you go.
Click on the Add button to add a layout to the ini file so it can be viewed and so build a list of existing layouts that can be seen. You will be prompted to enter the exact name of the existing layout as seen in the layout manager
If you want to del one of the layouts from the viewer then click on it and press the DEL key (though it will not be deleted from L4 itself -couldn't find a way to do this with the COM API)
If you have a new layout and want to save it press the save button and you will be prompted to give it a name.
If you want to load a layout double click on the layout and it will
1205.Layout Manager.zipAs long as you don't click on other windows not a part of the program it will work pretty well. I will continue to refine it so let me know how it works for you. I built this in reponse to those who are frustrated that they don't know what their current layout is in a very claer way. With this script you will see the current layout at the top of the screen.
Comments
-
Hi TIm ... I tried your program. I guess I didn't get too far. I couldn't find an 'Add' button or a 'Save' button. I'm on W7-latest and W4-latest. There is a message at the top which shows partial. This does look promising though!
"If myth is ideology in narrative form, then scholarship is myth with footnotes." B. Lincolm 1999.
0 -
Tim
Do we need to download Autoit (for the .au3 file) or can everything be done with the .exe and .ini files?
Dave
===Windows 11 & Android 13
0 -
here is the correct file with some improvements. I have fixed a few issues and it seems to work well enough for now- will
continue to improve it. Open zip and click on exe to run
use Add button to add your layouts (or build the ini file by hand)
use Save button to save current layout
Double click a layout to load it
select a layout and press DEL key to remove it (This does not remove it from L4 - you must do this by hand.
The only issue I see so far is that in certain situations when multiple
items are removed and added the ini file is not rebuilt properly
sometimes.
Please let me know how this works for you. You do not need to install
Autoit to run the exe file but you do need to install it if you want to
work with/modify the .au3 file. follow the link below to get the file. If you click on the exe file after extracting from the zip and nothing happens then something went wrong with the upload -let me know if this is the case.On Wed, Mar 16, 2011 at 12:01 AM, Tim Engwer <tengwer2@gmail.com> wrote:
I'm
sorry. I sent you the wrong compiled version and have found a few more
bugs since so I'm going to get it a little more sound and then resend
it but I won't be able to do so soon. You can install the autoit
program and run the .au3 program and see what it does. It worked fairly
well considering the short amount of time I gave it. Let me know.
On Tue, Mar 15, 2011 at 8:48 PM, Logos Bible Software Forums - Automated Email <forums@logos.com> wrote:
By Dave Hooton in Logos 4Tim
Do we need to download Autoit (for the .au3 file) or can everything be done with the .exe and .ini files?
0 -
Tim,
Can I ask a question? I don't mean this in an insulting way ok?
What issue is this software trying to solve?
I tried it...it worked just fine but it didn't seem to solve any issue that I had.
Do you get what I'm saying? It very well could be that I do need it but I just don't see it....help me out.
Robert Pavich
For help go to the Wiki: http://wiki.logos.com/Table_of_Contents__
0 -
Robert Pavich said:
What issue is this software trying to solve?
He said at the end of his first post that he "built this in reponse to those who are frustrated that they don't know
what their current layout is in a very claer way. With this script you
will see the current layout at the top of the screen."MacBook Pro (2019), ThinkPad E540
0 -
Yes. There are a lot of people who have wanted a way to be able to see what layout they currently have active and this is the only way I could see to do that in a limited way. Of course, you have to open each layout using this script to get that benefit but perhaps for some of those who had this frustration it is worth it. for others it won't be.
Also I am hoping that the COM API will be developed in an even greater way than it was with L3. With L3 you could create scripts that did all sorts of useful things that were not built into the program. I was able to create a script, for instance, that allowed me to surf the web within the L3 program and have a way to open the bible passages in the web sites to my preferred bible within L3 all this without having to have a separate internet explorer window open.
The Layout Manager uses part of the COM API (which at present is very limited) to load and save a layout. I am hoping we will be able to do a lot more than that in the future.
0 -
Just to answer your question further - for myself there are many times I have forgotten which layout I have activated and I want to update that layout to make it current. To do this I have to look at the thumbnails for each of my layouts and since some of them are very similar I sometimes had to guess which one was the active one and then hit the update button and hope I updated the correct layout. This script lets me know which layout is currently active so I don't have to spend time hunting and guessing. This is an issue which others have mentioned and hope will be solved in the near future as the layout feature is improved.
0 -
Tim
that sounds useful....where does the layout name appear? On the logos tool bar?
Robert Pavich
For help go to the Wiki: http://wiki.logos.com/Table_of_Contents__
0 -
No. After you add your layouts using the Add button and then Double click on one of them to load it you will see at the top of the layout manager below the title bar "Current Active Layout: "-------layout Name------". That's assuming it's working correctly on your computer as it is on mine. I will also be adding the ability to press a hotkey on the keyboard to automatically update the current layout (there will also be an update button in the layout manager). I am also going to try to include enlarged snapshots (like in the native L4 Layout panel but bigger so you can see the details) that you can view as you single click on each layout in your list. I should have this done soon as I already have created the update feature and it works well on my computer.
0 -
Where are my layouts? I have been using this for a while, successfully, and suddenly there are no layouts showing up in my "Layout Title" list. It shows the layout I was last open to in the "Current Layout" window. I can't think of anything new that has been done.
Thanks.
0 -
Jim
I'm not certain what could be happening. Are you saying you have no "Named Layouts" in the Layout menu? It's easy enough to create new ones and they will be saved for use later on. See this wiki article for more information http://wiki.logos.com/Layouts__
EDIT: Sorry Jim, I didn't read your Q properly.
Dave
===Windows 11 & Android 13
0 -
The layout information is stored in the file layout.ini which is in layout manager folder. Check to see if that file is there. If it is not there then for some reason it got deleted and unfortunately if you do not have a backup then you will need to recreate the layouts again in the layout manager. IF the file is there then the fie may be corrupted. If so you might be able to fix it. It is just a text file so you can edit it as needed (you could even rebuild your layouts by creating this file if it was deleted). It think the format is easy enough to follow. Bear in mind that your layouts should still be available in the L4 layout menu as they are not deleted by the program.
0 -
Here is what is in the .ini file.
[Options]
Instructions=NoShow
[Layout]
Layout Total=0
Current Layout=Romans
2=Reading
3=Inductive Study
4=Church Council
5=Church Fathers
6=Colossians
7=Ruth
8=Learning Hebrew
9=Learning Greek
10=Catholic Doctrine
What is missing?0 -
Try this:
[Options]
Instructions=NoShow
[Layout]
Layout Total=9
Current Layout=Romans
1=Reading
2=Inductive Study
3=Church Council
4=Church Fathers
5=Colossians
6=Ruth
7=Learning Hebrew
8=Learning Greek
9=Catholic DoctrineThe layouts need to be numbered starting with 1 and proceeding from there. The total # of layouts is 9 rather than 0. Replace your layout with the above and it should work correctly again.
0 -
Thanks Tim, That did it.
0