Archive for August, 2008

Open with UE Studio – Context Menu option for all files

I often want to open random files in my favorite text editor, UltraEdit Studio to take a quick peek at the contents. However, often the files don’t have a recognized extension, have an extension that is associated with something else, or have no extension at all. Some time ago I added a link to the “Send to” menu, which works, but it’s always an extra step to navigate to the Send to sub-menu first. This is a common operation. Google search quickly produced a post in Wes’s Puzzling Blog that outlines how to add a context-menu option for Notepad. It worked, almost. I had to make one small change (besides the cosmetic text change from “Notepad” to “UE Studio”).

Here’s my version:


[HKEY_CLASSES_ROOT\*\shell]

[HKEY_CLASSES_ROOT\*\shell\openuestudio]
@=”Open with UE Studio”

[HKEY_CLASSES_ROOT\*\shell\openuestudio\command]
@=”c:\\Program Files\\UEStudio 06\\uestudio.exe” %1

I had to move the file variable %1 outside of the quote marks in order for it to work, possibly because there is a space in the file path.

You can also download open_with_uestudio.reg that, once saved (with .reg extension) to a local hard drive, can be used to add the necessary keys into the registry by double-clicking on the file (obviously it only works unmodified if you have UE Studio installed, and in the same path as on my system). This works on Windows XP and Windows 2003 Server, not sure about Vista.

Disclaimer: Always be careful when editing/modifying registry. This worked for me but I’m not responsible for broken installs if you mess it up!

Yahoo! Widgets Off the Screen! (And How to Get Them Back)

I like Yahoo! Widgets (formerly known as “Konfabulator”). I use XP for some time to come and thus don’t have the option to use Vista’s widgets (the only thing in Vista that currently has some draw to it is DirectX 10, but I digress..). Every now and then a widget “gets lost”. For example, when starting a program (like a game) that changes the display resolution, the widgets get tossed around seemingly randomly, and sometimes they end up outside of the active (and possibly maximum) resolution of the display. Closing a widget and reopening it won’t help. Uninstalling Yahoo! Widget Engine probably helps, but who wants to do that regularly? There’s an easy registry fix (and if the problem is frequent, one could even write a small batch file that would place the widgets at their desired locations).

Shut down Widget Engine first (also from the system tray), then find the following key in your registry with regedit (you may want to use search especially if the system has many users and thus many SIDs).

The keys that determine the widget locations can be found at

HKEY_USERS \
user’s security ID, or “SID”,
… e.g. S-1-5-21-1482476501-362288127-1801674531-1233
\
Software \
Yahoo \
Widget Engine \
Widgets \
widget name, e.g. “Calendar” \
Windows \
Main Windows \

Positions <- delete this binary value

Then restart Widget Engine (and reload the “lost” widget if it’s not loaded by default). It the default placement is in the middle of the screen (or middle of the “active” screen on some multi-monitor systems).

Disclaimer: As always, the usual disclaimers and warnings apply to any registry mods. Know what you’re doing since it is possible to destroy your Windows installation with careless registry edits.