Jump to content
ab3

Swift Hook to Alfred Debugger

Recommended Posts

I have been making work flow snippets in swift. They work great. How ever I was wondering if there was a way to connect to the Alfred debugger. I want to see print statements and errors in the debugger. 

 

Any guidance would be appreciate.

 

On a secondary note I have made some Run scripts that I reuse. Is there a way to rename the run script GUI so I can see which is which without having to lock at my comments?

Share this post


Link to post

Alfred’s debugger shows whatever your script/program writes to STDERR.

 

Anything written to STDOUT becomes the input for the next workflow element.

Share this post


Link to post
8 minutes ago, ab3 said:

is there a way to write tot he debug console?

 

The debugger shows whatever your program writes to STDERR, so write your log messages to STDERR.

Share this post


Link to post
22 hours ago, deanishe said:

 

The debugger shows whatever your program writes to STDERR, so write your log messages to STDERR.

 

Perfect thanks got that working now. Some how missed that in your original response. DOH! You are a legend :)

 

Any chance you know how to customise the Run Script icon so I can give each reusable run scripts unique name or icon?

 

 

Share this post


Link to post
5 hours ago, ab3 said:

Any chance you know how to customise the Run Script icon so I can give each reusable run scripts unique name or icon?

 

Can't be done. You can change the colour of the element and edit its note, but you can't change its name or icon.

Share this post


Link to post
18 hours ago, deanishe said:

 

Can't be done. You can change the colour of the element and edit its note, but you can't change its name or icon.

 

Don't know how I missed the colous works a treat thanks :)

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...