Jump to content

Howto find Startmenu hotkeys conflicting with what I want to set?


rudi
 Share

Recommended Posts

Hi.

This is not a really Autoit Q, I know :)

But maybe someone can help me out of this issue: I want to find in some user's *LARGE* startmenu the entry, that's occupying the hotkey "STRG+ALT+s". (This is the Snippet Holder in SciTE).

When pressing this one, a window pops up for 1/10 sec, so I can't see where it might point to.

This one I found in the web.

Archived from groups: microsoft.public.windowsxp.customize (More info?)

I had to change findhotkey.vbs a little to get it running. Here is the 
final version of it. Works great to find those hotkeys. 

' display shortcut hotkeys in *.lnk, *.pif, *.url 
' 
on error resume next 
set objShell = WScript.CreateObject("WScript.Shell" ) 
set Ag = WScript.Arguments 
set lnk = objShell.CreateShortcut(Ag(0)) 
If lnk.hotkey <> "" Then 
WScript.Echo Ag(0) & vbcrlf & vbcrlf & "HotKey=" & lnk.hotkey 
End If 

I call it with: 
for %A in (*.url) do c:\findhotkey.vbs "%A"

The places to search are these:

> cd %UserProfile%\desktop 
> for %A in (*.pif) do findhotkey.vbs "%a" 
> for %A in (*.url) do findhotkey.vbs "%a" 
> cd %AllUsersProfile%\desktop 
> for %A in (*.lnk) do findhotkey.vbs "%a" 
> for %A in (*.pif) do findhotkey.vbs "%a" 
> for %A in (*.url) do findhotkey.vbs "%a" 
> cd %UserProfile%\Start Menu 
> for /r %A in (*.lnk) do findhotkey.vbs "%a" 
> for /r %A in (*.pif) do findhotkey.vbs "%a" 
> for /r %A in (*.url) do findhotkey.vbs "%a" 
> cd %AllUsersProfile%\Start Menu 
> for /r %A in (*.lnk) do findhotkey.vbs "%a" 
> for /r %A in (*.pif) do findhotkey.vbs "%a" 
> for /r %A in (*.url) do findhotkey.vbs "%a"

it doesn't work for me.

Regards, Rudi.

[edit]

copy/pasted a wrong part from the cite.

Edited by rudi

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Link to comment
Share on other sites

it doesn't work for me.

What doesn't work? You couldn't have run that exactly as you posted it. What exactly did you run, and what happened when you ran it?

:)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

Hi.

What doesn't work? You couldn't have run that exactly as you posted it. What exactly did you run, and what happened when you ran it?

:lmao:

It simply didn't work: There IS that hotkey CTRL+ALT+s definied, but it's simply not found. :)

From your posting I assume, that the code does work for you?

Regards, Rudi.

edit: grammar.

edit2: After rebooting that PC, the hotkey CTRL+ALT+s was "free" again: After reading some more on these hotkeys I found, that a logoff/logon is required. That didn't help, so I tried a reboot, and it did the trick.

Regards, Rudi.

Edited by rudi

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

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...