How to have a searchbox upon all snippets of a different bundle? #243
Unanswered
Gewerd-Strauss
asked this question in
Q&A
Replies: 1 comment
-
You can not access snippets from another bundle, only If the Bundle menu isn't convenient enough to switch bundles, you could try adding the code below to #IfWinActive Lintalist ahk_class AutoHotkeyGUI
#p::UpdateBundleMenu("MyTest") ; MyTest: is the name of the bundle, NOT the filename, so use what you see in the Bundle menu
#o::UpdateBundleMenu("Hello There")
#IfWinActive
UpdateBundleMenu(QuickBundleSwitch)
{
global
local saveload
saveload:=Load
Load:=""
Loop, parse, MenuName_HitList, |
{
StringSplit, MenuText, A_LoopField, % Chr(5) ; %
If (MenuText1 = QuickBundleSwitch)
Load:=MenuText2
}
If !Load
{
Load:=saveload
Return
}
WinMenuSelectItem, Lintalist ahk_class AutoHotkeyGUI, , 1, % 2+Load
LoadBundle(load)
lock:=1
UpdateLVColWidth()
Gosub, SetStatusBar
ShowPreview(PreviewSection)
Gosub, SetLockButton
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am setting up a set of bundles containing general code templates required for different statistical analyses. These sets are quite exhaustive, meaning 20+ per bundle.
I now would like to create a search mask which allows searching said bundles, but I am not sure how to do so properly.
I know how to do this for snippets within the same bundle, e.g.
but I am having issues figuring out
For that, I could not yet figure out how to do so.
Does anyone have any tips?
Thank you.
Sincerely,
~Gw
Beta Was this translation helpful? Give feedback.
All reactions