{"id":9144,"date":"2022-06-22T10:46:54","date_gmt":"2022-06-22T10:46:54","guid":{"rendered":"https:\/\/max-drake.cc\/?p=9144"},"modified":"2022-06-22T10:46:54","modified_gmt":"2022-06-22T10:46:54","slug":"ahk-workspaces-by-maestrith","status":"publish","type":"post","link":"https:\/\/max-drake.cc\/?p=9144","title":{"rendered":"AHK Workspaces by Maestrith"},"content":{"rendered":"\n<p>I was getting annoyed with using Obsidian. I would be in some other program and was finding it difficult to pop-up Obsidian so I could quickly write a note. <\/p>\n\n\n\n<p>In the taskbar you can assign a Hotkey to a program, but I don&#8217;t like doing that as I switch programs and find weird things happening with hotkeys. <\/p>\n\n\n\n<p>Then I saw this video on Workspaces.  So I started to play with it. <\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"AHK Workspaces Window Management AutoHotkey Script\" width=\"678\" height=\"381\" data-src=\"https:\/\/www.youtube.com\/embed\/mYR1oIwjPDY?start=3&#038;feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" data-load-mode=\"1\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>It meets my needs for setting up Hotkeys to set Workspaces so I can quickly fire up Obsidian with a hotkey. <\/p>\n\n\n\n<p>This is a <strong><a href=\"https:\/\/github.com\/maestrith\/Workspaces\" target=\"_blank\" rel=\"noreferrer noopener\">maestrith script and he has an updated version on Github <\/a><\/strong><\/p>\n\n\n\n<p>Before I was trying to move programs to specific positions on the taskbar so I could use  Stream Deck to trigger the program. But then I move programs around on the taskbar so that didn&#8217;t work. <\/p>\n\n\n\n<p>This is a nice solution and I like the interface now I&#8217;ve figured out how it works. You do need to make sure you are not just testing in VS code otherwise it doesn&#8217;t  remember the previous settings. <\/p>\n\n\n\n<p>I&#8217;m still getting the feel for the program , but I like the logic of the hotkeys and also the ability to open multiple items in the same workspace. The video is from 2016 but it solves a current issue that I have with Obsidian. <\/p>\n\n\n\n<p>I also learned you can open obsidian with Browser, using <strong zn_id=\"92\">obsidian:\/\/open<\/strong> in the address bar, so I have a Firefox  Keyboard Shortcut for that now of &#8220;oo&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"777\" height=\"890\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2022\/06\/2022-06-20-19_05_35-Workspace-0.001.6.jpg\" alt=\"\" class=\"wp-image-9145 lazyload\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2022\/06\/2022-06-20-19_05_35-Workspace-0.001.6.jpg 777w, https:\/\/max-drake.cc\/wp-content\/uploads\/2022\/06\/2022-06-20-19_05_35-Workspace-0.001.6-262x300.jpg 262w, https:\/\/max-drake.cc\/wp-content\/uploads\/2022\/06\/2022-06-20-19_05_35-Workspace-0.001.6-768x880.jpg 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2022\/06\/2022-06-20-19_05_35-Workspace-0.001.6-50x57.jpg 50w, https:\/\/max-drake.cc\/wp-content\/uploads\/2022\/06\/2022-06-20-19_05_35-Workspace-0.001.6-44x50.jpg 44w, https:\/\/max-drake.cc\/wp-content\/uploads\/2022\/06\/2022-06-20-19_05_35-Workspace-0.001.6-100x115.jpg 100w, https:\/\/max-drake.cc\/wp-content\/uploads\/2022\/06\/2022-06-20-19_05_35-Workspace-0.001.6-87x100.jpg 87w, https:\/\/max-drake.cc\/wp-content\/uploads\/2022\/06\/2022-06-20-19_05_35-Workspace-0.001.6-559x640.jpg 559w, https:\/\/max-drake.cc\/wp-content\/uploads\/2022\/06\/2022-06-20-19_05_35-Workspace-0.001.6-640x733.jpg 640w, https:\/\/max-drake.cc\/wp-content\/uploads\/2022\/06\/2022-06-20-19_05_35-Workspace-0.001.6-670x768.jpg 670w\" data-sizes=\"(max-width: 777px) 100vw, 777px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 777px; --smush-placeholder-aspect-ratio: 777\/890;\" \/><\/figure>\n\n\n\n<p>I had trouble setting this up initially and once I got it going I thought it was a great script, I could use it to trigger a lot of programs that I had on the taskbar like FF and Thunderbird <\/p>\n\n\n\n<p>The other nice thing is , if you use it a bit, you could bundle your workspace together so that when you close down you can reopen with a specific setup , eg Tax for accounts , modelling setup and other workspaces. I need to start exploring it a bit more. I cannot sync this between the 2 computers as it has different paths to files and user name different too. <\/p>\n\n\n\n<p>I thought I could incorporate this in chapter in AHK2 and I have done video on it. Needs revising and shortening. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">End Comment<\/h3>\n\n\n\n<p>This is a program that can be very useful. I have got Winkey+Alt as the trigger and that doesn&#8217;t work well for hand stretch so will need to revise that to something else. Something comfortable and an easy hand stretch. Most of those have been mapped with other programs. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was getting annoyed with using Obsidian. I would be in some other program and was finding it difficult to pop-up Obsidian so I could quickly write a note. In the taskbar you can assign a Hotkey to a program, but I don&#8217;t like doing that as I switch programs and find weird things happening [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":9145,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[466],"tags":[],"class_list":["post-9144","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-autohotkey"],"featured_image_src":"https:\/\/max-drake.cc\/wp-content\/uploads\/2022\/06\/2022-06-20-19_05_35-Workspace-0.001.6-600x400.jpg","featured_image_src_square":"https:\/\/max-drake.cc\/wp-content\/uploads\/2022\/06\/2022-06-20-19_05_35-Workspace-0.001.6-600x600.jpg","author_info":{"display_name":"Max Drake","author_link":"https:\/\/max-drake.cc\/?author=1"},"_links":{"self":[{"href":"https:\/\/max-drake.cc\/index.php?rest_route=\/wp\/v2\/posts\/9144","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/max-drake.cc\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/max-drake.cc\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/max-drake.cc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/max-drake.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9144"}],"version-history":[{"count":4,"href":"https:\/\/max-drake.cc\/index.php?rest_route=\/wp\/v2\/posts\/9144\/revisions"}],"predecessor-version":[{"id":9150,"href":"https:\/\/max-drake.cc\/index.php?rest_route=\/wp\/v2\/posts\/9144\/revisions\/9150"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/max-drake.cc\/index.php?rest_route=\/wp\/v2\/media\/9145"}],"wp:attachment":[{"href":"https:\/\/max-drake.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9144"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/max-drake.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9144"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/max-drake.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9144"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}