I went looking for a way to capture window events in order to trigger actions when a specific event occurred and I came across this post with an AutoHotkey script that does just that. It’s necessary to know what shell message to look for when adding in your own code. This information is given by another AHK script located here.
With the shell information collected you can now add your own code to trigger certain actions on specified window events. Two ways that I’ve used so far to match window titles is as follows:
1) If (Title = “Windows”)
2) IfInString, Title, Battlefield
Method #1 is fine most of the time unless the window title uses abstract characters. For example the Battlefield game window uses the title “Battlefield 3™”. If you paste that exact title into the script the if statement will evaluate to false. In order to get around this issue I used IfInString. While this fixed my initial problem a new problem appeared in its place which triggered the event when I launched the Battlelog website in my browser. To get around this I added another IfInString statement within the first that looked for the proper class.
My current backup program of choice is Areca Backup which is open source and is hosted at sourceforge. I make a separate target profile for each piece of software that I’m backing up so I can backup only the necessary files. Areca handles this method without fail but because there isn’t a built in scheduling system it can be a hassle exporting each individual target backup. There’s an option to run a single export for every target in a group but I have a few targets that I don’t want to backup on a schedule in my main group.
One method of scheduling backups is to run the wizard “Generate backup strategy commands…” which is located in the right click context menu.
My current backup strategy is as follows:
One archive each 1 day, 7 times
Then one archive each 7 days, 3 times
Then one archive each 28 days, 1 time
The browser extension HTTPS Everywhere has a conflict with Overclock.net that prevents thread previews from displaying on hover and the subscribe button is made non-responsive. In order to fix these issues open HTTPS Everywhere’s preferences and enter “Yahoo!” into the search box. Right click on “Yahoo! (partial)” and select toggle to disable the filter. If Overclock.net was open while you changed these settings then refresh the page and both features should work normally.
Download and run the cygwin setup.exe (direct download link).
The setup process is straightforward. Choose the directories you’d like to use and install the default current packages. On the page after the package choices make sure to keep the option to download the required packages checked. That’s all that needs to be done to setup cygwin.
Prepare Tree Style Tab
Download the latest Tree Style Tab files here by clicking on the button labeled “ZIP”.
Extract the zip file into a folder named “treestyletab” in a location of your choosing. For this example I’ll put the folder in “C:\treestyletab\”
Run the cygwin terminal and enter the following commands one at a time:
Now there should be a file entitled “treestyletab.xpi” in the root directory of the folder you created. For example the location of my newly created file is at “C:\treestyletab\treestyletab.xpi”. Drag this file into Firefox, install the add-on, and restart Firefox.
About a month ago a Tree Style Tab commit to raise the tab height for the “Metal” skin also affected the “Sidebar” skin.
If you’d like to revert these changes and decrease the tab height then do the following:
1) Download the latest treestyletab.xpi
2) Open the xpi file with 7-Zip (or a similar program)
3) Navigate to chrome -> treestyletab.jar -> skin -> classic -> treestyletab
4) Double click on the file “ui.css”
5) Remove line #233 which should only contain min-height: 22px; and save the file
6) At this point 7-Zip displays a pop-up:
File ‘ui.css’ was modified.
Do you want to update it in the archive?
Click “OK” and exit 7-Zip
7) Now there should be another pop-up:
File ‘treestyletab.jar’ was modified.
Do you want to update it in the archive?
8) Drag the updated treestyletab.xpi into Firefox, update the add-on, and restart Firefox.