Linux HowTo: Using Capslock in Hotkey combon without capslock effect in Ubuntu

Original Source Link

Goal

I want to use Shift+Capslock as a hotkey for switching keyboards without the capslock effect, but I want capslock to work normally if used alone. I am using Ubuntu

Background

I switch a lot between US and German keyboard because I can only type code or English text with a US keyboard, but I can only type German text with a German keyboard. That’s why it’s crucial to me to have a hotkey for that and I use this hotkey a lot.

I got very used to Shift+Capslock for that on my work computer. Somehow I managed to set up my work computer s.t. Shift+Capslock changes the keyboard layout, but does NOT have the normal Capslock effect (i.e. no CAPITAL LETTERS AFTERWARDS). But if I use Capslock outside of that hotkey, it works fine, i.e. .

But on my home computer, I also set up this hotkey with Shift+Capslock and it does switch the keyboard layout, but it also does the normal Capslock effect (i.e. I get CAPITAL LETTERS AFTERWARDS). This confuses me and breaks my flow. I sometimes try to use Shift+Capslock and immediately Capslock and that works, but then I sometimes do it on my work computer as well and I really want consistency.

Both my work computer and my home computer use Ubuntu. My work computer uses some modified version provided by my employer, but I don’t think that matters at the level of configuring shortcuts.

Tagged : / / / /

Making Game: Most keyboard shortcuts don’t work in Word 2010 on Windows 8

Original Source Link

I can’t use Ctrl+X, Ctrl+Z, Ctrl+S, Ctrl+C, Ctrl+V in Word 2010 on Windows 8.

Whenever I do, nothing happens. What do I do to fix this?

The shortcuts for cut, copy and paste are disabled in your Word. To enable the shortcuts again, do this:

  1. In Word 2010, press File » Options.
  2. Open the Customize Ribbon tab.
  3. Press the Keyboard shortcuts » Customize button at the bottom of the left-hand list
  4. Select Category All Commands
  5. Choose respective commands, for example copy text
  6. Under the section New shortcut key enter your desired key (e.g. Ctrl + C)
  7. Save and close the document
  8. Restart Word and all of your created shortcuts will work

i just fixed this issue by
1- In Word 2010, press File » Options.
2- Open the Customize Ribbon tab.
3- Press the Keyboard shortcuts » Customize button at the bottom of the left-hand list
4- Select Category All Commands
5- Choose reset all from the bottom ans save
6- close the file then open it again or open any word file. and try any keyboard shortcut.

Tagged : / / /

Linux HowTo: Most keyboard shortcuts don’t work in Word 2010 on Windows 8

Original Source Link

I can’t use Ctrl+X, Ctrl+Z, Ctrl+S, Ctrl+C, Ctrl+V in Word 2010 on Windows 8.

Whenever I do, nothing happens. What do I do to fix this?

The shortcuts for cut, copy and paste are disabled in your Word. To enable the shortcuts again, do this:

  1. In Word 2010, press File » Options.
  2. Open the Customize Ribbon tab.
  3. Press the Keyboard shortcuts » Customize button at the bottom of the left-hand list
  4. Select Category All Commands
  5. Choose respective commands, for example copy text
  6. Under the section New shortcut key enter your desired key (e.g. Ctrl + C)
  7. Save and close the document
  8. Restart Word and all of your created shortcuts will work

i just fixed this issue by
1- In Word 2010, press File » Options.
2- Open the Customize Ribbon tab.
3- Press the Keyboard shortcuts » Customize button at the bottom of the left-hand list
4- Select Category All Commands
5- Choose reset all from the bottom ans save
6- close the file then open it again or open any word file. and try any keyboard shortcut.

Tagged : / / /

Making Game: Windows utility to render which key I am pressing on-screen [closed]

Original Source Link

I’m giving training to a large group of people remotely and will be covering a number of application shortcut keys.

I’ve seen MousePose‘s on-screen display of keystrokes; is there a similar product for Windows?

MousePose Screenshot

The other features of MousePose (fancy mouse pointers, etc.) aren’t really useful to me, just the OSD of key presses.

KeyPosé is a free alternative to MousePosé for Windows. You can see it in action in the screencast.

Here is a sample screenshot:

alt text

I highly recommend Carnac The Magnificent. It’s nicely executed, nicely designed and open sourced on GitHub project that really solves this problem well.

A keyboard logging and presentation utility for presentations, screencasts, and to help you become a better keyboard user.

Screenshot

There is a fork with visualization of mouse input here: https://github.com/bfritscher/carnac/releases

I would like to share my tool — keycastow.

https://brookhong.github.io/2014/04/28/keycast-on-windows.html

enter image description here

I’ve written an AutoHotkey_L script for this purpose.

