topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday December 7, 2024, 11:52 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - bft_chromeguy [ switch to compact view ]

Pages: [1]
1
Coding Snacks / IDEA: focus get (and keep, for a while)
« on: October 26, 2008, 08:05 PM »
Hi everyppl,

I know this idea is floating around on the boards but I haven't been able to get it working properly.

Basically, I have 2 text windows open - one I want to type into all the time, and one I want to type in for short periods of time.
EG: Dreamweaver and an IM chat.

I want to be able to have the main window (dreamweaver) under focus by default, but I want to be able to click in the chatbox (or any other) and for as long as I am typing there it keeps focus. After an extended period of non-activity (eg, no more typing, say, 5~8 seconds) I want to switch back to the main window (returning to work)

The following code almost does what I want, except for the "keep focus while I am typing" part.
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
#SingleInstance, force
#Persistent
#WinActivateForce
SetTitleMatchMode, 2
Inputbox, name, Program to focus, Type the name of the program to keep in focus:, , 250, 150
if name = ; If nothing is entered for the app name exit script
{
exitapp
}
Inputbox, time, How long to wait, How long should I wait before reactivating? (milliseconds):, , 250, 150
If time =
{
time := 5000
}
SetTimer, WatchWindow, %time%
return

WatchWindow:
IfWinActive, %name%
{
return
}
Else
{
Sleep 5000
;some if-key-pressed-reset-sleep-timer code
WinActivate, %name%
}
Return
Thanks in advance

2
Hi there ppl,

I am working on compiling a massive list of common IM shorthand/misspellings and real english translations.
Sometimes you need to send an email to the boss or to your mum, but can't be bothered typing properly (or can't remember how)

If you have suggestions for the list, by all means let me know so I can add them!
I am using AutoHotKey - feel free to grab the script and try it out!
It is a simple text expander (autocomplete) targeting IM users.

So far I have thus:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;IMdecrypter
;AutoHotKey script by bft_chromeguy
;Translate IM text into real english
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Thanks to:
;•rozzA•YourNameHere•••
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
;Remove endbrackets]) from triggering hotkeys - this is annoying during msn im sessions [k types ok, but (k) makes a kiss, but it gets triggered like: (ok) <--crap]
#Hotstring EndChars [{}:;'"\,.?!`n `t
;
;
; -=Personal Dictionary=-
:R:hi ::Hi there (,^^) how's it going?
:R0:hh::haha
::kbd::keyboard
::prog::program
;(double-tap "spacebar" to activate the following)
::win ::Windows
::winxp ::Windows XP
::winv ::Windows Vista
::win7 ::Windos 7
::rc ::right-click
::lc ::left-click
::mc ::middle-click
::mcx::click on the wheel
::dc ::double-click

; -=Typonese=-
::thaty::that
::thast::that
::thatys::that's

; -=single letters=-
::b::be
::u::you
::r::are
::i::I
::k::ok
::y::why
::c::see

; -=two letters=-
::ic::I see
::jk::just kidding
::nm::not much
::np::no problems
::ru::are you
::ur::your

; -=three letters=-
::ahd::had
::bbl::be back later
::btw::by the way
::cld::could
::cnt::can't
::coz::because
::dno::don't know
::dnt::don't
::hbu::how about you
::hes::he's
::idk::I don't know
::ive::I've
::jks::jokes
::mna::man
::nvm::never mind
::ofc::of course
::plz::please
::ppl::people
::teh::the
::thx::thanks
::ure::you're
::urs::your's
::uve::you've
::wld::would
::yuo::you

; -=four letters=-
::ahte::hate
::ahve::have
::cant::can't
::dont::don't
::hows::how's
::itll::it'll
::jsut::just
::liek::like
::nite::night
::ppls::people
::sadi::said
::shld::should
::taht::that
::wont::won't


; -=five or more=-
::arent::aren't
::becoz::because
::cldnt::couldn't
::didnt::didn't
::thats::that's
::wasnt::wasn't
::whats::what's
::wouldnt::wouldn't
::urself::yourself
::youre::you're

; -=Capitalisation=-
::monday::Monday
::tuesday::Tuesday
::wednesday::Wednesday
::thursday::Thursday
::friday::Friday
::saturday::Saturday
::sunday::Sunday

::january::January
::february::February
;::march  <- common regular word. will interfere too much. use doubletap
::april::April
;::may <- common regular word. will interfere too much. use doubletap
::june::June
::july::July
::august::August
::september::September
::october::October
::november::November
::december::December

; -=ThreeLetter Space=- (double tap 'spacebar' to use)
::mon ::Monday
::tue ::Tuesday
::wed ::Wednesday
::thu ::Thursday
::fri ::Friday
::sat ::Saturday
::sun ::Sunday

::jan ::January
::feb ::February
::mar ::March
::apr ::April
::may ::May
::jun ::June
::jul ::July
::aug ::August
::sep ::September
::oct ::October
::nov ::November
::dec ::December

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;END;of;IMdecrypter;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

•Created Oct26 2008
•Updated Oct30 2008
C'mon people, where's the input? Am I missing something? Is there another program that already does this?
•Updated Nov15 2008
List now contains fixes and additions for many annoying accidental activations.

3
DC Member Programs and Projects / XPlorerSkin
« on: October 10, 2008, 01:36 AM »
Hi,

Check out my little program: XPlorerSkin
Untitled-1.jpg
It skins a bitmap to your Explorer window toolbar, as seen in the screenshot.
This can be ANY bitmap or icon file.
NO malware of any kind, it simply changes one single line in your registry.

Try it!

Edit:- No uninstaller included sorry, simply remove the /XPlorerSkin folder and shortcuts

Pages: [1]