![]() ![]() I think it's pretty self-explanatory, but feel free to ask questions if you have any. If neither exists, it will throw an error. My script will check for the app and both places, and use whichever one exists. ![]() If you use Setapp, you need to change it slightly to this: open -a 'Marked' "$BB_DOC_PATH" What you want to do is this: open -a ‘Marked 2' "$BB_DOC_PATH" You can download my ‘Open in Marked’ BBEdit script from GitHub. To install the BBEdit script, select the “Scripts” item from the BBEdit menu and choose “Open Scripts Folder” as shown here: Keyboard Maestro waits until Marked has launched, is front-most, and has a window with a title, then moves it to the right “column” / right side of the screen.Īctivates BBEdit again so keyboard focus will be back in my BBEdit document.Īgain, not hard, not very complicated, but I will use this all the time. The script opens Marked (technically Marked 2) Select the Script menu in BBEdit and run my Open in Marked.sh script (this uses a BBEdit variable for the front-most document, so it’s easier to do it this way than via Keyboard Maestro.) Resize front BBEdit window to left “column” / left side of the screen. If hidden, run keyboard shortcut ⌘⇧D to hide the dock. Runs a shell command defaults read autohide to see if the dock is hidden or not. So instead of just making a keyboard shortcut to do one thing, I made a macro that does all of the things: And if the dock (which I keep on the left) is visible, I want to hide that, so I can maximize screen space on my MacBook Air.” When I open a BBEdit file in Marked, the next thing I do is put the BBEdit window on the left, and the Marked window on the right. Then, when I went to do that, I realized: “Wait. Now, I do have a BBEdit script to do this so I can go to the Script menu in BBEdit and then select “Open in Marked” but I hate using the trackpad, so why didn’t I make a keyboard shortcut for this ages ago? Today’s example: I’m constantly opening a BBEdit file in Marked.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |