AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ArbExpansion

 
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
.AHK



Joined: 26 Apr 2006
Posts: 657
Location: New Mexico, USA

PostPosted: Mon Aug 21, 2006 1:41 am    Post subject: ArbExpansion Reply with quote

ArbExpansion is a script that I wrote to expand internet used abbreviations.

ArbExpansion.zip

ArbExpansion Script
Code:

#SingleInstance ignore
#NoEnv

Helptxt=
(
ArbExpansion is a program designed to expand internet used abbreviations such as "brb".`n
Typing "brb", then a space or other ending key would input: "Be right back".`n
To pause/unpause the abbreviation expansion select "Pause" from the system tray options.`n
Only the most commonly used internet abbreviations have been added.`n
You can exit the program by pressing Windows Key+E or by clicking on "Exit".`n
To run the program on Startup add a shortcut of the file to your Startup folder.`n
If you notice a missing abbreviation or if you have any problems with this program.`n
Message "hiddentrojan" on AOL Instant Messenger, or email me: gt4awd@lycos.com`n
This program is freeware developed using AutoHotKey at "www.autohotkey.com".
)

Arbtxt=
(
btw-By the way
bbl-Be back later
dl-download
wtf-What the f*ck
wth-What the hell
yo-Hey, whats up?
y-why
idk-I don't know
brb-Be right back
idc-I don't care
np-No problem
nm-Not much
nvm-Never mind
ns-Nice shot
thx-Thank you
gg-Good game
gl-Good luck
gj-Good job
hf-Have fun
pos-Piece of shit
ppl-People
stfu-Shut the f*ck up
sob-Son of a bitch
ttyl-Talk to you later
asap-As soon as possible
aka-Also known as
imo-In my opinion
bs-Bull shit
ic-I see
oic-Oh, I see
ly-Love ya
lyl-Love ya lots
omg-Oh my god
sry-Sorry
g2g-I have to go now
gtg-I have to go now
dn-Don't know
idn-I don't know
rofl-Rolling on floor laughing
lmao-Laughing my ass off
lmfao-Laughing my f*cking ass off
u-you
ur-your
cu-See you later
cuz-because
cul-See you later
bf-Boy friend
gf-Girl friend
asl-Age/Sex/Location?
jk-Just joking
cya-Cya later
wb-Welcome back
irl-In real life
w/e-What ever
k-Okay
)

Menu, tray, NoStandard
Menu, Tray, Icon,,, 1
Menu, tray, add
Menu, tray, add, Pause
Menu, tray, add
Menu, tray, add, Help
Menu, tray, add
Menu, tray, add, ArbList
Menu, tray, add
Menu, tray, add, Exit
Menu, tray, add
Menu, tray, Tip, ArbExpansion`nCreated by:`nHiddenTrojan

Gui, Font, CFF0000 S15 Bold
Gui, Color, 000000
Gui, Add, Text,, ArbExpansion is loading. To view a list of abbreviations`nright click on the system tray icon, and select "ArbList".
Gui, -SysMenu +AlwaysOnTop
Gui, Show, Center H80 W580, ArbExpansion
Sleep, 3500
Gui, Destroy
Return

Pause:
Menu, tray, ToggleCheck, Pause
Suspend, Toggle
Return


Help:
Gui, 2:Destroy
Gui, 2:Font, CFF0000 S12 Bold
Gui, 2:Color, 000000
Gui, 2:Add, Edit, W755 R17.5 -VScroll -HScroll -Wrap +ReadOnly, %Helptxt%
Gui, 2:+AlwaysOnTop
Gui, 2:Show, Center H375 W780, ArbExpansion Help
ControlSend, Edit1, ^{Home}, ArbExpansion Help
Return

ArbList:
Gui, 3:Destroy
Gui, 3:Font, CFF0000 S12 Bold
Gui, 3:Color, 000000
Gui, 3:Add, Text, CFFFFFF S13, List of the abbreviations used.
Gui, 3:Add, Edit, W245 R17 +VScroll +HScroll -Wrap +ReadOnly, %Arbtxt%
Gui, 3:+AlwaysOnTop
Gui, 3:Show, Center H420 W275, Abbreviation List
ControlSend, Edit1, ^{Home}, Abbreviation List
Return

Exit:
ExitApp

#e::
Suspend
ExitApp
Return

#Hotstring SI

::btw::By the way
::bbl::Be back later
::dl::download
::wtf::What the f*ck
::wth::What the hell
::yo::Hey, whats up?
::y::why
::idk::I don't know
::brb::Be right back
::idc::I don't care
::np::No problem
::nm::Not much
::nvm::Never mind
::ns::Nice shot
::thx::Thank you
::gl::Good luck
::gj::Good job
::gg::Good Game
::hf::Have fun
::pos::Piece of shit
::ppl::people
::stfu::Shut the f*ck up
::sob::Son of a bitch
::ttyl::Talk to you later
::asap::As soon as possible
::aka::Also known as
::imo::In my opinion
::bs::Bull shit
::ic::I see
::oic::Oh, I see
::ly::Love ya
::lyl::Love ya lots
::omg::Oh my god
::sry::Sorry
::g2g::I have to go now
::gtg::I have to go now
::dn::Don't know
::idn::I don't know
::rofl::Rolling on floor laughing
::lmao::Laughing my ass off
::lmfao::Laughing my f*cking ass off
::u::you
::ur::your
::cu::See you later
::cuz::because
::cul::See you later
::bf::Boy friend
::gf::Girl friend
::asl::Age/Sex/Location?
::jk::Just joking
::cya::Cya later
::wb::Welcome back
::irl::In real life
::w/e::What ever
::k::Okay


Last edited by .AHK on Sun Nov 26, 2006 2:18 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
.AHK



Joined: 26 Apr 2006
Posts: 657
Location: New Mexico, USA

PostPosted: Tue Aug 22, 2006 12:11 pm    Post subject: Reply with quote

I have both of these programs (.exe) to run on startup and have noticed a problem. Sometimes when I get into windows and everything finishes loading one of the programs system tray icon is not displayed. The program is loaded and its process is visible in Task Manager. Could this be a problem that is related to the Ahk2Exe compiler? I am on Windows XP SP2 all updates installed.
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
evl



Joined: 24 Aug 2005
Posts: 1237

PostPosted: Tue Aug 22, 2006 3:34 pm    Post subject: Reply with quote

The icon not being shown in the tray is probably due to a bug in XP that causes certain program icons not to be shown. I never could find out a definitive answer other than it seemed to be to do with the timing of programs loading while soem part of XP was loading/initializing. Changing the order that things start up might fix it. Also I think having auto-hiding of inactive tray icons makes it worse (hence I wrote a script that turns on autohiding after each boot and then off again for the next boot - it seems to help).
Back to top
View user's profile Send private message
.AHK



Joined: 26 Apr 2006
Posts: 657
Location: New Mexico, USA

PostPosted: Thu Aug 24, 2006 8:16 am    Post subject: Reply with quote

I did not know that Evl thanks for the information.
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group