Disable sandbox for local flash applications

Howto deactivate the flash sandbox for locally running flash applications?

Create the following directory structure in your Windows profile directory

ApplicationData\Macromedia\Flash Player\\#Security\FlashPlayerTrust

There you can add arbitrary files with the name *.cfg . Flash player will parse them all. Inside one such file you can add multiple pathes, each path name in a new line. Path can point to directories or single SWF files. If a directory name is given the sandbox is disabled for SWF files in the whole subdirectory structure.

As an administrator there is also the possibility to set those pathes for all users of a computer. For more information see Adobe’s flashplayer security manual.

Sending emails with windows scripting host

You can send emails from within Windows scripting host with the following code (VBS in this case):

Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = "My Subject"
objMessage.From = "From Header"
objMessage.To = "Recipient Address"
objMessage.TextBody = "text in body"
objMessage.AddAttachment("Path/to/file")
objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "mailserver.example.com"
objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
objMessage.Configuration.Fields.Update
objMessage.Send

This should work with all recent Windows versions, starting at least with Windows XP as CDO message gets installed by default.

Autohotkey, ac’tivAid und Vimperator

Autohotkey ist eine Windows-Scripting-/Automatisierungs-Lösung. ac’tivAid ist ein darauf basierendes Projekt des Heise-Verlags, das den Umgang mit Autohotkey vereinfacht und einige grundlegende und nützliche fertige Skripte zur Verfügung stellt. vimperator ist ein Firefox-Plugin welches VIM-ähnliches Verhalten im Browser ermöglicht.

Leider wird in Verbindung mit vimperator die spezielle ac’tivAid-Variable %Selection% nicht befüllt.

Continue reading “Autohotkey, ac’tivAid und Vimperator”