Yaz Posted August 25, 2019 Share Posted August 25, 2019 I am trying to make a workflow that opens Youtube (https://www.youtube.com/feed/trending?gl=US) if no argument is passed and searches YouTube if an argument (selection in macOS is passed). I tried using the conditional utility but it seems that a value (not zero) is passed when there is no argument. I tried debugging to see what value is given when no argument is passed, but it only shows "" in the debugger. What am I doing wrong? Or is there another workaround? Thanks Link to comment
deanishe Posted August 26, 2019 Share Posted August 26, 2019 9 hours ago, Yaz said: What am I doing wrong? We can't tell you what's wrong with a workflow we've never seen. Please upload the workflow somewhere and provide a link. Link to comment
Yaz Posted August 26, 2019 Author Share Posted August 26, 2019 @deanishe My bad. I just figured it out but I will share the workflow in case anyone would find it useful (the replace empty input utility solved my issue). https://ufile.io/7uilohmi Thanks again deanishe! Link to comment
deanishe Posted August 26, 2019 Share Posted August 26, 2019 That shouldn't be necessary. I just removed your Replace utility, configured the workflow as follows, and it works as it should. Yaz 1 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