To run it, use AutoHotkey_L (direct dl), it’s FOSS. Also, with AutoHotkey you can compile script to EXE (simply Ahk2Exe.exe /inDisplayPressedKeyOnScreen.ahk/outDisplayPressedKeyOnScreen.exe ).

It can display pressed keys OSD-like or standard Tool-tip near mouse cursor.
Also, it displays mouse button clicks and wheel scrolling.

(note that frame & blurring is done for illustration purposes, the script itself only displays text w/o any disturbances)
Screenshot

Heres’s the script (copy and paste to notepad, save as DisplayPressedKeysOnScreen.ahk):

#NoEnv
#SingleInstance force
#InstallKeybdHook

Global KeyStates, MouseState, ClickCount, IdleDelay, LargeDisplay

IdleDelay=3000

LargeDisplay=1
; 0 = Tooltip near mouse pointer
; 1 = Big pane at screen bottom

If LargeDisplay
{
;Initializing GUI
;modded func originated from http://www.autohotkey.com/board/topic/8190-osd-function/

SysGet Monitor, Monitor

GUIx := MonitorLeft
GUIw := MonitorRight - MonitorLeft
GUIh := (MonitorBottom - MonitorTop) * GUIw * 0.00003
If (GUIh > ((MonitorBottom - MonitorTop) * 0.3))
    GUIh := (MonitorBottom - MonitorTop) * 0.3

opacity=230
fname="Tahoma"
fsize:=GUIh * 0.65 ; really, pixel = 0.75 point, but with 0.75 lowercase letter with lower part (like "g") get cut
fcolor=cccccc
bcolor=222222
fformat="600"

Gui +LastFound +AlwaysOnTop +ToolWindow -Caption
Gui Margin, 0, 0 ;pixels of space to leave at the left/right and top/bottom sides of the window when auto-positioning.
Gui Color, ffffff ;changes background color
Gui Font, s%fsize% w%fformat%, %fname%

;    0x80 = SS_NOPREFIX -> Ampersand (&) is shown instead of underline one letter for Alt+letter navigation
Gui Add, Text, c%bcolor% Center +0x80 w%GUIw% h%GUIh% BackgroundTrans VblkOsdCtrlName, tesT test test
Gui Add, Text, c%fcolor% Center +0x80 w%GUIw% h%GUIh% BackgroundTrans VblkOsdCtrlName2 xp-3 yp-3 , tesT test test

WinSet ExStyle, +0x20 ; WS_EX_TRANSPARENT -> mouse klickthrough
WinSet TransColor, ffffff %opacity%
}


TrayTip %A_ScriptName%, To Exit`, press the Right Windows logo key.

Loop
{
Input SingleKey, L1 V M I B, {LControl}{RControl}{LAlt}{RAlt}{LShift}{RShift}{LWin}{AppsKey}{F1}{F2}{F3}{F4}{F5}{F6}{F7}{F8}{F9}{F10}{F11}{F12}{Left}{Right}{Up}{Down}{Home}{End}{PgUp}{PgDn}{Del}{Ins}{BS}{Capslock}{Numlock}{PrintScreen}{Pause}
GetKeyStates()

;    IfInString ErrorLevel, EndKey
;   CollectedText .= (CollectedText =="" ? "" : " + " ) . SubStr(ErrorLevel, 8)
If SingleKey
{
    SingleKeyText=
    If (SingleKey==Chr(27))
    SingleKeyText=Esc
    Else If (SingleKey==Chr(32))
    SingleKeyText=Space

    If (GetKeyState("LControl", "P") || GetKeyState("RControl", "P"))
    {
    If (SingleKey==Chr(10) && EnterPressed)
        SingleKeyText=Enter
    Else If (SingleKey >= Chr(1) && SingleKey <= Chr(26)) ; With "M" in Input, Ctrl-A through Ctrl-Z correspond to Chr(1) through Chr(26)
        SingleKeyText := Chr(Asc("A")-1+Asc(SingleKey))
    } Else {
    If (SingleKey==Chr(10))
        SingleKeyText=Enter
    }

    If Not SingleKeyText
    SingleKeyText:=SingleKey
    ShowKeys(KeyStates . SingleKeyText)
;    . (MouseState ? "`n" . MouseState : "")
    EnterPressed=0
    GoSub ClearMouseState
} Else {
    ShowKeys(SubStr(KeyStates, 1, -3) . (MouseState ? " + " . MouseState : ""))
}
SetTimer TooltipOff, % -IdleDelay
}

RWin::
ExitApp

~*Enter::
EnterPressed=1
return

~*LButton::
~*RButton::
~*MButton::
~*XButton1::
~*XButton2::
MouseState := "Mouse " . SubStr(A_ThisHotkey, 3) . " Pressed"
MouseTooltip()
return

