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 

Most Creative use of AHK

 
Reply to topic    AutoHotkey Community Forum Index -> General Chat
View previous topic :: View next topic  
Author Message
Veovis



Joined: 13 Feb 2006
Posts: 389
Location: Utah

PostPosted: Wed Mar 22, 2006 3:24 am    Post subject: Most Creative use of AHK Reply with quote

Aight heres a topic for you to post the Most Creative Thing you have done with AHK.

I'll, go first:

Aight, so at my school they have DeepFreeze. Which makes it so the computer reverts to a 'SnapShot' (VMware term) of the computer each time it turns off. So no-one can install things. Anyways, I wanted to ask a girl out to Prom. So I asked the teacher to disable DeepFreeze on her assigned seat. I then added a script to startup that would check if it was the right user, if it was then display a gui with a picture (I used FileInstall) of a rose that said "%HerName%, Will you go to Prom with me. -%MyName%" and a custom icon. Then after words, delete those files, since they were now in the startup folder. Anyways, I have yet to get my answer, but I beleive it to be yes!

Heres the code for anyone who cares. (no you cant have the picture, and the names are now variables)

Code:
#singleinstance force
#notrayicon
FileInstall, rose.jpg, rose.jpg
FileInstall, littlerose.ico, littlerose.ico
if A_username not in %MyUserName(for testing)%,%HerUserName%
{
   filedelete, rose.jpg
   filedelete, littlerose.ico
   ExitApp
}
Menu, tray, icon, littlerose.ico
gui, margin, 0,0
gui, add, pic, ,rose.jpg
gui, show,,Will You...
return

guiclose:
filedelete, rose.jpg
filedelete, littlerose.ico
ExitApp


I realize this isnt the neatest code, but it got the job done perfectly!!!

Thank you Chris!!!
_________________

"Power can be given overnight, but responsibility must be taught. Long years go into its making."
Back to top
View user's profile Send private message Send e-mail Visit poster's website
U.O.M.S.
Guest





PostPosted: Wed Mar 22, 2006 7:58 am    Post subject: Reply with quote

@ Veovis
as you are from Utah I guess the follow up to "Will you ..." isn't something explicit, right ? Wink Why I have the idea that replacing the name with a var has something to do with the array of names you didn't show us ShockedLaughing

* u.o.m.s. = upholder of moral standards
Back to top
Veovis



Joined: 13 Feb 2006
Posts: 389
Location: Utah

PostPosted: Wed Mar 22, 2006 4:49 pm    Post subject: Reply with quote

Actually the title was probably not noticed by her as the picture took up most of the screen. And the title was "Will you..." (thats the whole thing) Anything was better than rose.ahk with a green H next to it. And as for my array, I turned 16 two months ago tommorow, and thus have only about 5 names. (and an empty wallet Laughing )
_________________

"Power can be given overnight, but responsibility must be taught. Long years go into its making."
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Laszlo



Joined: 14 Feb 2005
Posts: 4710
Location: Boulder, CO

PostPosted: Wed Mar 22, 2006 8:43 pm    Post subject: Reply with quote

It is probably too late, but I'd have added a few buttons, like YES, OK, SURE, WHY NOT?, which sent you a confirmation email. You don't want her to come to you and say these in words, since she cannot be sure if someone just plays a prank on her.
Back to top
View user's profile Send private message
Veovis



Joined: 13 Feb 2006
Posts: 389
Location: Utah

PostPosted: Wed Mar 22, 2006 9:48 pm    Post subject: Reply with quote

Actually, the seating chart has me one row behind and one seat to the right. (we are in the same period) and so I got to see her reaction, which is why I stated earlier "I beleive [the answer] to be yes"

And the way it works here is that you ask in a creative manner (if you think mine is dumb you should see what other guys do) and then the girl answers in a creative way. It's NOT just a "Hey, you doing anything friday" "No" "Wanna go out?" thing.

I thought about doing buttons, but I decided to leave it to her to answer.
_________________

"Power can be given overnight, but responsibility must be taught. Long years go into its making."
Back to top
View user's profile Send private message Send e-mail Visit poster's website
dosboot



Joined: 12 Feb 2006
Posts: 16

PostPosted: Thu Apr 06, 2006 12:39 am    Post subject: Reply with quote

Well, what did she say?
Back to top
View user's profile Send private message
Veovis



Joined: 13 Feb 2006
Posts: 389
Location: Utah

PostPosted: Fri Apr 07, 2006 3:34 pm    Post subject: Reply with quote

She said Yes, and we had a great time.
_________________

"Power can be given overnight, but responsibility must be taught. Long years go into its making."
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Laszlo



Joined: 14 Feb 2005
Posts: 4710
Location: Boulder, CO

PostPosted: Fri Apr 07, 2006 4:27 pm    Post subject: Reply with quote

...but you'r not gonna tell us about her creative way to answer?
Back to top
View user's profile Send private message
BoBo
Guest





PostPosted: Fri Apr 07, 2006 9:04 pm    Post subject: Reply with quote

... might be caused by one of those obscure state laws to prevent kissing in public Wink
Back to top
Aybra



Joined: 16 May 2006
Posts: 58

PostPosted: Tue May 23, 2006 2:50 am    Post subject: Reply with quote

I wanna know how she said yes..
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> General Chat 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