AutoHotkey Community

It is currently May 27th, 2012, 9:27 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: ArbExpansion
PostPosted: August 21st, 2006, 2:41 am 
Offline

Joined: April 26th, 2006, 4:10 am
Posts: 657
Location: New Mexico, USA
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 November 26th, 2006, 3:18 am, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 22nd, 2006, 1:11 pm 
Offline

Joined: April 26th, 2006, 4:10 am
Posts: 657
Location: New Mexico, USA
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 22nd, 2006, 4:34 pm 
Offline

Joined: August 24th, 2005, 5:17 pm
Posts: 1237
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).


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 24th, 2006, 9:16 am 
Offline

Joined: April 26th, 2006, 4:10 am
Posts: 657
Location: New Mexico, USA
I did not know that Evl thanks for the information.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], nomissenrojb, Stigg and 12 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group