~*WheelDown::
~*WheelUp::
~*WheelLeft::
~*WheelRight::
MouseState := "Mouse " . SubStr(A_ThisHotkey, 3)
MouseTooltip()
return

~*LButton Up::
~*RButton Up::
~*MButton Up::
~*XButton1 Up::
~*XButton2 Up::
;    MsgBox %A_PriorHotkey%`n%A_ThisHotkey%
If (A_PriorHotkey == SubStr(A_ThisHotkey, 1, -3) && A_TimeSincePriorHotkey < 200)
{
    ClickCount++
    Suffix := " Clicked " . ClickCount . "x"
} Else {
    ClickCount:=0
    Suffix := " Released"
}
MouseState := "Mouse " . SubStr(A_ThisHotkey, 3, -3) . Suffix
MouseTooltip()
return

MouseTooltip(){
GetKeyStates()
ShowKeys(KeyStates . MouseState)
SetTimer ClearMouseState,  % -IdleDelay
SetTimer TooltipOff, % -IdleDelay
}

ClearMouseState:
MouseState=
ClickCount=0
return
TooltipOff:
If LargeDisplay
    Gui Hide
Else
    Tooltip
return

GetKeyStates() {
KeyStates := ""
    . ( GetKeyState("LControl", "P") ? "LControl + " : "" )
    . ( GetKeyState("RControl", "P") ? "RControl + " : "" )
    . ( GetKeyState("LAlt", "P") ? "LAlt + " : "" )
    . ( GetKeyState("RAlt", "P") ? "RAlt + " : "" )
    . ( GetKeyState("LShift", "P") ? "LShift + " : "" )
    . ( GetKeyState("RShift", "P") ? "RShift + " : "" )
    . ( GetKeyState("LWin", "P") ? "LWin + " : "" )
    . ( GetKeyState("AppsKey", "P") ? "AppsKey + " : "" )
    . ( GetKeyState("F1", "P") ? "F1 + " : "" )
    . ( GetKeyState("F2", "P") ? "F2 + " : "" )
    . ( GetKeyState("F3", "P") ? "F3 + " : "" )
    . ( GetKeyState("F4", "P") ? "F4 + " : "" )
    . ( GetKeyState("F5", "P") ? "F5 + " : "" )
    . ( GetKeyState("F6", "P") ? "F6 + " : "" )
    . ( GetKeyState("F7", "P") ? "F7 + " : "" )
    . ( GetKeyState("F8", "P") ? "F8 + " : "" )
    . ( GetKeyState("F9", "P") ? "F9 + " : "" )
    . ( GetKeyState("F10", "P") ? "F10 + " : "" )
    . ( GetKeyState("F11", "P") ? "F11 + " : "" )
    . ( GetKeyState("F12", "P") ? "F12 + " : "" )
    . ( GetKeyState("Left", "P") ? "Left + " : "" )
    . ( GetKeyState("Right", "P") ? "Right + " : "" )
    . ( GetKeyState("Up", "P") ? "Up + " : "" )
    . ( GetKeyState("Down", "P") ? "Down + " : "" )
    . ( GetKeyState("Home", "P") ? "Home + " : "" )
    . ( GetKeyState("End", "P") ? "End + " : "" )x
    . ( GetKeyState("PgUp", "P") ? "PgUp + " : "" )
    . ( GetKeyState("PgDn", "P") ? "PgDn + " : "" )
    . ( GetKeyState("Del", "P") ? "Del + " : "" )
    . ( GetKeyState("Ins", "P") ? "Ins + " : "" )
    . ( GetKeyState("BS", "P") ? "BS + " : "" )
    . ( GetKeyState("Capslock", "P") ? "Capslock + " : "" )
    . ( GetKeyState("Numlock", "P") ? "Numlock + " : "" )
    . ( GetKeyState("PrintScreen", "P") ? "PrintScreen + " : "" )
    . ( GetKeyState("Pause", "P") ? "Pause + " : "" )
}

ShowKeys(text) {
If LargeDisplay
{
    Global blkOsdCtrlName, blkOsdCtrlName2, MonitorLeft, MonitorRight, MonitorBottom, MonitorTop, GUIx, GUIy, GUIh

    CoordMode Mouse, Screen
    MouseGetPos MouseX, MouseY

    If ((!GUIy) || (MouseX >= MonitorLeft && MouseX <= MonitorRight && MouseY >= GUIy && MouseY <= (GUIy+GUIh)) ) {
    If (MouseY < (MonitorTop + (MonitorBottom - MonitorTop) / 2) )
        GUIy := MonitorBottom - (MonitorBottom - MonitorTop) * 0.2
    Else
        GUIy := MonitorTop + (MonitorBottom - MonitorTop) * 0.2
    }

    GuiControl Text, blkOsdCtrlName, %text%
    GuiControl Text, blkOsdCtrlName2, %text%

    Gui, Show, x%GUIx% y%GUIy% NoActivate
} Else {
    Tooltip % text
}
}

You can use the on screen keyboard to show key presses that comes with windows. When you type on your physical keyboard the on screen one highlights said key.

Presentation Pointer is a best alternative to MousePosé for Windows. It provides Pointer Effect, Mouse Clicks Effect, Keystrokes and even allows you to draw freely on the screen but not lock the screen. That’s really an advantage of the program.

PointerFocus can display your keystrokes.

I have written a small Windows app called QiPress. It has controls to change the look-n-feel, display or ignore certain key-groups, even add static text (your own name or company name for example). Positioning is possible by disabling click-through and click-dragging the pop-up. There are other features which you probably may not require, but it covers mostly what you want.

You can use PassMark KeyboardTest (Free 30 day evaluation, then US$24.00 to purchase.)

enter image description here

FYI:

Tagged : / /

Linux HowTo: Windows utility to render which key I am pressing on-screen [closed]

Original Source Link

I’m giving training to a large group of people remotely and will be covering a number of application shortcut keys.

I’ve seen MousePose‘s on-screen display of keystrokes; is there a similar product for Windows?

MousePose Screenshot

The other features of MousePose (fancy mouse pointers, etc.) aren’t really useful to me, just the OSD of key presses.

KeyPosé is a free alternative to MousePosé for Windows. You can see it in action in the screencast.

Here is a sample screenshot:

alt text

I highly recommend Carnac The Magnificent. It’s nicely executed, nicely designed and open sourced on GitHub project that really solves this problem well.

A keyboard logging and presentation utility for presentations, screencasts, and to help you become a better keyboard user.

Screenshot

There is a fork with visualization of mouse input here: https://github.com/bfritscher/carnac/releases

I would like to share my tool — keycastow.

https://brookhong.github.io/2014/04/28/keycast-on-windows.html

enter image description here

I’ve written an AutoHotkey_L script for this purpose.

To run it, use AutoHotkey_L (direct dl), it’s FOSS. Also, with AutoHotkey you can compile script to EXE (simply Ahk2Exe.exe /inDisplayPressedKeyOnScreen.ahk/outDisplayPressedKeyOnScreen.exe ).

It can display pressed keys OSD-like or standard Tool-tip near mouse cursor.
Also, it displays mouse button clicks and wheel scrolling.

(note that frame & blurring is done for illustration purposes, the script itself only displays text w/o any disturbances)
Screenshot

Heres’s the script (copy and paste to notepad, save as DisplayPressedKeysOnScreen.ahk):

#NoEnv
#SingleInstance force
#InstallKeybdHook

Global KeyStates, MouseState, ClickCount, IdleDelay, LargeDisplay

IdleDelay=3000

LargeDisplay=1
; 0 = Tooltip near mouse pointer
; 1 = Big pane at screen bottom

If LargeDisplay
{
;Initializing GUI
;modded func originated from http://www.autohotkey.com/board/topic/8190-osd-function/

SysGet Monitor, Monitor

GUIx := MonitorLeft
GUIw := MonitorRight - MonitorLeft
GUIh := (MonitorBottom - MonitorTop) * GUIw * 0.00003
If (GUIh > ((MonitorBottom - MonitorTop) * 0.3))
    GUIh := (MonitorBottom - MonitorTop) * 0.3

opacity=230
fname="Tahoma"
fsize:=GUIh * 0.65 ; really, pixel = 0.75 point, but with 0.75 lowercase letter with lower part (like "g") get cut
fcolor=cccccc
bcolor=222222
fformat="600"

Gui +LastFound +AlwaysOnTop +ToolWindow -Caption
Gui Margin, 0, 0 ;pixels of space to leave at the left/right and top/bottom sides of the window when auto-positioning.
Gui Color, ffffff ;changes background color
Gui Font, s%fsize% w%fformat%, %fname%

;    0x80 = SS_NOPREFIX -> Ampersand (&) is shown instead of underline one letter for Alt+letter navigation
Gui Add, Text, c%bcolor% Center +0x80 w%GUIw% h%GUIh% BackgroundTrans VblkOsdCtrlName, tesT test test
Gui Add, Text, c%fcolor% Center +0x80 w%GUIw% h%GUIh% BackgroundTrans VblkOsdCtrlName2 xp-3 yp-3 , tesT test test

WinSet ExStyle, +0x20 ; WS_EX_TRANSPARENT -> mouse klickthrough
WinSet TransColor, ffffff %opacity%
}


TrayTip %A_ScriptName%, To Exit`, press the Right Windows logo key.

