Jump to content

Apple script bug - Line break in query


Recommended Posts

 

I made a simple test, to explain my problem:

1460798271_Screenshot2020-04-19at11_04_43.jpg.934a97eb26eab239855e3745bf0b15d8.jpg

 

Apple script:

1614314224_Screenshot2020-04-19at11_06_53.thumb.jpg.b400579c4bb5248ecfc7f97dd17cd7ab.jpg

 

Keyword looks like this

2051616459_Screenshot2020-04-19at11_09_23.jpg.8b45219230576871b6107f63900fd649.jpg

 

When I run it, it looks like this:

1055641383_Screenshot2020-04-19at11_07_38.thumb.jpg.09e2f6b8aa43eed3dc33820712c72828.jpg

 

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 by chavlji
Link to comment

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 by chavlji
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...