Opening of a Branch Line

I received an order of 3 girder bridges from a Hungarian garden rail modeller back last year. Winter came and the project was put on shelve. As spring came the project restarted and I delivered the laser cut parts this Tuesday. I had about 1 hour to check on his new models M40 loco, some finished 2 axle coaches and the new station building. The finish movie made into Youtube yesterday:

I am absolutely amazed of the finished models. I find all details to be superb, paint job to be authentic. Construction of the line is also very appealing and I am thinking about using the same technique for my own layout.

Add a comment

Go live countdown timer in Powerpoint

I was asked to do a countdown timer in Powerpoint that would show the number of days, hours, minutes and seconds left to a go live date. I looked around and found quite few examples. Most of them just simple count downs from 5-4-3-2-1 that was achieved using animation. It was clear that I need VBA code to make it happen.

Finally I came up with this. It is a piece of code which gets activated when the user clicks on the "timer" shape on the cover page. Than it shows the remaining time on ever single page of the presentation.

timer1

timer2

Unfortunately there are a few restrictions in Powerpoint and also differences between PPT 2003 and 2007 onwards. First of all, there are no in-built events, so I cannot make the timer to start automatically. There is a possibility to install plugins, but than it would only work on the computer where the plugin is installed and quite frankly does not worth the effort. Secondly it is not possible to name objects in PPT 2003. When you create a new shape (circle, rectangle) it gets named automatically (Circle 1, Rectangle 1) and you cannot change the name of it. You can in PPT 2007. Therefore it is difficult for the code to identify where to print countdown. So what I have done that the code finds the last shape on each page and updates the text of that shape with the timer text.

My sample countdown timer Powerpoint

Let's see how it works, and how to make your own go live timer.

Download and open the sample presentation above. Also open your presentation where you want to include the timer. Now open the Visual Basic editor. It is in menu Tools / Macro / Visual Basic Editor, or Alt+F11 for short. On the left you see my sample and your presentation. Right click on your presentation and from the pop-up menu select, Insert, Module as below:

timer vba

Now you will see Modules / Module1 in your presentation as well. Double click on Module1 on the sample document and copy all the code to Module1 of your presentation. Scroll to the top of the code and find the following line:

Public Const TargetDateTime As Date = "20/10/2012 15:17:00"

This is where you set the target date. Keep the DD/MM/YYYY HH:MM:SS format. This is all the coding that is required.

Let's assume that your presentation is now complete (all text, image, chart, etc. added). Add a shape to each page where you want the countdown text to appear. Make sure that the shape is long enough or wrapping is turned on for the textbox inside the shape. Now there is one last step to do.

Assuming that you have a timer on the front page, select that shape (or any other shape which you want to be the "ON/OFF" switch for the timer), right click and select Action Settings. In the new window, select "Run Macro" option and select "TimerOnOff" from the dropdown.

Save your file and start the presentation. Once you click on the shape (one you assigned the action to) the timer will start and will update the text every second on every single page of the presentation. The macro continues to count down when you leave the presentation mode and back to editing. 

Add a comment

Marklin BR18 steaming on the bench

So I thought that I managed to fix the water feeder valve. I could unscrew the nut below the burner and remove the valve without taking the whole cab apart. There was nothing wrong with the valve I could tell. I have taken it apart, lubed the moving parts, replaced insulation. It appeared to be working, but it takes ages to fill up the boiler. So the issue still exists, and I need to find a proper solution.

As before I filled the boiler through the safety valve and steamed it up, putting the loco on rollers. See the video below on this:

Add a comment

Here we go again

As I mentioned on my previous blog, I was thinking about refreshing this site as it has been like that for the last 4-5 years. Due to the nature of the site, I am probably better off (get more visitors) if I continue in English.

So this is the new English site. New skin, but the content will remain pretty much the same. Enjoy.

Add a comment

hgrm tall

Youtube Videos

Copyright © 2012 Nygma's Site. All Rights Reserved.
Joomla! is Free Software released under the GNU General Public License.
BilerChildrenLeg og SpilAutobranchen