Loop
{
Input SingleKey, L1 V M I B, {LControl}{RControl}{LAlt}{RAlt}{LShift}{RShift}{LWin}{AppsKey}{F1}{F2}{F3}{F4}{F5}{F6}{F7}{F8}{F9}{F10}{F11}{F12}{Left}{Right}{Up}{Down}{Home}{End}{PgUp}{PgDn}{Del}{Ins}{BS}{Capslock}{Numlock}{PrintScreen}{Pause}
GetKeyStates()

;    IfInString ErrorLevel, EndKey
;   CollectedText .= (CollectedText =="" ? "" : " + " ) . SubStr(ErrorLevel, 8)
If SingleKey
{
    SingleKeyText=
    If (SingleKey==Chr(27))
    SingleKeyText=Esc
    Else If (SingleKey==Chr(32))
    SingleKeyText=Space

    If (GetKeyState("LControl", "P") || GetKeyState("RControl", "P"))
    {
    If (SingleKey==Chr(10) && EnterPressed)
        SingleKeyText=Enter
    Else If (SingleKey >= Chr(1) && SingleKey <= Chr(26)) ; With "M" in Input, Ctrl-A through Ctrl-Z correspond to Chr(1) through Chr(26)
        SingleKeyText := Chr(Asc("A")-1+Asc(SingleKey))
    } Else {
    If (SingleKey==Chr(10))
        SingleKeyText=Enter
    }

    If Not SingleKeyText
    SingleKeyText:=SingleKey
    ShowKeys(KeyStates . SingleKeyText)
;    . (MouseState ? "`n" . MouseState : "")
    EnterPressed=0
    GoSub ClearMouseState
} Else {
    ShowKeys(SubStr(KeyStates, 1, -3) . (MouseState ? " + " . MouseState : ""))
}
SetTimer TooltipOff, % -IdleDelay
}

