Archives for: December 2009

12/29/09

Permalink 07:31:06 pm, by truewill Email , 99 words, 536 views   English (US)
Categories: Tips, Windows, Web

Speeding up IE 8

I finally got tired of the “Connecting…” message and associated delay when starting Internet Explorer 8, and did some searching. This worked for me; your mileage may vary. No warranties.

In IE 8:

Tools/Manage Add-Ons
Toolbars and Extensions

Select Java™ Plug-In 2 SSV Helper
Disable (OK if disables other helper)
Close

Tools/Internet Options
General
Under the “Tabs” section, click Settings
When a new tab is opened, open: A blank page
OK

These were two of the links that helped me find this info:

https://connect.microsoft.com/IE/feedback/ViewFeedback.aspx?FeedbackID=366238

http://forums.sun.com/thread.jspa?threadID=5343459

12/13/09

Permalink 10:49:28 am, by truewill Email , 192 words, 407 views   English (US)
Categories: Tips, Windows, Tools

AutoHotkey - Display all Hotstrings

I wrote my first real AutoHotkey script yesterday. I’ve been using the program for a week or so to provide keyboard macros, but I wanted a way to list all of my hotstrings (abbreviation-expanders).

I set up my hotstrings to start with two dots (..) and to not require an ending character (like space or tab). So if I type “..e” it will be replaced with my email address. That’s set up as:

:c*:..e::myemail@my.domain

Here’s my first cut at a macro to list the hotstrings in the current script. I haven’t found a way to get at the metadata for this yet, so I’m loading the current script file as text and parsing it with regular expressions. Note that this does not depend upon my two-dot convention. It does have to be in the same file as the hotstrings, though. I don’t list the expansion text, as that can get pretty long (snippets of SQL, etc.).

; == HOTKEYS ==

#H::
; Windows + H: Display all Hotstrings

FileRead, ScriptContents, %A_ScriptFullPath%

if not ErrorLevel
{
  AllHotstrings := ""

  Loop, parse, ScriptContents, `n, `r
  {
    if (RegExMatch(A_LoopField, "^:.*?:(.+?)::", SubPat))
    {
      AllHotstrings := AllHotstrings . SubPat1 . "`n"
    }
  }

  MsgBox 0, Hotstrings, %AllHotstrings%
}

return

Development Central

Development Central is the blog of Bill Sorensen, a professional software developer. Much of this will relate to C#, .NET, and OOP in general.

Disclaimer
These postings are provided "AS IS" with no warranties and confer no rights.

Search

Categories

Linkblog

b2evolution

contributors

XML Feeds

What is RSS?

Who's Online?

  • Guest Users: 2

powered by b2evolution free blog software