Jump to content

Virtual Key Wizard


GaryFrost
 Share

Recommended Posts

This was a quick and dirty, maybe it'll help those that need to use _IsPressed function alot.

Have fun

Edit: Forgot to mention need latest beta

Edit: Removed an include statement that wasn't needed.

Corrected: Type-o

Added options:

Optional: Insert Description into template

Optional: Insert Include statement into template

Optional: Insert Declare statement into template

Edit: added code that if Insert Declare option is not set, puts in raw code

Enjoy

VKWizard.ZIP

Edited by gafrost

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Link to comment
Share on other sites

your as bad as me...

could you explain the useage a little

8)

Pretty simple just, select a key code in the list view (click)

Have the an au3 file opened in scite

Double click the key code and it will insert a template into the au3 file

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Link to comment
Share on other sites

Hello gafrost,

where do i get the:

#include <VirtualKeyConstants.au3>

Thanks pastl

Sorry, forgot to remove that include, was playing with an idea. but you can find in the Idea Lab

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Link to comment
Share on other sites

gafrost,

Nice idea for people who cannot remember constants by pure thought.

A minor issue:

When you right click on the selection, then Send To Site appears. Well, that has me thinking about some websites :lmao: . You just missed adding the c.

Link to comment
Share on other sites

gafrost,

Nice idea for people who cannot remember constants by pure thought.

A minor issue:

When you right click on the selection, then Send To Site appears. Well, that has me thinking about some websites :lmao: . You just missed adding the c.

Yeah I guess it would, fixed it and upload new zip file in 1st post.

Thanks,

Gary

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Link to comment
Share on other sites

Added options:

Optional: Insert Description into template

Optional: Insert Include statement into template

Optional: Insert Declare statement into template

See 1st post for attachment

Enjoy

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Link to comment
Share on other sites

  • 1 year later...

WOW gary !

you can't imagine how much i needed this script !!!! can you provide a link to msdn for the oem key values ?

thank you so much !!!

j.

My contributions:Universal translator with national keyboards and Unicode support.Unicode editor with national keyboards and editing features.

Link to comment
Share on other sites

WOW gary !

you can't imagine how much i needed this script !!!! can you provide a link to msdn for the oem key values ?

thank you so much !!!

j.

here

But you should learn to search

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
Share on other sites

thanks a lot !

what i am really interested in are the 'oem-keys'. for example, to make my program (unicode keyboard) work for different layouts, i need to capture these keys, and gary's codes help a lot.

but: taking the example of qwertz and qwerty keyboards: how can i find out, if the 6th key in the second row (without fkeys) is pressed, no matter if it's 'z' or 'y' ? there must be a 'raw' key name like there is for the oem keys.

and what are the virtual key codes for a cirillic layout ? but maybe the codes are given 'raw'. i do not think so because they are the same as the letter's chars, but maybe this is a coincidence.

cheers j.

hi martin, sometimes asking is good just in order to initiate a conversation rather than just getting an answer ! :-)

My contributions:Universal translator with national keyboards and Unicode support.Unicode editor with national keyboards and editing features.

Link to comment
Share on other sites

hi martin, sometimes asking is good just in order to initiate a conversation rather than just getting an answer ! :-)

For me, "here" is a conversation. :P

(But I've already said too much.)

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...