deanishe Posted June 18, 2018 Author Share Posted June 18, 2018 11 hours ago, JolinM said: I can’t manage to make it work, thought… any clues Well the Hotkey you've assigned is already used in Safari for Start/Stop Element Selection. In future when you're having a problem, please don't post screenshots. Follow these instructions. Link to comment
JolinM Posted June 18, 2018 Share Posted June 18, 2018 Tried with another shortcut, and a keyword, but something ain’t right. I’ll try to do it like a pro ? – The modified workflow – Alfred 3.6.1 – MacOS 10.13.5 Starting debug for 'Safari Assistant' [2018-06-18 13:57:32][ERROR: action.script] ? 13:57:32 workflow.go:614: ------- Safari Assistant/0.5 (AwGo/0.13.2) ------- 13:57:32 tabs.go:131: &{2 1 Debugger Utility - Alfred Help and Support https://www.alfredapp.com/help/workflows/utilities/debug/ false} 13:57:32 update.go:171: 19h29m since last check for update 13:57:32 workflow.go:790: --------------------- 0.15s ---------------------- [2018-06-18 13:57:32][utility.debug] . /--- TAB ACTIONS IN ---\ query= variables={ "ALSF_HISTORY_ENTRIES" = 1000; "ALSF_INCLUDE_BOOKMARKLETS" = 0; "ALSF_SEARCH_HOSTNAMES" = 1; "ALSF_TAB" = 2; "ALSF_TAB_CTRL" = "Close Tabs to Left"; "ALSF_TAB_FN" = "Open in Private Window"; "ALSF_TAB_OPT" = "Close Tabs to Right"; "ALSF_TAB_SHIFT" = ""; "ALSF_URL" = "https://www.alfredapp.com/help/workflows/utilities/debug/"; "ALSF_URL_CTRL" = "Open in Chrome"; "ALSF_URL_FN" = "Open in Private Window"; "ALSF_URL_OPT" = "Open in Firefox"; "ALSF_URL_SHIFT" = "Open in Current Tab"; "ALSF_WINDOW" = 1; } \----------------------/ [2018-06-18 13:57:32][ERROR: action.script] /Users/jolinm/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Scripts/322D9109-6C48-41C2-BF05-5203B690B4B0: line 2: ./alsf: No such file or directory Link to comment
deanishe Posted June 18, 2018 Author Share Posted June 18, 2018 (edited) On 6/18/2018 at 7:59 PM, JolinM said: I’ll try to do it like a pro ? Much better. But one more thing: if you modify a workflow, change its bundle ID, especially if you send it back to the author. I don't want to overwrite my working, canonical version of the workflow with your broken one, so I had to unpack it, edit info.plist, and then repack it to install. As for the problem, somehow you'd managed to add the UTF-16 BOM (0xFEFF) in front of the ./alsf command, which is why the command couldn't be found. Delete the contents of the Script box and then type the command into it (i.e. don't copy-and-paste it). Edited July 2, 2018 by deanishe Invision editor, how I hate thee. Let me count the ways! JolinM 1 Link to comment
JolinM Posted June 19, 2018 Share Posted June 19, 2018 17 hours ago, deanishe said: As for the problem, somehow you'd managed to add the UTF-16 BOM (0xFEFF) in front of the ./alsf command, which is why the command couldn't be found. And when that is correct, it works! Thanks for your kind support, it really is appreciated. I packaged this part alone, if it’s of any help to someone else: download. Link to comment
Jasondm007 Posted August 8, 2018 Share Posted August 8, 2018 @deanishe I use this workflow a ton. Thanks for posting it! By chance, is it possible to view recently closed tabs with this workflow (i.e., listed like the "History - Recently Closed" menu)? There's a lot under the hood of this workflow that's a little beyond my skill set, so I thought I'd ask. Thanks for your help! Link to comment
deanishe Posted August 12, 2018 Author Share Posted August 12, 2018 On 8/9/2018 at 12:07 AM, Jasondm007 said: By chance, is it possible to view recently closed tabs with this workflow No. Safari doesn't expose that information to external applications. Link to comment
Jasondm007 Posted August 13, 2018 Share Posted August 13, 2018 @deanishe No problem. Thanks! Link to comment
bivalvegruff Posted September 26, 2018 Share Posted September 26, 2018 After updating to Mojave, I get an error saying "operation not permitted" when using "tabs" command. I've tried removing the workflow (and its settings in library) and re-installing it, but it still won't work. Alfred and Alfred Helper have access to system settings. What can I do? Thanks for a great workflow! Link to comment
deanishe Posted September 26, 2018 Author Share Posted September 26, 2018 Hi @bivalvegruff, welcome to the forum. This is a known issue. Please read the Mojave help on the Alfred website. Basically, you need to grant Alfred "Full Disk Access" in the Security & Privacy tab of System Preferences. This is also necessary to use Alfred's native bookmark search, but I guess you're not using that because my workflow's way better For future reference, please read the stickied thread on reporting workflow issues. This problem is simple to fix because I already know the answer (thanks @nikivi), but in general developers will also need the debugger output etc. to properly diagnose an issue. bivalvegruff 1 Link to comment
bivalvegruff Posted September 26, 2018 Share Posted September 26, 2018 46 minutes ago, deanishe said: Hi @bivalvegruff, welcome to the forum. This is a known issue. Please read the Mojave help on the Alfred website. Basically, you need to grant Alfred "Full Disk Access" in the Security & Privacy tab of System Preferences. This is also necessary to use Alfred's native bookmark search, but I guess you're not using that because my workflow's way better For future reference, please read the stickied thread on reporting workflow issues. This problem is simple to fix because I already know the answer (thanks @nikivi), but in general developers will also need the debugger output etc. to properly diagnose an issue. That solved it! I didn't remember doing that when I first installed Alfred. Thank you very much for your extensive and extremely swift answer! Link to comment
bivalvegruff Posted October 31, 2018 Share Posted October 31, 2018 The feature to show iCloud tabs is brilliant! Is there any way to add options like closing iCloud tabs through Alfred, like you can close local ones? And how can I PayPal you a beer? Link to comment
vitor Posted October 31, 2018 Share Posted October 31, 2018 21 minutes ago, bivalvegruff said: And how can I PayPal you a beer? Check his signature. There’s a link. Link to comment
Jasondm007 Posted January 4, 2019 Share Posted January 4, 2019 @deanishe I definitely agree with @bivalvegruff about this workflow's iCloud tabs feature: it's fantastic! Out of curiosity, is there any way for its list to be sorted in the same manner that they're arranged on your device (i.e., identical to the way Safari arranges them when you click its button)? At the moment, it's a little hard to tell how Safari Assistant is arranging them. Thanks! Link to comment
deanishe Posted January 6, 2019 Author Share Posted January 6, 2019 On 1/4/2019 at 8:21 PM, Jasondm007 said: At the moment, it's a little hard to tell how Safari Assistant is arranging them. It isn't. The sorting metadata is a binary blob and I haven't bothered to decipher it, so the workflow just shows them in the order they come out of the database. On 1/4/2019 at 8:21 PM, Jasondm007 said: identical to the way Safari arranges them when you click its button What do you mean exactly? Safari shows a separate column for each device, which of course, the workflow cannot do. Link to comment
Jasondm007 Posted January 7, 2019 Share Posted January 7, 2019 (edited) @deanishe Thanks for the update to SA (re: order of devices tabs list)! You're the best!! Edited January 7, 2019 by Jasondm007 typo Link to comment
deanishe Posted January 7, 2019 Author Share Posted January 7, 2019 It turns out the position blob was fairly easy to decode. Link to comment
Jasondm007 Posted January 7, 2019 Share Posted January 7, 2019 14 minutes ago, deanishe said: It turns out the position blob was fairly easy to decode. Not to the rest of us mere mortals! Thanks again, @deanishe Link to comment
deanishe Posted February 15, 2019 Author Share Posted February 15, 2019 Just released v0.7.0. Add script to open URL in new Safari window. Use script (Open in Safari) as default URL action. Add scripts to copy tab title + URL. - Copy URL copies URL and title to pasteboard as public.url and public.url-name - Copy URL as Markdown copies URL and title to pasteboard as Markdown-style link ([title](url)). Link to comment
Acidham Posted May 18, 2019 Share Posted May 18, 2019 (edited) On 11/1/2017 at 1:06 AM, deanishe said: Too bad. I can't icon to save my life, and this is the only glasses icon in the icon generator @deanishe Btw, did you implement an Alfred WF for the Icon Generator? Edited May 18, 2019 by Acidham Link to comment
kentmoney Posted October 29, 2019 Share Posted October 29, 2019 Hello! I am posting to say that I just updated to Alfred 4 but now it appears like this workflow isn't working? Is it me or did something break? Link to comment
deanishe Posted October 29, 2019 Author Share Posted October 29, 2019 55 minutes ago, kentmoney said: Is it me or did something break? It's not the workflow. You probably haven't given Alfred or the workflow the requisite permissions. I can't say: I don't know which version of macOS you're running. Link to comment
ionstorm Posted December 12, 2019 Share Posted December 12, 2019 Hey @deanishe I'm trying to trigger your workflow to open a specific tab using Karabiner Elements. One example is, I'm hoping to send "tab YouTube Music" in order to jump straight to my YouTube Music tab. I've looked around the forum a bit. I found this one thread. I tried it but this is way over my head. https://www.alfredforum.com/topic/11034-syntax-to-trigger-workflow-from-karabiner-elements-json-file Appreciate any help you can give. Thanks! Link to comment
deanishe Posted December 12, 2019 Author Share Posted December 12, 2019 3 hours ago, ionstorm said: I'm trying to trigger your workflow to open a specific tab The workflow isn't capable of doing that. It only knows how to activate tabs based on window and tab numbers, not titles or URLs. You should be able to write a script to do what you want based on the scripts the workflow uses to get tab info and activate them. ionstorm 1 Link to comment
jstnclwcx Posted April 25, 2020 Share Posted April 25, 2020 I just installed 0.7.3 of the workflow. I am running Alfred 4.0.9 on Catalina 10.15.4. After I installed the workflow I encountered this message when I tried to run some of the actions: macOS cannot verify that this app is free from malware. Any help resolving this issue is greatly appreciated. I don't know anything about coding or scripting, so sorry if this is a simple solution. Link to comment
deanishe Posted April 25, 2020 Author Share Posted April 25, 2020 https://github.com/deanishe/awgo/wiki/Catalina Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now