chavlji Posted April 19, 2020 Share Posted April 19, 2020 (edited) I made a simple test, to explain my problem: Apple script: Keyword looks like this When I run it, it looks like this: Where does this line break comes from?! You can see it in the input, as well as in description (" and more" is missing - probably because after first it breaks into new line) I have Alfred v3.8.6 OsX Catalina 10.15.3 Thanks! Edited April 19, 2020 by chavlji Link to comment
deanishe Posted April 19, 2020 Share Posted April 19, 2020 8 hours ago, chavlji said: Where does this line break comes from?! AppleScript. For some reason, it always adds a linebreak to the return value. Link to comment
chavlji Posted April 19, 2020 Author Share Posted April 19, 2020 (edited) Ok, thanks for the explanation. I need Apple script, because I need to do some image manipulation to then get the query param. Is it possible, to put some step after "Run script" and before "Keyword", that would be able to clean this line break and send clean query to the "Keyword"? Edited April 19, 2020 by chavlji Link to comment
deanishe Posted April 19, 2020 Share Posted April 19, 2020 Utilities > Transform > Trim. Link to comment
chavlji Posted April 20, 2020 Author Share Posted April 20, 2020 Works like a charm! Thank you! 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