RWin::
ExitApp

~*Enter::
EnterPressed=1
return

~*LButton::
~*RButton::
~*MButton::
~*XButton1::
~*XButton2::
MouseState := "Mouse " . SubStr(A_ThisHotkey, 3) . " Pressed"
MouseTooltip()
return

~*WheelDown::
~*WheelUp::
~*WheelLeft::
~*WheelRight::
MouseState := "Mouse " . SubStr(A_ThisHotkey, 3)
MouseTooltip()
return

~*LButton Up::
~*RButton Up::
~*MButton Up::
~*XButton1 Up::
~*XButton2 Up::
;    MsgBox %A_PriorHotkey%`n%A_ThisHotkey%
If (A_PriorHotkey == SubStr(A_ThisHotkey, 1, -3) && A_TimeSincePriorHotkey < 200)
{
    ClickCount++
    Suffix := " Clicked " . ClickCount . "x"
} Else {
    ClickCount:=0
    Suffix := " Released"
}
MouseState := "Mouse " . SubStr(A_ThisHotkey, 3, -3) . Suffix
MouseTooltip()
return

MouseTooltip(){
GetKeyStates()
ShowKeys(KeyStates . MouseState)
SetTimer ClearMouseState,  % -IdleDelay
SetTimer TooltipOff, % -IdleDelay
}

ClearMouseState:
MouseState=
ClickCount=0
return
TooltipOff:
If LargeDisplay
    Gui Hide
Else
    Tooltip
return

GetKeyStates() {
KeyStates := ""
    . ( GetKeyState("LControl", "P") ? "LControl + " : "" )
    . ( GetKeyState("RControl", "P") ? "RControl + " : "" )
    . ( GetKeyState("LAlt", "P") ? "LAlt + " : "" )
    . ( GetKeyState("RAlt", "P") ? "RAlt + " : "" )
    . ( GetKeyState("LShift", "P") ? "LShift + " : "" )
    . ( GetKeyState("RShift", "P") ? "RShift + " : "" )
    . ( GetKeyState("LWin", "P") ? "LWin + " : "" )
    . ( GetKeyState("AppsKey", "P") ? "AppsKey + " : "" )
    . ( GetKeyState("F1", "P") ? "F1 + " : "" )
    . ( GetKeyState("F2", "P") ? "F2 + " : "" )
    . ( GetKeyState("F3", "P") ? "F3 + " : "" )
    . ( GetKeyState("F4", "P") ? "F4 + " : "" )
    . ( GetKeyState("F5", "P") ? "F5 + " : "" )
    . ( GetKeyState("F6", "P") ? "F6 + " : "" )
    . ( GetKeyState("F7", "P") ? "F7 + " : "" )
    . ( GetKeyState("F8", "P") ? "F8 + " : "" )
    . ( GetKeyState("F9", "P") ? "F9 + " : "" )
    . ( GetKeyState("F10", "P") ? "F10 + " : "" )
    . ( GetKeyState("F11", "P") ? "F11 + " : "" )
    . ( GetKeyState("F12", "P") ? "F12 + " : "" )
    . ( GetKeyState("Left", "P") ? "Left + " : "" )
    . ( GetKeyState("Right", "P") ? "Right + " : "" )
    . ( GetKeyState("Up", "P") ? "Up + " : "" )
    . ( GetKeyState("Down", "P") ? "Down + " : "" )
    . ( GetKeyState("Home", "P") ? "Home + " : "" )
    . ( GetKeyState("End", "P") ? "End + " : "" )x
    . ( GetKeyState("PgUp", "P") ? "PgUp + " : "" )
    . ( GetKeyState("PgDn", "P") ? "PgDn + " : "" )
    . ( GetKeyState("Del", "P") ? "Del + " : "" )
    . ( GetKeyState("Ins", "P") ? "Ins + " : "" )
    . ( GetKeyState("BS", "P") ? "BS + " : "" )
    . ( GetKeyState("Capslock", "P") ? "Capslock + " : "" )
    . ( GetKeyState("Numlock", "P") ? "Numlock + " : "" )
    . ( GetKeyState("PrintScreen", "P") ? "PrintScreen + " : "" )
    . ( GetKeyState("Pause", "P") ? "Pause + " : "" )
}

ShowKeys(text) {
If LargeDisplay
{
    Global blkOsdCtrlName, blkOsdCtrlName2, MonitorLeft, MonitorRight, MonitorBottom, MonitorTop, GUIx, GUIy, GUIh

    CoordMode Mouse, Screen
    MouseGetPos MouseX, MouseY

    If ((!GUIy) || (MouseX >= MonitorLeft && MouseX <= MonitorRight && MouseY >= GUIy && MouseY <= (GUIy+GUIh)) ) {
    If (MouseY < (MonitorTop + (MonitorBottom - MonitorTop) / 2) )
        GUIy := MonitorBottom - (MonitorBottom - MonitorTop) * 0.2
    Else
        GUIy := MonitorTop + (MonitorBottom - MonitorTop) * 0.2
    }

    GuiControl Text, blkOsdCtrlName, %text%
    GuiControl Text, blkOsdCtrlName2, %text%

    Gui, Show, x%GUIx% y%GUIy% NoActivate
} Else {
    Tooltip % text
}
}

You can use the on screen keyboard to show key presses that comes with windows. When you type on your physical keyboard the on screen one highlights said key.

Presentation Pointer is a best alternative to MousePosé for Windows. It provides Pointer Effect, Mouse Clicks Effect, Keystrokes and even allows you to draw freely on the screen but not lock the screen. That’s really an advantage of the program.

PointerFocus can display your keystrokes.

I have written a small Windows app called QiPress. It has controls to change the look-n-feel, display or ignore certain key-groups, even add static text (your own name or company name for example). Positioning is possible by disabling click-through and click-dragging the pop-up. There are other features which you probably may not require, but it covers mostly what you want.

You can use PassMark KeyboardTest (Free 30 day evaluation, then US$24.00 to purchase.)

enter image description here

FYI:

Tagged : / /

Linux HowTo: Back button of Adobe PDF Reader after clicking a hyperlink whose target is on the same document

Original Source Link

PDF documents have hyperlinks to the contents on the same document (analogous to “#section” hrefs for an HTML document). Where’s the back button to go back to the page I was on (where I clicked the hyperlink).

Let’s say I’m on the index of a PDF tutorial, page 4, and I click on Chapter 2’s hyperlink in the index that takes me to page 38. Now, if I want to go back to page 4 again, which button or shortcut should I use?

I have always had luck using the combination Alt and the left arrow, much the same as in IE, Firefox, or any other browser. I found this out on accident when I was in a PDF document in a browser and found it worked in the standalone program as well.

On the Mac, the equivalent in Adobe Reader is command-left arrow. In Preview (the default PDF reader on Macs), the equivalent is command-[ (open square bracket).

“Back” and “Forward” buttons can also be added to the toolbar in Adobe Reader. If you right-click on the tool bar, under “more tools,” “page navigation toolbar,” they are referred to as “previous view” and “next view.”

Or alternatively: Click on the VIEW drop down menu , then Click PAGE NAVIGATION then click PREVIOUS VIEW. A backward arrow will then appear in the toolbar at the top. Repeat for NEXT VIEW to add a forward arrow.

In Evince you can use the Back Button functionality to achieve what you desire.

The Back Button is not visible by default, but you can make it visible by the following steps.

  • Right-Click on ToolBar
  • Selct Toolbar, from the Context Menu.
  • In the Window that appears, Drag and Drop the Back Buttton to your Toolbar.

Note:
The Back functionality is not similar to what you get in a browser. When you press Back, it gives a list of all the links you had visited in that Document and you can select from the list.

For Foxit users,

As stated in the other answers you can use [alt + left arrow] as a shortcut.

If you want see this on the menu

  • Open Foxit
  • Go View tab
  • You can see on top left corner of the windows, previous view-next view

Its already mentioned in adobe acrobat
go to view->page navigation->previous view (hot keys alt+left arrow)
go to view->page navigation->next view (hot keys alt+fwd arrow)

Another option is to set the links to a new window, then you just have to close the file to display the previous.

To do this:

  1. Open the link Properties sheet.
  2. Click the Actions tab.
  3. Click the Edit button.
  4. Change the Target Document, Open In property to New Window.
  5. Click OK twice.

For okular, the shortcut is Alt+ Shift+Left.
This can be configured as per user liking through

Settings >> Configure Shortcuts

For Foxit reader:

  • Mac: Option+Left
  • Windows: Alt+Left
Tagged : / /

Making Game: Back button of Adobe PDF Reader after clicking a hyperlink whose target is on the same document

Original Source Link

PDF documents have hyperlinks to the contents on the same document (analogous to “#section” hrefs for an HTML document). Where’s the back button to go back to the page I was on (where I clicked the hyperlink).

Let’s say I’m on the index of a PDF tutorial, page 4, and I click on Chapter 2’s hyperlink in the index that takes me to page 38. Now, if I want to go back to page 4 again, which button or shortcut should I use?

I have always had luck using the combination Alt and the left arrow, much the same as in IE, Firefox, or any other browser. I found this out on accident when I was in a PDF document in a browser and found it worked in the standalone program as well.

On the Mac, the equivalent in Adobe Reader is command-left arrow. In Preview (the default PDF reader on Macs), the equivalent is command-[ (open square bracket).

“Back” and “Forward” buttons can also be added to the toolbar in Adobe Reader. If you right-click on the tool bar, under “more tools,” “page navigation toolbar,” they are referred to as “previous view” and “next view.”

Or alternatively: Click on the VIEW drop down menu , then Click PAGE NAVIGATION then click PREVIOUS VIEW. A backward arrow will then appear in the toolbar at the top. Repeat for NEXT VIEW to add a forward arrow.

In Evince you can use the Back Button functionality to achieve what you desire.

The Back Button is not visible by default, but you can make it visible by the following steps.

  • Right-Click on ToolBar
  • Selct Toolbar, from the Context Menu.
  • In the Window that appears, Drag and Drop the Back Buttton to your Toolbar.

Note:
The Back functionality is not similar to what you get in a browser. When you press Back, it gives a list of all the links you had visited in that Document and you can select from the list.

For Foxit users,

As stated in the other answers you can use [alt + left arrow] as a shortcut.

If you want see this on the menu

  • Open Foxit
  • Go View tab
  • You can see on top left corner of the windows, previous view-next view

Its already mentioned in adobe acrobat
go to view->page navigation->previous view (hot keys alt+left arrow)
go to view->page navigation->next view (hot keys alt+fwd arrow)

Another option is to set the links to a new window, then you just have to close the file to display the previous.

To do this:

  1. Open the link Properties sheet.
  2. Click the Actions tab.
  3. Click the Edit button.
  4. Change the Target Document, Open In property to New Window.
  5. Click OK twice.

For okular, the shortcut is Alt+ Shift+Left.
This can be configured as per user liking through

Settings >> Configure Shortcuts

For Foxit reader:

  • Mac: Option+Left
  • Windows: Alt+Left
Tagged : / /

Linux HowTo: Keyboard shortcut to pull Google Chrome tab into its own window

Original Source Link

Is there a keyboard short cut, or extension, that lets you rip a tab into a new window in Google Chrome instead of using the mouse?

A workaround would be: Ctrl + L, + C, + W, + N, + V, and Enter.

Or

F6, Ctrl + C, Ctrl + N, Ctrl + V, Enter and an optional Alt + Tab, Ctrl + W, Alt + Tab, to close the old tab.

You could automate the whole thing with AutoIt (under Windows) and create a Hotkey for it (here, it’s Ctrl + Alt + x):

HotKeySet("^!x", "split_tab")
Func split_tab()
    Send("{F6}^c^n")
    Sleep(999)
    Send("^v{Enter}")
    Send("!{Tab}^w!{Tab}")
EndFunc

I always have an additional application like this running in the background, offering useful keyboard shortcuts which automate and simplify tasks.

Alternatively, you can hit Ctrl + L instead of F6, which would be substantially easier as your hand does not have to leave the home row.

With the Vimium extension for Chrome, Shift+W will move the current tab to a new window.

This was added in version 1.43 (2013-05-18), Vimium on GitHub.

No out-of-the-box solution, but here is a chrome extension that does exactly that, Tab to Window/Popup.

There doesn’t appear to be a keyboard short cut built in. Maybe auto-hot-keys can be used, but I’m not familiar with them. I’m also assuming that you already know that dragging the tab out creates the tabs own window.

The easiest way to do this is to add the Tab To Window Keyboard Shortcut extension. https://chrome.google.com/webstore/detail/tab-to-window-keyboard-sh/adbkphmimfcaeonicpmamfddbbnphikh?hl=en-GB

Personally I use Vimium and had just found the Shift+W and was loving it, since Ctrl+W closes a tab, having Shift+W open it in an new window made sense.

On Mac you can add custom shortcuts for any menu option. The option to detach a tab is named “Move tab to new window”, so just add this to the shortcuts under settings (and select Application Google Chrome):
enter image description here

And then choose a shortcut, like Cmd+Shift+W or whatever (just make sure it’s a unique combination, or it won’t work).

If you use voice recognition software Dragon NaturallySpeaking (Windows/Mac, non-free), you can create the voice command:

Sub Main
    SendKeys "^l"
    Wait(0.2)
    SendKeys "^c"
    Wait(0.2)
    SendKeys "^w"
    Wait(0.2)
    SendKeys "^n"
    Wait(0.2)
    SendKeys "^v"
    Wait(0.2)
    SendKeys "{ENTER}"
End Sub

enter image description here

Annoyingly this reloads the page, which is not good in some situations, e.g. if the page contains a form you have started to fill.

Tagged : / /

Making Game: Keyboard shortcut to pull Google Chrome tab into its own window

Original Source Link

Is there a keyboard short cut, or extension, that lets you rip a tab into a new window in Google Chrome instead of using the mouse?

A workaround would be: Ctrl + L, + C, + W, + N, + V, and Enter.

Or

F6, Ctrl + C, Ctrl + N, Ctrl + V, Enter and an optional Alt + Tab, Ctrl + W, Alt + Tab, to close the old tab.

You could automate the whole thing with AutoIt (under Windows) and create a Hotkey for it (here, it’s Ctrl + Alt + x):

HotKeySet("^!x", "split_tab")
Func split_tab()
    Send("{F6}^c^n")
    Sleep(999)
    Send("^v{Enter}")
    Send("!{Tab}^w!{Tab}")
EndFunc

I always have an additional application like this running in the background, offering useful keyboard shortcuts which automate and simplify tasks.

Alternatively, you can hit Ctrl + L instead of F6, which would be substantially easier as your hand does not have to leave the home row.

With the Vimium extension for Chrome, Shift+W will move the current tab to a new window.

This was added in version 1.43 (2013-05-18), Vimium on GitHub.

No out-of-the-box solution, but here is a chrome extension that does exactly that, Tab to Window/Popup.

There doesn’t appear to be a keyboard short cut built in. Maybe auto-hot-keys can be used, but I’m not familiar with them. I’m also assuming that you already know that dragging the tab out creates the tabs own window.

The easiest way to do this is to add the Tab To Window Keyboard Shortcut extension. https://chrome.google.com/webstore/detail/tab-to-window-keyboard-sh/adbkphmimfcaeonicpmamfddbbnphikh?hl=en-GB

Personally I use Vimium and had just found the Shift+W and was loving it, since Ctrl+W closes a tab, having Shift+W open it in an new window made sense.

On Mac you can add custom shortcuts for any menu option. The option to detach a tab is named “Move tab to new window”, so just add this to the shortcuts under settings (and select Application Google Chrome):
enter image description here

And then choose a shortcut, like Cmd+Shift+W or whatever (just make sure it’s a unique combination, or it won’t work).

If you use voice recognition software Dragon NaturallySpeaking (Windows/Mac, non-free), you can create the voice command:

Sub Main
    SendKeys "^l"
    Wait(0.2)
    SendKeys "^c"
    Wait(0.2)
    SendKeys "^w"
    Wait(0.2)
    SendKeys "^n"
    Wait(0.2)
    SendKeys "^v"
    Wait(0.2)
    SendKeys "{ENTER}"
End Sub

enter image description here

Annoyingly this reloads the page, which is not good in some situations, e.g. if the page contains a form you have started to fill.

Tagged : / /

Linux HowTo: Why does the Start Menu open when I push escape in Windows 7?

Original Source Link

Why does the Windows key seem to be reversed with the Escape key? This seems to randomly happen, and rebooting reverts their functionality.

What is happening that makes this happen, how can I prevent it from happening again, and how do I fix it when it does happen without rebooting?

I think Ctrl + Esc opens the Start Menu.

You probably have a problem with the Ctrl button, or you have some sort of “sticky buttons” option enabled in the accessibility preferences.

I think your Ctrl key was pressed for some reason. Ctrl+Esc brings up start menu on Windows.

After 9 years still occurs, and for me the solution was to try the combination:
“Alt-GR”+”CTRL” of the right/left side.

Try restarting the computer. I faced the same problem and now the keyboard is working! Hope this helps you

Tagged : / /