Desktop productivity for business analysts and programmers

Remap Enterprise Guide hotkeys

Accepted Solution Solved
Reply
Super Contributor
Posts: 386
Accepted Solution

Remap Enterprise Guide hotkeys

Summary:  How can I remap the Enterprise Guide hotkeys?  Like we can in DMS?

 

Details:  We have to move between Enterprise Guide and SQL Server Management Studio all the time.  A colleague would like to map F5 to be the current F3 functionality, so we have the same key for the same action across the two clients.  

 

If this can't be done, I'll put in the enhancement request.  Let me know if that's already been done and rejected so I don't create a dup.


Accepted Solutions
Solution
‎07-17-2017 08:37 PM
Super User
Posts: 3,233

Re: Remap Enterprise Guide hotkeys

As far as I'm aware this can't be done. You can assign keys for editing programs but not function keys for tasks like submitting code.

View solution in original post


All Replies
Solution
‎07-17-2017 08:37 PM
Super User
Posts: 3,233

Re: Remap Enterprise Guide hotkeys

As far as I'm aware this can't be done. You can assign keys for editing programs but not function keys for tasks like submitting code.

Community Manager
Posts: 2,887

Re: Remap Enterprise Guide hotkeys

[ Edited ]

I've heard from a number of users who successfully use AutoHotkey (a free tool, easy to install) to map key actions for SAS Enterprise Guide and many other apps.  For example, I had one person who wanted to unmap F8 in SAS Enterprise Guide -- which currently will submit the active program or even an entire flow.  Installing AutoHotkey and enabling this script does the job:

 

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

#SingleInstance force
#InstallKeybdHook

F8::
    WinGet, Active_ID, ID, A
    WinGet, Active_Process, ProcessName, ahk_id %Active_ID%
    if ( Active_Process ="seguide.exe" ) {

        ;eat the keystroke

    } 

 

Update: here's how to customize your keys in SAS EG using AutoHotkey

Valued Guide
Posts: 505

Re: Remap Enterprise Guide hotkeys

ot sure this helps because you need 'full SAS'

 

This may not help, but if you have full SAS you can easily map function keys. You can actuall execute "all of sas" on 'full SAS' function keys(or mouse actions or command line)

 

Just type keys on the command line.

 

Suppose you have a

 

   F3  '%macro list_last_data;'

   F5  % '%freq_all_vars' 

 

Just switch then text

 

 F3  % '%freq_all_vars' 

 F5  '%macro list_last_data;'

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 3 replies
  • 219 views
  • 0 likes
  • 4 in conversation