LinkedInTwitterFacebook

Tag Archives: scripting

JavaScript – geolocation.

This is a simple java script to take the geolocation and show it on webpage. The example start with a default HTML 5 page and the part from tags scripts get the geolocation and using innerHTML is show on webpage. To see the location then is need to use this: navigator.geolocation.getCurrentPosition.

JavaScript – toggle button example.

Is a simple example about toggle button. You need to start with input button and then get the state of this

Then add the type and id and style. You can remove the text-indent: -9999px; and Toggle button if you don’t want to see text to this toggle button. Let’s see the full source […]

Using FontForge application – part 001.

FontForge requires an X server to be running so it can display its user interface. This distribution happens to use VcXsrv, which can allow for remote connections – since FontForge doesn’t use (or require) that, it is safe to keep blocking vcxsrv.exe. – just check Private networks, such as my home or work network. About […]

Unity 3D – C# script – save and load file.

This is a simple C# script example for a C# class Player. The class Player come with this content into Player.cs C# script:

To make this C# script for saving the Player into one file I used this C# script named SaveLoadManager.cs:

The script come with two parts for save and load files. […]

Python and LibreOffice – part 001.

As you know the LibreOffice includes several applications that make it the most powerful Free and Open Source office suite on the market: Writer (word processing), Calc (spreadsheets), Impress (presentations), Draw (vector graphics and flowcharts), Base (databases), and Math (formula editing). This tutorial is about LibreOffice and python scripts used like macros. First you need […]