Sign in to follow this  
Followers 0
kiboost

_IsPressed "<"

6 posts in this topic

#1 ·  Posted (edited)

Hi,

Is there a way to use "<" key (the inferior key, on the left of space bar) with _ispressed function ? Can't find it in the list

http://www.autoitscript.com/autoit3/docs/libfunctions/_IsPressed.htm

Even better would be using windows key (5B) but in a way that it doesn't open windows start menu if pressed with another button (middle mouse button). It would popup a gui, but not open start menu

thks

Edited by kiboost

Win7 pro x64. scripts compiled to x64. - Autoit v3.3.6.1 | Scite 1.79

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

just a thought, same thing as is pressed.

make a hotkey "<"

then make a function:

hotkeyset('<','_myfunc')
func _myfunc()

send('<')

;do something hire
endfunc
Edited by goldenix

My Projects:[list][*]Guide - ytube step by step tut for reading memory with autoitscript + samples[*]WinHide - tool to show hide windows, Skinned With GDI+[*]Virtualdub batch job list maker - Batch Process all files with same settings[*]Exp calc - Exp calculator for online games[*]Automated Microsoft SQL Server 2000 installer[*]Image sorter helper for IrfanView - 1 click opens img & move ur mouse to close opened img[/list]

Share this post


Link to post
Share on other sites

What do you type when you want to make a < character? I press SHIFT+,

, is in the list as "BC ," ... Maybe combine BC with left shift ("A0") or maybe "BC" is enough.

Share this post


Link to post
Share on other sites

just a thought, same thing as is pressed.

make a hotkey "<"

then make a function:

hotkeyset('<','_myfunc')
func _myfunc()

send('<')

;do something hire
endfunc

This would give a infinite loop. ;)

hotkeyset('<','_myfunc')
func _myfunc()
hotkeyset('<')
send('<') 
;do something here
hotkeyset('<','_myfunc')
endfunc

would be better. :)


My UDFs, Abbrevs and Snippets
If you like my post, just click the like button :) 

Share this post


Link to post
Share on other sites

I've found with another script that "<" is key 226.

So

If _IsPressed(Hex(226)) = 1 And _IsPressed('04') = 1 Then

this works :)


Win7 pro x64. scripts compiled to x64. - Autoit v3.3.6.1 | Scite 1.79

Share this post


Link to post
Share on other sites

I've found with another script that "<" is key 226.

So

If _IsPressed(Hex(226)) = 1 And _IsPressed('04') = 1 Then

this works :)

might fail if different keyboard layout (right? ;) )

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  
Followers 0