Jump to content

Apple keyboard app


Recommended Posts

iam trying to make a apple hotekey prog for my apple keyboard without bootcamp. only the F10,11 and 12 doesn't work anyone a solution?

HotKeySet("{F7}","F7")
HotKeySet("{F8}","F8")
HotKeySet("{F9}","F9")
HotKeySet("{F10}","F10")
HotKeySet("{F11}","F11")
HotKeySet("{F10}","F12")

Func F7()
    Send("{MEDIA_PREV}")
EndFunc

Func F8()
    Send("{MEDIA_PLAY_PAUSE}")
EndFunc

Func F9()
    Send("{MEDIA_NEXT}")
EndFunc

Func F10()
Send("{VOLUME_MUTE}")
EndFunc

Func F11()
Send("{VOLUME_DOWN}")
EndFunc

Func F12()
    Send("{VOLUME_UP}")
EndFunc

while 1
    sleep(1)
WEnd
Link to comment
Share on other sites

First There's a mistype here

HotKeySet("{F7}","F7")

HotKeySet("{F8}","F8")

HotKeySet("{F9}","F9")

HotKeySet("{F10}","F10")

HotKeySet("{F11}","F11")

HotKeySet("{F10}","F12")

HotKeySet("{F12}","F12")

second : Help File ( HotKeySet )

The following hotkeys cannot be set:

Ctrl+Alt+Delete It is reserved by Windows

F12 It is also reserved by Windows, according to its API.

NumPad's Enter Key Instead, use {Enter} which captures both Enter keys on the keyboard.

Win+B,D,E,F,L,M,R,U; and Win+Shift+M These are built-in Windows shortcuts. Note: Win+B and Win+L might only be reserved on Windows XP and above.

Alt, Ctrl, Shift, Win These are the modifier keys themselves!

Other Any global hotkeys a user has defined using third-party software, any combos of two or more "base keys" such as '{F1}{F2}', and any keys of the form '{LALT}' or '{ALTDOWN}'.

so it depends on what keys are available to register Edited by komalo
[font="Palatino Linotype"][size="3"]AutoIt Script Examples :[/size][/font][font="Palatino Linotype"][size="3"]_CaptureBehindWindowGlass CMD for Windows Vista/Seven[/size][/font][left][/left][font="Palatino Linotype"][size="3"]Non AutoIt Script programs : Border Skin - Aero Glass On XP[/size][/font]
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...