Posts

Outlook VBA Script that gets info on currently selected email using Property Tag Syntax

Outlook VBA Script that gets info on currently selected email using Property Tag Syntax Option Explicit ' VBA Script that gets info on the currently selected email using 'Property Tag Syntax' ' (see other scripts a http://www.GregThatcher.com for other ways to get email properties) ' Property Tag Syntax is used for Outlook Properties (defined by Outlook Object Model) ' as opposed to Named Mapi Properties (defined by Outlook, but only exist if Outlook has added that property to the item of interest) ' or UserProperties (visible to users, and can be added dynamically to an item) or Named Properties (not visible users, can be added dynamically) ' Use Tools->Macro->Security to allow Macros to run, then restart Outlook ' Run Outlook, Press Alt+F11 to open VBA ' Programming by Greg Thatcher, http://www.GregThatcher.com ' THIS SCRIPT WILL ONLY RUN ON OUTLOOK 2007 OR LATER (it won't work on Outlook 2003) ' Types of Properties Const...

Como fazer un shortcut para uma pasta parecer uma pasta "real"

In Windows 10, Windows 7 Professional, and possibly other versions, you can create 'Folder shortcuts' without any command line work or any external tools. Here is how: Navigate to "%APPDATA%\Microsoft\Windows\Start Menu" In a separate window, open the parent folder of your new shortcut's target-folder (where the shortcut will point to) Right-click and drag the target-folder into the 'Start Menu' folder. Click 'Create shortcuts here'. Move the new shortcut to the desired location. The shortcut will be sorted with folders, will show up in the navigation pane, and can be pinned to quick access (and the start menu). However, if you go into the properties of the shortcut, you will not be able to change the target, keyboard shortcut, icon, or any other properties. Additional Information: The shortcut will also produce a bizarre path in explorer. For example, if a shortcut to the C:\Users\USER folder is placed in the C:\Users\USER\Documen...
Google Drive full files list List Google Drive Folder File Names and URLs to a Google Sheet This Google Apps script produces a new Google sheet containing the list of files in a Google Drive folder, along with their URLs on Google Drive. Such a file is helpful for  creating a datalinks manifest  for  importing datalinks into an ortext . Steps for installing and running the Google Apps script: Open a new Google Sheet document from the Google account for which you want a Google Drive directory listing. In the toolbar for the new Google Sheet, go to  Tools -> Script editor Create script for:  Script as Web App A code editor will open. Replace any sample code in the editor with the code below. Within the inserted code, replace  your-folder  with the name of folder for which you want a listing. Save the inserted code; application will ask for a file name. Run by clicking on the right-pointing triangle in the button bar. ‘Authorization re...

[Shared Post] Windows, XAMPP, and CYGWIN

Windows, XAMPP, and CYGWIN February 13, 2010 Tech I’ve really been geeking-out lately setting up a couple virtual servers for recreation development. I’ve had my Linux VPS up and running for quite some time, with all the bells and whistles I could ever want. Until recently I have never really felt the necessity for a Windows server. Of course when I finally did, I gave myself a pat on the back for deciding to go virtual a long time ago. I simply created a new virtual machine, installed Windows, and went to town… The first thing to mention is that I am a novice when it comes to system administration on Windows. So as any Linux enthusiast would, I went looking for some open-source help. Of course a friend of mine showed me that  XAMPP for Windows  works pretty pain-free and runs native, which is perfect for a testing environment. So I downloaded and installed, and everything went smooth. Then that same friend gave me a great article regarding  XAMPP security . I w...

Compress folders into separate files using WinRar (using bat file)

To use the front-end, check this post . Use something like this: for /D %f in (" <main_path>\ *") do ( @echo %f "C:\Program Files\WinRAR\rar.exe" a -ep1 " <main_path>\ %~nf.rar" "%f" ) This will produce one archive per sub-folder, naming each archive as the sub-folder.

Creating custom Shell Folders

<quotation begins>   Hi, I didn't find a good custom shell folder tutorial with the right registry settings, so I share mine with a Desktop icon, a Start Menu entry and a Folder Option checkbox. This custom shell folder is usable in Explorer (browsable like My Documents) {4c64f810-31ec-11db-a98b-0800200c9a66} is a ClassID given by a GUID generator. You can call this custom shell folder by his ClassID. ex. : "explorer /e,::{4c64f810-31ec-11db-a98b-0800200c9a66}" If you know how to add a checkbox in Display Properties same as My Documents got, please tell me. Windows Registry Editor Version 5.00 ; Custom shell folder name : "Home" ( REG_EXPAND_SZ ) [ HKEY_CLASSES_ROOT\CLSID\{ 4c64f810 - 31ec - 11db - a98b - 0800200c9a66 }] @= hex ( 2 ): 48 , 00 , 6F , 00 , 6D , 00 , 65 , 00 , 00 , 00 "SortOrderIndex" = dword : 00000047 ; Custom shell folder icon : "%SystemRoot%\\system32\\SHELL32.dll,150" ( REG_EXPAND_SZ ) [ HKEY...