Jump to content

Apple script - Log not working?


Recommended Posts

I can't find any way to output anything from "Run NS Apple script" into debug console.

My script looks like this:

 2105039588_Screenshot2020-04-18at18_01_39.jpg.1fafcda51ebd502916dbcd2fa5fe344c.jpg

 

And when I run it, it doesn't output "Something" in the console. Console looks like this after I run the script:

540940576_Screenshot2020-04-18at18_02_45.thumb.jpg.c35afb7cf01380dd8a5032b521b00829.jpg

 

Here's how workflow looks like (very basic, just to test the console output):

1980778559_Screenshot2020-04-18at18_03_48.jpg.2e261b9009d378a3158c13bf2fbabded.jpg

 

My Alfred version is 3.8.6

Osx Catalina 10.15.3

 

 

Thanks!

 

Edited by chavlji
Link to comment
8 hours ago, chavlji said:

But why is first log always printed out as an error?

 

Because older versions of Alfred always prefixed log messages with ERROR.

 

Also, all three messages are being printed as "errors": as far as Alfred is concerned they're all one single message with some newlines.

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...