Jump to content

selfmade69

Member
  • Posts

    28
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by selfmade69

  1. On 6/17/2023 at 3:56 PM, vitor said:

     

    You don’t have to do that.

     

     

    The Script Filter isn’t running code to change the Night Shift value, it’s only there to present an interface for you to insert a value. That value is then passed to the Run Script, which is making the change.

     

    Welp! It boggles my mind how come this tiny part of code could tell night mode to send the command successfully:

     

    ./nshift "25"


     

  2. 14 hours ago, vitor said:

     

    That would still invoke the Script Filter, which you’re trying to avoid.


    Took a quick look at the code and it seems the comment above holds. Essentially you set it up correctly but on the wrong object. Set up the Inbound Configuration (or connect an External Trigger) on the Run Script instead.

     

    Not sure why but it worked!

     

    I set Inbound Config on the bash Run Script which is:

    image.thumb.jpeg.3d1d54145af3ca6a202a16551511bb6d.jpeg

     

    I also had to disconnect it from the trigger as it got other commands running as the same, I then made a copy of it and connect it to the Script filter.

     

    image.jpeg.da1d7fa995145caf7a98e39df6f41829.jpeg

     

    Could you please explain how come the Call External still works when the Run Script isn't even connected to the script filter, where the code actually is:

     

    image.thumb.jpeg.9c234435d113b558971174c7af28f622.jpeg

     

  3. 29 minutes ago, vitor said:

    It’s impossible to say exactly what you need to change without knowing which workflow you’re using (do you have a link?), but you need to connect externally to the Run Script, not the Script Filter. The Script Filter is what shows the options and you’re connecting to that, when you want to connect to what makes the changes. Probably; again, only looking at it can we say for sure.

     

    I am about this workflow https://www.packal.org/workflow/nightshift

     

    However I think the main thing is that I want to pass the command "night 25" from another workflow on it so that Nightshift workflow will do whats necessary.

  4. What I would like to achieve:


    I want to run workflow (NightShift) with "night 25" passed to it from another workflow so that I will have 25% of night shift levels without typing "night 25" on alfred search bar window.

     

    What I did:

     

    I set inbound configuration in the NightShift's script filter with 25 as argument:

     image.thumb.jpeg.540e422e3f60d30f1084b925861bed12.jpeg

     

     

    I set Call External in another workflow:

     

    image.thumb.jpeg.f34d61d57f5e5d859aa16db6422810e8.jpeg

     

     

    However, it just doesn’t pass itself but rather shows in alfred search bar window:

    image.thumb.jpeg.e4e8e8e12c64d80406f98f0bfa03e2aa.jpeg

     

    Any idea how I can avoid alfred displaying the search bar window and just pass "night 25"?

     

     

  5. Can anyone please confirm if this is still working somehow? I just installed this workflow however when if type in the keyword it doesnt show me anything 

     

    I am on MacOS 10.15.5 (19F101)

     

    Screen Shot 2020-08-12 at 11.17.42 PM.jpg

  6. Yo

     

    I need some quick help about building this workflow. Assuming I have some content on my clipboard that contains:

     

    <p><a href="https://extreme-commerce.teachable.com/courses/392385/lectures/9786542?wvideo=kq8qkcou90"><img src="https://embed-ssl.wistia.com/deliveries/ebed1d02876b16bbe631160edc9168069bdd66c1.jpg?image_crop_resized=800x432.5&amp;image_play_button_size=2x&amp;image_play_button=1&amp;image_play_button_color=09A59Ae0" width="400" height="216.25" style="width: 400px; height: 216.25px;"></a></p><p><a href="https://extreme-commerce.teachable.com/courses/392385/lectures/9786542?wvideo=kq8qkcou90">How to add and use product hunting tools | Extreme Commerce</a></p>

     

    I would like alfred to get the video ID that is  "kq8qkcou90" in the above string (all the other parts are dynamic before wvideo= and after "> so I am guessing the script should somehow filter the rest of the string. After doing that the script should place it under this string:

    youtube-dl http://fast.wistia.net/embed/iframe/kq8qkcou90

     and pass it to terminal.

     

    Any help would be appreciated.

     

    P.S. I tried to do this way but it didn’t help:

     ppLkJUSq9gxLsOmKqpkjSQJMbOnsU8

     

     

     

  7. 1 hour ago, deanishe said:

    Before posting a new thread, please use the search to see if your question has already been answered (it has):

     

    https://www.alfredforum.com/search/?&q=Chrome profile&search_and_or=and

     

    Dear I searched this already but the closest I got through search is just opening Chrome profiles or bookmarks with specific profile and nothing about the query to be passed through after opening Chrome specific profile.

  8. I want to:
    • Create a workflow that can fetch the products list from Shoppy.com API: https://docs.shoppy.gg/
    • As soon as I type the matching strings (of the products) should appear below in real time
    • When I press enter, it should copy that product URL link along with the custom string that says: "Here is the product link: <url>" so that I can paste it wherever I want
     
    What do I have to to to achieve it?
     
    Any help would be highly appreciated
     
    Thanks 
  9. @Vero


    What I meant was that clipboard history still doesn't work even after disabling both potential conflicting applications but strangely enough the clipboard merging option works.

    Example: Copying "ABC" with command + C does not show in the history but copying "ABC" with Holding command + double tapping C will merge and shows up in the history I don't know why copying with Command + C isn't working anymore.

  10. @Vero

     

    I have keyboard maestro and Typinator, i have disabled both of them but the clipboard history is still not working. However, there is one confusing thing: when i enable Merging option and hold Command + double tab C the clipboard history works but with merging only and not with a simple copy.

×
×
  • Create New...