AutoHotkey Community

It is currently May 26th, 2012, 9:55 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: October 12th, 2008, 3:04 am 
Offline

Joined: August 29th, 2008, 4:47 am
Posts: 10
Currently I have

Code:
Insert::LButton
Home::MButton
PgUp::RButton


and I want Autohotkey to "Soundplay" this sound file I made:

"Soundplay, C:\Users\Kadence\Music\click.wav"

When I press my reassigned mouse button keys.

Sounds Easy right??

I'm a beginner & I'm just not sure how to combine these functions in to a valid script.

Please Help

Thanks in advance,

Kyle


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 12th, 2008, 6:59 am 
Offline

Joined: August 14th, 2006, 11:54 am
Posts: 163
Location: CPH
As an example: I've put sound on my delete key

Code:
Del::
SoundPlay, C:\Users\Kadence\Music\click.wav
Send, {Del}
Return

or

PgUp::
Send, RButton
SoundPlay, C:\Users\Kadence\Music\click.wav
Return


Hopefully

Good luck..... :D


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 13th, 2008, 4:22 am 
Offline

Joined: August 29th, 2008, 4:47 am
Posts: 10
Carlol wrote:
As an example: I've put sound on my delete key

Code:
Del::
SoundPlay, C:\Users\Kadence\Music\click.wav
Send, {Del}
Return

or

PgUp::
Send, RButton
SoundPlay, C:\Users\Kadence\Music\click.wav
Return


Hopefully

Good luck..... :D


Getting closer, Thanks.

It almost works, You can use it to Right Click Mouse Button and hear the click sound; however click & hold doesn't work, so doing tasks such as a drag and drop, is impossible. (If assigned to LButton)

I also noticed it doubles as a RButton and PageUp on at the same press. which also can be un-usefull.


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], iBob35555VR, just me, Tilter_of_Windmills, tomoe_uehara and 69 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