Tag Archives: Windows 8

Blender 3D – screencast keys addon.

Fist you need to take the python script from here.
The script need to be into Blender script folder to be used.
Open the Blender 3D application, go to the File – User preferences search the word Screencast and enable the addon by check the checkbox.
To use this addon then go to the 3D View, hit Shift+Alt+C keys.
Another way is to press N key to see the right panel and then use the Start Display button.
See the next image:
Blender 3D addon

Posted in 3D, All, Blender 3D. Tagged with , , , , , , , , , , .

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 to assign the permission for your user to write into script folder.
The main reason come from your software – the LibreOffice and your script editor for python language need to using this path: C:\Program Files (x86)\LibreOffice 5\share\Scripts.
If you using one of the linux OS then he path will be: /Applications/LibreOffice.app/Contents/Resources/Scripts/python/.
Your script can be run using the LibreOffice macro : Tools – Macros – Organize Macros – Python.
This allow you to see the python files and also can be run with Run button.
I used LibreOffice version: 5.2.3.3 to make one default python script.
I open my python script with the LibreOffice default interface ( not Writer, Calc, Base, etc.) and this allow me to run python scripts for any type of LibreOffice apllications.
Let’s see the python script:

The output of the running script will be open under new document named Untitled 1.
The content of this result is: The Python version is 3.3.5 and the executable path is C:\Program Files (x86)\LibreOffice 5\program\soffice.bin.
The size of the text is 12, Default Style and font is Liberation Serif.
The python script is simple: Is like take the interface model and put some text into that.
About hasattr part is just for reduce your possible errors and avoid confusing differences in behavior between Python 2 and 3.
Don’t use Python’s hasattr() unless you’re writing Python 3-only code and understand how it works.
The sintax under Python 3 is:
hasattr(object, name)

The arguments are an object and a string. The result is True if the string is the name of one of the object’s attributes, False if not. (This is implemented by calling getattr(object, name) and seeing whether it raises an AttributeError or not.)

Posted in All, LibreOffice, Programming, Python, Windows 8. Tagged with , , , , , , .

Network and Windows – ipconfig command.

This is a short tutorial about the ipconfig command.
This command works with Windows operating system: Windows 10, Windows 8 and some old versions.
You can read all about this command from here.
Let’s start with basics:
– to read short info about your network, just use this:

– to see more info then you need to use this:

– to reset all to default network:

– send one message to release the current DHCP configuration and discard the IP address configuration for either all adapters:

– resets the contents of the DNS client resolver cache, with:

– show us the the contents of the DNS client resolver cache (example: clients.l.Google.com is Google in Mountain View, California, United States.)

NOTES:
If you use old windows versions like Windows Millennium Edition, Windows 98, and Windows 95 then is need to use winipcfg command.

Posted in All, Commands, Windows 10, Windows 7, Windows 8. Tagged with , , , , , .

Using wevtutil command under Windows – part 001.

This command let you to retrieve information about event logs and publishers, to install and uninstall event manifests,run queries, and to export, archive, and clear logs.
I will start with simple examples to see how is working.
First you need to know the events can be see also with windows tool named Event Viewer.
This tool can be found with Control Panel – search Event.
Take a look at Windows Logs – Application. You can see that some logs are created to show how it works.
For today I will deal with this part. The sintax of this command:
wevtutil [{el | enum-logs}] [{gl | get-log} [/f:]]
[{sl | set-log} [/e:] [/i:] [/lfn:] [/rt:] [/ab:] [/ms:] [/l:] [/k:] [/ca:] [/c:]]
[{ep | enum-publishers}]
[{gp | get-publisher} [/ge:] [/gm:] [/f:]] [{im | install-manifest} ]
[{um | uninstall-manifest} ] [{qe | query-events} [/lf:] [/sq:] [/q:] [/bm:] [/sbm:] [/rd:] [/f:] [/l:] [/c:] [/e:]]
[{gli | get-loginfo} [/lf:]]
[{epl | export-log} [/lf:] [/sq:] [/q:] [/ow:]]
[{al | archive-log} [/l:]]
[{cl | clear-log} [/bu:]] [/r:] [/u:] [/p:] [/a:] [/uni:]

Let’s start:
– show us the four most recent events from the Application log in textual format:
wevtutil qe Application /c:4 /rd:true /f:text
– display the status of the Application log:
wevtutil gli Application
– save logs to C:\backups\today.evtx and clear all of the events from the Application log:
wevtutil cl Application /bu:C:\backups\today.evtx
– show the configuration information about the Application log on the local computer in XML format:
wevtutil gl Application /f:xml
I will come with many example of this command. Thank you.

Posted in All, Commands, Windows 8. Tagged with , , , .

Managing your bookmarks with xmarks.

This tool works by cloud-storing your bookmark files and synchronizing them between computers.
I used this tool from at least 7 years.
The tool synchronization allowing for full merges or overwrites from the server or any linked workstation.
Come with addons for Firefox and works well with Chrome,Internet Explorer and Safari.
The next image show you how data bookmarks from server will restore your bookmarks:
xmarks free tutorials

Posted in All, web, Windows 10, Windows 7, Windows 8, Windows XP. Tagged with , , , , , , .