PasteExplorerPath GuiMacro not working for me on Win7(64) but does on Win10

12 views
Skip to first unread message

Rob Davenport

unread,
Oct 20, 2017, 10:52:35 AM10/20/17
to ConEmu ML
Running 170910 Alpha (x64) ConEmu on my work laptop running Win7 64-bit.  Have cmd shell in a tab, and a couple explorer windows open to different local paths.

If I try "conemuc -GuiMacro:0 PasteExplorerPath(1,1)"   It just prints "OK" and doesn't seem to do anything else.

I tried it at home on my Win10 64-bit OS - same ConEmu version, same scenario (cmd shell in a tab, multple Explorer windows open to different paths) - and it works fine.   I could even set a global hotkey and use it.  Very nice feature! (Which is why I want to get it working on my other laptop.)

I tried adding "/log3" to the conemuc line and I got:
     60 8:58:41.767 MFileLog::LogStartEnv finished
     61 8:58:41.767 MainThread CurSize={174,48,1000} Cursor={0,176,25%V} ConRect={0,129}-{173,176} Startup (skipped=0) {1:1:xF:18} {(74,0) (559x282)} `Lucida Console` 5x3 <?>
     62 8:58:41.767 /GuiMacro
     63 8:58:41.767 MainThread ParseCommandLine{in-progress}
     64 8:58:41.767 MainThread DoExecAction: DoGuiMacro
     65 8:58:41.767 MainThread DoGuiMacro: executing CECMD_GUIMACRO
     66 8:58:41.783 MainThread DoGuiMacro: CECMD_GUIMACRO finished
     67 8:58:41.783 MainThread DoGuiMacro: set ConEmuMacroResult=OK
     68 8:58:41.783 MainThread DoGuiMacro: printing result
     69 8:58:41.783 MainThread ParseCommandLine returns 133, exiting
     70 8:58:41.783 Closing log file

I then launch a cmd shell in a new tab As Administrator, and tried it and then I got this in the log file:
     58 9:02:54.770 MFileLog::LogStartEnv finished
     59 9:02:54.770 MainThread CurSize={174,48,1000} Cursor={0,184,25%V} ConRect={0,137}-{173,184} Startup (skipped=0) {1:1:xF:18} {(0,0) (559x282)} `Lucida Console` 5x3 <?>
     60 9:02:54.770 /GuiMacro:0
     61 9:02:54.941 First found requested, instance found HWND=x003F1A28  <<<==================
     62 9:02:54.941 Found instance class name: VirtualConsoleClass
     63 9:02:54.941 MainThread ParseCommandLine{in-progress}
     64 9:02:54.941 MainThread DoExecAction: DoGuiMacro
     65 9:02:54.941 MainThread DoGuiMacro: executing CECMD_GUIMACRO
     66 9:02:54.941 MainThread DoGuiMacro: CECMD_GUIMACRO finished
     67 9:02:54.941 MainThread DoGuiMacro: set ConEmuMacroResult=OK
     68 9:02:54.941 MainThread DoGuiMacro: printing result
     69 9:02:54.941 MainThread ParseCommandLine returns 133, exiting
     70 9:02:54.941 Closing log file

So that's better - it seems to have found the explorer.exe instance and it's hwnd.   But now I'm at a loss how to further debug this issue.  I know it *can* work, so something's preventing it from working on my win7(64) laptop.
Any advice?

Thanks,

Rob

Reply all
Reply to author
Forward
0 new messages