27 October 2015

AkelPad: text navigation by paragraph using ctrl+down

It's easy: just use the Hotkeys plugin!


Name: Find next paragraph
Command:
Call("Scripts::Main", 7, `AkelPad.TextFind(0, "\A[ \t]*\n\K(?=[ \t]*\S)|(?<=\n)[ \t]*\n\K(?=[ \t]*\S)", 0x00080001 /*FRF_DOWN|FRF_REGEXP*/)`)
Hotkey: Ctrl + Down


Name: Find previous paragraph
Command:
Call("Scripts::Main", 7, `AkelPad.TextFind(0, "(?<=\n)[ \t]*\n\K(?=[ \t]*\S)|\A[ \t]*\n\K(?=[ \t]*\S)|\A(?=[ \t]*\S)", 0x00180000 /*FRF_UP|FRF_REGEXP*/)`)
Hotkey: Ctrl + Up


Via.

23 October 2015

Download Windows 10 Wallpapers and Lock Screen Backgrounds

Windows 10 Preview Builds:
C:\Users\user_name\appdata\Local\Packages\Microsoft.ContentDeliveryManager_xxxxxxxx\LocalState\Assets\

Windows 10 Final Version:
C:\Users\user_name\appdata\Local\Packages\Microsoft.Windows.ContentDeliveryManager_xxxxxxxx\LocalState\Assets\


You can directly access the folder using %localappdata% environment variable:

Windows 10 Preview Builds:
%localappdata%\Packages\Microsoft.ContentDeliveryManager_xxxxxxxx\LocalState\Assets\

Windows 10 Final Version:
%localappdata%\Packages\Microsoft.Windows.ContentDeliveryManager_xxxxxxxx\LocalState\Assets\


Here xxxxxxxx will be random letters and numbers in folder name.

In this folder, you'll find several files without any extensions. Actually all these are .JPG files which are used to show backgrounds on Lock Screen.

Rename them with .JPG extension and you'll have the hidden background images.


Via.

02 October 2015

Eseguire file batch come amministratore / Execute batch file with elevated user


Launchapp.wsf








Creare un file batch per lanciare altri file:

Launchapp.bat
cscript C:\Users\xxxx\Batch\Launchapp.wsf %1 %2 %3 %4 %5 %6 %7 %8 %9

Installare VirtualBox in Windows 10

Se si ottiene questo errore:
Failed to create extraction path 'C:\Users\xxxx\AppData\Local\Temp\VirtualBox': VERR_ALREADY_EXISTS

eseguire il file scaricato con questi flag:
VirtualBox-4.3.40-101610-Win.exe --path .\tmp --extract

e poi lanciare a mano il setup.


Trovato qui.