thought i'd post the solution I found incase someone else has a similar
issue.

I have the Variable KBDLAYOUT this is 8 characters, but I'm only in the last
4.

I have this code:

<Condition {dostuff}>KBDLAYOUT >> 0809</condition>

this is UK Language keyboard, but any layout.

Jason.



On Jan 14, 2008 9:42 AM, Jason Rivers <[EMAIL PROTECTED]> wrote:

> Hi all.
>
> I have a variable that gets they (default) keyboard layout of a system,
> from HKCU\Keyboard Layouts\preload\1
>
> this is an 8 character Hex, the first 4 are for the keyboard layout, so
> this could in fact be anything if the person is using a custom keyboard, the
> last 4 characters are the keyboard Language it is this that I need.
>
> Is it possible to strip the variable from the 8 to the 4 or only read the
> last 4 characters of the string value?
>
> Thanks.
> Jason
>
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to