nikivi Posted November 28, 2017 Share Posted November 28, 2017 (edited) The trigger replaces the hotkey that comes by default: I think it does the same thing, just calls the script filter. But now I actually get what the problem is. It is my bad yes. I was calling `all-folders` external trigger and that is internal to the workflow. But I don't get though why it doesn't work. Calling bmf should be the same as calling bmf from all-folders trigger. No? All I want to is to call bmf from an external trigger so I figured I could use all-folders since its there already. Edited November 28, 2017 by nikivi Link to comment
nikivi Posted November 28, 2017 Share Posted November 28, 2017 (edited) As experiment, I tried doing this: Thinking that calling folders might work but it didn't. I am trying to understand why this stopped working for me. It worked perfectly prior to new update so its probably not external trigger fault. Edited November 28, 2017 by nikivi Link to comment
deanishe Posted November 28, 2017 Author Share Posted November 28, 2017 Niki, I'm not going to help you fix problems that, by all appearances, didn't exist until you edited the workflow. You never provide the information necessary to diagnose the issues you run into, and I'm tired of having to remind you every single time. Link to comment
nikivi Posted November 28, 2017 Share Posted November 28, 2017 (edited) 5 minutes ago, deanishe said: You never provide the information necessary to diagnose the issues you run into, and I'm tired of having to remind you every single time But I provided everything I could.. ? I sent you the log of what was spit out to debugger when I opened folder search script filter and pressing at one of the items. And I also sent a screencast to show you what happens. If you can tell me if there is anything else I can send or do, I will do it. You are also free to ignore my messages, I believe I am in the ignore list of yours already. I will try to completely reinstall the workflow though, I didn't at first because I didn't want to redo my configuration settings but its not so bad. Edited November 28, 2017 by nikivi Link to comment
nikivi Posted November 28, 2017 Share Posted November 28, 2017 (edited) p.s. I actually try to avoid asking you questions as I am afraid it would cause another bad or annoyed reaction. I was trying to understand how caching works in AwGo to use in my Awesome lists workflow but it's probably another dumb question. I also did look at all other workflows that use caching in AwGo and your example with GitHub topics too, I still don't get one part of it. Edited November 28, 2017 by nikivi Link to comment
deanishe Posted November 28, 2017 Author Share Posted November 28, 2017 (edited) 2 hours ago, nikivi said: Thinking that calling folders might work but it didn't. "It didn't work" is not an actionable description of a problem. 2 hours ago, nikivi said: I sent you the log of what was spit out to debugger when I opened folder search script filter and pressing at one of the items. And I also sent a screencast to show you what happens. Only after I asked you. Again. And then you sent a log of one thing and a screenshot of another. None of this is particularly helpful, though, because you edited the workflow. My version doesn't have this issue. Yours does. So, you're asking me to fix a problem with a workflow without having the workflow. And this isn't the first time you've done that, either. 2 hours ago, nikivi said: I am in the ignore list of yours already. I tried that, but you immediately started posting your questions as issues on my GitHub repos instead. Like I said on GitHub: Unless somebody else reports the same problem, I'm assuming that you broke it. And you can fix it. Edited November 28, 2017 by deanishe BBCode Link to comment
nikivi Posted November 28, 2017 Share Posted November 28, 2017 (edited) Just installed a brand new workflow from GitHub releases after deleting what I had. The issue is still there. The issue being that trying to pick any of the times from bmf script filter output dismisses Alfred prompt (as seen in the screencast I sent). So yeah. Perhaps my mac is broken. At least searching tabs works. If it didn't, then it would be sad. Edited November 28, 2017 by nikivi Link to comment
nikivi Posted November 28, 2017 Share Posted November 28, 2017 Made a video of it here even: Because it does seem strange that it doesn't even work on a brand new workflow. Link to comment
nikivi Posted November 28, 2017 Share Posted November 28, 2017 Version 0.4.3 works however. Will just use that. Link to comment
deanishe Posted November 28, 2017 Author Share Posted November 28, 2017 15 minutes ago, nikivi said: I actually try to avoid asking you questions as I am afraid it would cause another bad or annoyed reaction. Questions don't annoy me. You personally do not annoy me. What annoys me is having to say the same thing to you every single time because you almost never follow the (very clear) instructions in the stickied thread on making error reports. It turns what should be a five-minute fix into a multi-hour back-and-forth only because you don't follow the instructions in the stickied thread. I wouldn't get annoyed if you were genuinely dumb, but you're clearly not. 28 minutes ago, nikivi said: I still don't get one part of it. Am I now supposed to guess which part? 14 minutes ago, nikivi said: So yeah. Perhaps my mac is broken. I think we'll have to wait and see if somebody else is having the same issue. If you look in the Run Script action called by the browse-folder trigger, you'll see an extra echo "ALSF_UID='$ALSF_UID'" >/dev/stderr. That message wasn't in your log file, but the one from the Debug utility immediately before it was (I think: it's difficult to tell from a screencast). I don't see how the workflow could possibly fail between those two points without an error in the debugger—the only thing between them is a direct connection. So it very much looks like something else running on your computer is causing the issue. Link to comment
deanishe Posted November 28, 2017 Author Share Posted November 28, 2017 14 minutes ago, nikivi said: Made a video of it here even Once again: that doesn't help without the corresponding debugger log. Please try to understand that before one of us dies. Link to comment
nikivi Posted November 28, 2017 Share Posted November 28, 2017 (edited) 1 hour ago, deanishe said: Am I now supposed to guess which part? Thank you in advance for any help. So in that workflow I want to cache the JSON of the awesome lists for a long time. So studying Safari Assistant (my workflow is near replica of it), I figured I have to use LoadOrStoreJSON as that is what you use. From docs it says: LoadOrStoreJSON loads JSON-serialised data from cache if they exist and are newer than maxAge. If the data do not exist or are older than maxAge, reload is called, and the returned interface{} is cached and returned. So I assume that would create the cache if there is no cache but I don't get this reload() func and how I can use it in context of my workflow and these awesome lists. Here is how you use it for example. I want to store the pure representation of the JSON I get and then access that instead of always parsing the webpage. in future I want to go inside the awesome lists too and do the same thing and cache that. So you can access all awesome lists and jump around super fast because everything is cached. Thank you for any help. Below is a huge log of me running bmf script filter TWO times. Edited November 28, 2017 by nikivi Link to comment
nikivi Posted November 28, 2017 Share Posted November 28, 2017 (edited) Edited November 28, 2017 by nikivi Link to comment
deanishe Posted November 28, 2017 Author Share Posted November 28, 2017 1 minute ago, nikivi said: But I did send the debugger log (two times actually) And as I've also said two times, the logs you posted were unrelated to the screencasts you posted and, more importantly, were generated by a modified version of the workflow. 5 minutes ago, nikivi said: Here is an even longer log, after trying to access the bmf script filter TWO times and trying to access one of the items. Finally. Why didn't you post this and the corresponding screencast the first time? What I said above appears to hold true: the workflow is somehow failing at a simple connection between the BROWSE FOLDER OUT Debug utility and the Run Script it's connected to. Here's the corresponding section of the log on my machine: [2017-11-28 22:10:00][utility.debug] . /--- BROWSE FOLDER OUT ---\ query= variables={ "ALSF_HISTORY_ENTRIES" = 1000; "ALSF_INCLUDE_BOOKMARKLETS" = 0; "ALSF_SEARCH_HOSTNAMES" = 1; "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_UID" = "7E9A7404-92F3-432E-A549-B3131BEAF971"; "ALSF_URL_CTRL" = "Open in Chrome"; "ALSF_URL_FN" = "Open in Private Window"; "ALSF_URL_OPT" = "Open in Firefox"; "ALSF_URL_SHIFT" = ""; "AW_SESSION_ID" = 8V3OPNTMXHL3HVD6JK1XGQZP; action = browse; } \-------------------------/ [2017-11-28 22:10:00][utility.debug] Processing output of 'input.scriptfilter' with arg '' [2017-11-28 22:10:00][input.scriptfilter] Queuing argument '' [2017-11-28 22:10:00][input.scriptfilter] Script with argument '' finished [2017-11-28 22:10:00][STDERR: input.scriptfilter] ALSF_UID='7E9A7404-92F3-432E-A549-B3131BEAF971' ? 22:10:00 workflow.go:614: ------- Safari Assistant/0.4.3 (AwGo/0.13) ------- 22:10:00 folders.go:48: query=, uid=7E9A7404-92F3-432E-A549-B3131BEAF971 So from your log, this shouldn't be there: [2017-11-28 22:00:54][utility.debug] Processing output of 'utility.filter' with arg '' [2017-11-28 22:00:54][utility.debug] Processing output of 'utility.filter' with arg '' [2017-11-28 22:00:54][utility.debug] Processing output of 'utility.filter' with arg '' [2017-11-28 22:00:54][utility.debug] Processing output of 'utility.filter' with arg '' [2017-11-28 22:00:54][utility.debug] Processing output of 'utility.filter' with arg '' [2017-11-28 22:00:54][utility.debug] Processing output of 'utility.filter' with arg '' [2017-11-28 22:00:54][utility.debug] Processing output of 'utility.filter' with arg '' [2017-11-28 22:00:54][utility.debug] Processing output of 'utility.filter' with arg '' [2017-11-28 22:00:54][utility.debug] Processing output of 'utility.filter' with arg '' And the workflow shouldn't stop here: [2017-11-28 22:00:54][input.scriptfilter] Queuing argument '' Could you try resetting the workflow with bm workflow:reset and then re-installing it? Link to comment
nikivi Posted November 28, 2017 Share Posted November 28, 2017 19 minutes ago, deanishe said: Could you try resetting the workflow with bm workflow:reset and then re-installing it? Tried to do just that. Same issue. Here is the log of me running it one time again: Starting debug for 'Safari Assistant' [2017-11-28 22:33:50][trigger.external] Processing output of 'input.scriptfilter' with arg '' [2017-11-28 22:33:50][input.scriptfilter] Queuing argument '' [2017-11-28 22:33:50][input.scriptfilter] Script with argument '' finished [2017-11-28 22:33:50][STDERR: input.scriptfilter] ? 22:33:50 workflow.go:614: ------- Safari Assistant/0.4.4 (AwGo/0.13) ------- 22:33:50 update.go:159: Latest release: 0.4.4 22:33:50 folders.go:25: query= 22:33:50 feedback.go:431: Sent 13 result(s) to Alfred 22:33:50 update.go:171: 13m since last check for update 22:33:50 workflow.go:790: ---------------------- 7ms ----------------------- [2017-11-28 22:33:50][input.scriptfilter] { "variables": { "AW_SESSION_ID": "UDUAPTJDSEWXLQY8VS32Z2ON" }, "items": [ { "title": "Favorites (4 bookmarks)", "subtitle": "", "valid": true, "icon": { "path": "icons/folder.png" }, "variables": { "ALSF_UID": "639C263B-B7DB-4B04-8074-ED3CEED943EE", "action": "browse" }, "mods": { "cmd": { "subtitle": "Open 4 bookmark(s)", "variables": { "ALSF_UID": "639C263B-B7DB-4B04-8074-ED3CEED943EE", "action": "open" } } } }, { "title": "Bookmarks Menu (0 bookmarks)", "subtitle": "", "valid": false, "icon": { "path": "icons/folder.png" } }, { "title": "Reading List (0 bookmarks)", "subtitle": "", "valid": false, "icon": { "path": "icons/folder.png" } }, { "title": "w:top (13 bookmarks)", "subtitle": "", "valid": true, "icon": { "path": "icons/folder.png" }, "variables": { "ALSF_UID": "A4503744-7C59-441A-BE7C-FE214F1938C2", "action": "browse" }, "mods": { "cmd": { "subtitle": "Open 13 bookmark(s)", "variables": { "ALSF_UID": "A4503744-7C59-441A-BE7C-FE214F1938C2", "action": "open" } } } }, { "title": "f:personal (11 bookmarks)", "subtitle": "", "valid": true, "icon": { "path": "icons/folder.png" }, "variables": { "ALSF_UID": "A007516B-041C-43EC-BA35-690CEDD8653C", "action": "browse" }, "mods": { "cmd": { "subtitle": "Open 11 bookmark(s)", "variables": { "ALSF_UID": "A007516B-041C-43EC-BA35-690CEDD8653C", "action": "open" } } } }, { "title": "d:code (1 bookmarks)", "subtitle": "", "valid": true, "icon": { "path": "icons/folder.png" }, "variables": { "ALSF_UID": "91A72F4E-FCD9-4E8F-80FC-A108BF7ED0C4", "action": "browse" }, "mods": { "cmd": { "subtitle": "Open 1 bookmark(s)", "variables": { "ALSF_UID": "91A72F4E-FCD9-4E8F-80FC-A108BF7ED0C4", "action": "open" } } } }, { "title": "a:analytics (5 bookmarks)", "subtitle": "", "valid": true, "icon": { "path": "icons/folder.png" }, "variables": { "ALSF_UID": "F4F2DA79-F03F-46C3-BD68-DA85836D81B1", "action": "browse" }, "mods": { "cmd": { "subtitle": "Open 5 bookmark(s)", "variables": { "ALSF_UID": "F4F2DA79-F03F-46C3-BD68-DA85836D81B1", "action": "open" } } } }, { "title": "e:events (1 bookmarks)", "subtitle": "", "valid": true, "icon": { "path": "icons/folder.png" }, "variables": { "ALSF_UID": "B0DE671F-5819-4511-BDF7-0D9A22C8D2DD", "action": "browse" }, "mods": { "cmd": { "subtitle": "Open 1 bookmark(s)", "variables": { "ALSF_UID": "B0DE671F-5819-4511-BDF7-0D9A22C8D2DD", "action": "open" } } } }, { "title": "t:track (1 bookmarks)", "subtitle": "", "valid": true, "icon": { "path": "icons/folder.png" }, "variables": { "ALSF_UID": "FCD80583-D530-487E-AC6F-F83211F8BF8C", "action": "browse" }, "mods": { "cmd": { "subtitle": "Open 1 bookmark(s)", "variables": { "ALSF_UID": "FCD80583-D530-487E-AC6F-F83211F8BF8C", "action": "open" } } } }, { "title": "r:work (1 bookmarks)", "subtitle": "", "valid": true, "icon": { "path": "icons/folder.png" }, "variables": { "ALSF_UID": "6E622B37-FEDB-4D24-82CC-B205BC44A4F7", "action": "browse" }, "mods": { "cmd": { "subtitle": "Open 1 bookmark(s)", "variables": { "ALSF_UID": "6E622B37-FEDB-4D24-82CC-B205BC44A4F7", "action": "open" } } } }, { "title": "s:social (1 bookmarks)", "subtitle": "", "valid": true, "icon": { "path": "icons/folder.png" }, "variables": { "ALSF_UID": "4D03C657-26B2-48C0-8107-D4AE8CB4EDDC", "action": "browse" }, "mods": { "cmd": { "subtitle": "Open 1 bookmark(s)", "variables": { "ALSF_UID": "4D03C657-26B2-48C0-8107-D4AE8CB4EDDC", "action": "open" } } } }, { "title": "u:uni (4 bookmarks)", "subtitle": "", "valid": true, "icon": { "path": "icons/folder.png" }, "variables": { "ALSF_UID": "3FC20651-E8BE-48CA-BD24-CD0465CC2A8C", "action": "browse" }, "mods": { "cmd": { "subtitle": "Open 4 bookmark(s)", "variables": { "ALSF_UID": "3FC20651-E8BE-48CA-BD24-CD0465CC2A8C", "action": "open" } } } }, { "title": "hosts (2 bookmarks)", "subtitle": "", "valid": true, "icon": { "path": "icons/folder.png" }, "variables": { "ALSF_UID": "28597CB6-EC4F-4A65-84AC-EAE0096A6F2D", "action": "browse" }, "mods": { "cmd": { "subtitle": "Open 2 bookmark(s)", "variables": { "ALSF_UID": "28597CB6-EC4F-4A65-84AC-EAE0096A6F2D", "action": "open" } } } } ] } [2017-11-28 22:33:51][input.scriptfilter] Processing output of 'utility.debug' with arg '' [2017-11-28 22:33:51][utility.debug] . /--- DISPATCH IN ---\ query= variables={ "ALSF_HISTORY_ENTRIES" = 1000; "ALSF_INCLUDE_BOOKMARKLETS" = 0; "ALSF_SEARCH_HOSTNAMES" = 1; "ALSF_TAB_CTRL" = "Close Tab"; "ALSF_TAB_FN" = "Open in Private Window"; "ALSF_TAB_OPT" = "Close Tabs to Left"; "ALSF_TAB_SHIFT" = "Close Tabs to Right"; "ALSF_UID" = "639C263B-B7DB-4B04-8074-ED3CEED943EE"; "ALSF_URL_CTRL" = "Search in Bookmarks"; "ALSF_URL_FN" = "Open in Private Window"; "ALSF_URL_OPT" = "Open in Chrome"; "ALSF_URL_SHIFT" = ""; "AW_SESSION_ID" = UDUAPTJDSEWXLQY8VS32Z2ON; action = browse; } \-------------------/ [2017-11-28 22:33:51][utility.debug] Processing output of 'output.callexternaltrigger' with arg '' [2017-11-28 22:33:51][trigger.external] Processing output of 'utility.debug' with arg '' [2017-11-28 22:33:51][utility.debug] . /--- DISPATCH OUT ---\ query= variables={ "ALSF_HISTORY_ENTRIES" = 1000; "ALSF_INCLUDE_BOOKMARKLETS" = 0; "ALSF_SEARCH_HOSTNAMES" = 1; "ALSF_TAB_CTRL" = "Close Tab"; "ALSF_TAB_FN" = "Open in Private Window"; "ALSF_TAB_OPT" = "Close Tabs to Left"; "ALSF_TAB_SHIFT" = "Close Tabs to Right"; "ALSF_UID" = "639C263B-B7DB-4B04-8074-ED3CEED943EE"; "ALSF_URL_CTRL" = "Search in Bookmarks"; "ALSF_URL_FN" = "Open in Private Window"; "ALSF_URL_OPT" = "Open in Chrome"; "ALSF_URL_SHIFT" = ""; "AW_SESSION_ID" = UDUAPTJDSEWXLQY8VS32Z2ON; action = browse; } \--------------------/ [2017-11-28 22:33:51][utility.debug] Processing output of 'utility.filter' with arg '' [2017-11-28 22:33:51][utility.filter] Processing output of 'utility.debug' with arg '' [2017-11-28 22:33:51][utility.debug] . /--- BROWSE FOLDER ---\ query= variables={ "ALSF_HISTORY_ENTRIES" = 1000; "ALSF_INCLUDE_BOOKMARKLETS" = 0; "ALSF_SEARCH_HOSTNAMES" = 1; "ALSF_TAB_CTRL" = "Close Tab"; "ALSF_TAB_FN" = "Open in Private Window"; "ALSF_TAB_OPT" = "Close Tabs to Left"; "ALSF_TAB_SHIFT" = "Close Tabs to Right"; "ALSF_UID" = "639C263B-B7DB-4B04-8074-ED3CEED943EE"; "ALSF_URL_CTRL" = "Search in Bookmarks"; "ALSF_URL_FN" = "Open in Private Window"; "ALSF_URL_OPT" = "Open in Chrome"; "ALSF_URL_SHIFT" = ""; "AW_SESSION_ID" = UDUAPTJDSEWXLQY8VS32Z2ON; action = browse; } \---------------------/ [2017-11-28 22:33:51][utility.debug] Processing output of 'output.callexternaltrigger' with arg '' [2017-11-28 22:33:51][trigger.external] Processing output of 'utility.debug' with arg '' [2017-11-28 22:33:51][utility.debug] . /--- BROWSE FOLDER OUT ---\ query= variables={ "ALSF_HISTORY_ENTRIES" = 1000; "ALSF_INCLUDE_BOOKMARKLETS" = 0; "ALSF_SEARCH_HOSTNAMES" = 1; "ALSF_TAB_CTRL" = "Close Tab"; "ALSF_TAB_FN" = "Open in Private Window"; "ALSF_TAB_OPT" = "Close Tabs to Left"; "ALSF_TAB_SHIFT" = "Close Tabs to Right"; "ALSF_UID" = "639C263B-B7DB-4B04-8074-ED3CEED943EE"; "ALSF_URL_CTRL" = "Search in Bookmarks"; "ALSF_URL_FN" = "Open in Private Window"; "ALSF_URL_OPT" = "Open in Chrome"; "ALSF_URL_SHIFT" = ""; "AW_SESSION_ID" = UDUAPTJDSEWXLQY8VS32Z2ON; action = browse; } \-------------------------/ [2017-11-28 22:33:51][utility.debug] Processing output of 'input.scriptfilter' with arg '' [2017-11-28 22:33:51][utility.debug] Processing output of 'utility.filter' with arg '' [2017-11-28 22:33:51][utility.debug] Processing output of 'utility.filter' with arg '' [2017-11-28 22:33:51][utility.debug] Processing output of 'utility.filter' with arg '' [2017-11-28 22:33:51][utility.debug] Processing output of 'utility.filter' with arg '' [2017-11-28 22:33:51][utility.debug] Processing output of 'utility.filter' with arg '' [2017-11-28 22:33:51][utility.debug] Processing output of 'utility.filter' with arg '' [2017-11-28 22:33:51][utility.debug] Processing output of 'utility.filter' with arg '' [2017-11-28 22:33:51][utility.debug] Processing output of 'utility.filter' with arg '' [2017-11-28 22:33:51][utility.debug] Processing output of 'utility.filter' with arg '' [2017-11-28 22:33:51][input.scriptfilter] Queuing argument '' Link to comment
deanishe Posted November 28, 2017 Author Share Posted November 28, 2017 (edited) 1 hour ago, nikivi said: I want to store the pure representation of the JSON I get and then access that instead of always parsing the webpage. That's the whole point of it. If you wanted to store the HTML, you'd use LoadOrStore instead (which takes and returns []byte). 1 hour ago, nikivi said: I don't get this reload() func and how I can use it in context of my workflow Say you store each awesome workflow in: type Workflow struct { Name string Description string Author string URL string } Your main data collection will be a slice of those: []*Workflow. So, as you'd do when unmarshalling JSON, you create that slice to unmarshal the data into. In addition, you create a "reload" function with the signature func fetchAndParseAwesomeList() (interface{}, error) that returns the same data type as the pointer you're unmarshalling into, i.e. []*Workflow: reload := func() (interface{}, error) { data := []*Workflow{} // fetch and parse HTML into *Workflow structs here // and add them to the above slice return data, nil } Then you pass that reload function to LoadOrStoreJSON, which will load the data from the cache if they exist and aren't too old. If the cache is empty or too old, it will call your reload function and store the data it returns to the cache, and also return them. So: // Slice to unmarshal cached JSON into var data []*Workflow reload := func() (interface{}, error) { // as above ... } // Fetch data from cache or `reload()` and unmarshal them into `data` err := aw.LoadOrStoreJSON("workflows", 3 * time.Hour, reload, &data) if err != nil { // handle error } log.Printf("%#v", data) Edited November 28, 2017 by deanishe Code nikivi 1 Link to comment
deanishe Posted November 28, 2017 Author Share Posted November 28, 2017 8 minutes ago, nikivi said: Tried to do just that. Same issue. And same response as above: the workflow appears to be failing at a place it can't actually fail. The number of log messages from utility.filter suggests the workflow is running the dispatch trigger, but even then, there should be 10 entries, not 9. And there's no connection between the BROWSE FOLDER OUT Debug and the dispatch trigger without going through other elements that should also write to the debugger. I'll double-check the built workflow compared to the source version I'm using when I get home, but it very much looks to be something funky with your system. Link to comment
nikivi Posted November 28, 2017 Share Posted November 28, 2017 (edited) Thank you @deanishe This actually clears it up for me now. Will try and use that in my workflow. Cache all the things. p.s. I really love Safari Assistant ? I really want to make a workflow as cool as Searchio or this one day. Edited November 28, 2017 by nikivi Link to comment
bk161124 Posted February 26, 2018 Share Posted February 26, 2018 Hi! That’s a great Workflow deanishe! Thanks! Would it be possible to add a trigger to open the active Safari Tab in Firefox/Chrome whatever with a singe shortcut or keyword? Thanks! Link to comment
BaltimoreTom Posted March 28, 2018 Share Posted March 28, 2018 I would love to be able to open all bookmarks in a folder in Chrome. Link to comment
Vero Posted March 29, 2018 Share Posted March 29, 2018 @BaltimoreTom Welcome to the forum. Could you please fill in your Powerpack email address in your forum profile? This is only visible to admins, and allows us to confirm your registered email address before you take part in Powerpack-specific discussions. Cheers, Vero Link to comment
deanishe Posted March 29, 2018 Author Share Posted March 29, 2018 On 26/02/2018 at 12:34 PM, bk161124 said: Would it be possible to add a trigger to open the active Safari Tab in Firefox/Chrome whatever with a singe shortcut or keyword? Thanks! You could add it to the workflow relatively easily by copying the existing Hotkey row that opens the action list for the current tab. Replace the self.tab-actions external trigger call with a Run Script with language = /bin/bash containing: export ALSF_ACTION="Open in Chrome" ./alsf action url Note: I haven't actually tested the above. It should be at least close to working. Link to comment
JolinM Posted June 14, 2018 Share Posted June 14, 2018 On 2/26/2018 at 6:34 AM, bk161124 said: Hi! That’s a great Workflow deanishe! Thanks! Would it be possible to add a trigger to open the active Safari Tab in Firefox/Chrome whatever with a singe shortcut or keyword? Thanks! Indeed, fantastic tool to help move around between browsers. I would second bk161124 suggestion, if ever Link to comment
deanishe Posted June 15, 2018 Author Share Posted June 15, 2018 1 hour ago, JolinM said: I would second bk161124 suggestion, if ever I already explained how to do that. Read first, then write Link to comment
JolinM Posted June 17, 2018 Share Posted June 17, 2018 (edited) On 6/14/2018 at 8:48 PM, deanishe said: I already explained how to do that. Read first, then write Oups! You indeed just did, the post before mine… I feel a bit ashamed about not spotting it, sorry! On 3/29/2018 at 12:17 PM, deanishe said: You could add it to the workflow relatively easily by copying the existing Hotkey row that opens the action list for the current tab. Replace the self.tab-actions external trigger call with a Run Script with language = /bin/bash containing: export ALSF_ACTION="Open in Chrome" ./alsf action url Note: I haven't actually tested the above. It should be at least close to working. Thanks for your quick answer; I can’t manage to make it work, thought… any clues Edited June 17, 2018 by JolinM Image order 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