Jump to content
Sign in to follow this  
Draygoes

Setting shift + esc as a hot key.

Recommended Posts

Draygoes

Just as the name implys, I am trying to set shift + esc as a hot key combination.

This doesnt seem to work

HotKeySet( "{LSHIFT}" + "{ESC}" ,"end")
HotKeySet( "{RSHIFT}" + "{ESC}" ,"end")

Sorry that I need help on such a basic level, but ive never tried multiple hot keys at the same time. Could someone please tell me what is wrong with the above code?

Thanks all.


Spoiler

 

"If a vegetarian eats vegetables,What the heck does a humanitarian eat?"

"I hear voices in my head, but I ignore them and continue on killing."

"You have forced me to raise the indifference warning to beige, it's a beige alert people. As with all beige alerts please prepare to think about the possibility of caring."

An optimist says that giving someone power DOESN'T immediately turn them into a sadist. A pessimist says that giving someone power doesn't IMMEDIATELY turn them into a sadist.

 

 

Share this post


Link to post
Share on other sites
smashly

Hi,

HotKeySet("+{ESC}", "end")

Cheers

Share this post


Link to post
Share on other sites
someone

You can just use

HotKeySet( "+{ESC}" ,"end")


While ProcessExists('Andrews bad day.exe')
	BlockInput(1)
	SoundPlay('Music.wav')
	SoundSetWaveVolume('Louder')
WEnd

Share this post


Link to post
Share on other sites
Richard Robertson

The main question has been answered, but also remember that to concatenate strings, you use the ampersand "&" not the addition "+" symbol for AutoIt.

Share this post


Link to post
Share on other sites
Draygoes

Sorry that it took so long for me to answer.

Thank you very much friends. :)


Spoiler

 

"If a vegetarian eats vegetables,What the heck does a humanitarian eat?"

"I hear voices in my head, but I ignore them and continue on killing."

"You have forced me to raise the indifference warning to beige, it's a beige alert people. As with all beige alerts please prepare to think about the possibility of caring."

An optimist says that giving someone power DOESN'T immediately turn them into a sadist. A pessimist says that giving someone power doesn't IMMEDIATELY turn them into a sadist.

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×