AutoHotKey Shortcuts

    QlikView has a pretty good IDE for scripting, but it lacks keyboard shortcuts.  I'm creating a living document to allow us to collaborate on keyboard shortcuts for QlikView using AutoHotKey, an open source keyboard shortcut utility.  So here goes the first entry...

     

    The following script sets up CRTL-/ to comment highlighted text, and CRTL-\ to uncomment highlighted text.

    ;;;;;;;;;;;;; QlikView Comments ;;;;;;;;;;;;;

    IfWinActive Edit Script

    {

        ^/::

        {

            tempclipboard := ClipBoardAll

            ClipBoard =

            Send ^c

            ClipWait, 0.1

            If (StrLen(Clipboard) < 1 )

                {

                    Send {AppsKey}c

                }

            else

                {

                    Send {AppsKey}ccc{Enter}

                }

            ClipBoard := tempclipboard

            tempclipboard =

            return

        }

        ^\::

        {

            Send {AppsKey}u

            return

        }

    }

    ;;;;;;;;;;;;; QlikView Comments ;;;;;;;;;;;;;


    I'm hoping the document can be edited by other folks.  If not, please post any additions and updates to the comments sections, and I'll add them here.

     

    Cheers!