Jump to content

Jono

Member
  • Content Count

    170
  • Joined

  • Last visited

  • Days Won

    2

Jono last won the day on January 6 2016

Jono had the most liked content!

About Jono

  • Rank
    Member

Contact Methods

  • Twitter
    jonohunt
  • Website URL
    https://jonohunt.design

Profile Information

  • Location
    UK

Recent Profile Visitors

1,115 profile views
  1. Actually, it would be great if there was just an option to show the bookmark icon of your default browser, like it does in Spotlight πŸ™‚
  2. No, not totally broken. It works but even though I replaced the icons it still showed the old ones. I guess I need to dig a little deeper to make sure I 'got 'em all'! That would be SOOoo much better! Pretty please @Andrew! πŸ˜ƒ
  3. …so a year later and the Safari Assistant workflow doesn't work for me anymore πŸ™ I don't suppose anything's changed in Alfred that allows changing the default bookmark icon, is there? πŸ€”
  4. I'm wondering if what I'm wanting to achieve is possible πŸ€” Here's my current theme I was wanting to make the horizontal line at the top (just under the search field) a different opacity to all the others below it, and also full width like Spotlight. Is that possible? …also, the background colour for the selected text seems pretty high at the top. Is there any way to reduce that? πŸ™‚
  5. Ah, right. Where should 'echo "${fileName}"' go in the script? At the end after 'done'? And I should still add {query} in the notification? I've tried it in various places in the script, but it either shows the filename along with the full path of the input and output, or just shows the full path of the input and output (no filename on it's own) 😐
  6. Thanks, this works on images without a space in the filename, but not with spaces in the filename. Could that be something to do with the line above it? theFile="${1}" Also, I wanted to show the name of the image in a notification. I tried {query} but that shows the full path to the original image, and also tried ${fileName} (and variations of it) but that didn't work either. How would I do that?
  7. I don't know much at all about shell scripting, but I managed to cobble together a workflow that actually works. theFile="{query}" theImage=$(basename "${theFile}") fileName="${theImage%.*}" outputFile=$"$HOME/Desktop/$fileName.jpg" sips -s format jpeg -s formatOptions 100 "${theFile}" --out "${outputFile}" open -a ImageOptim "${outputFile}" I'm using it as a File Action, so select a PNG image, run the workflow and it converts it to JPG, then runs it though ImageOptim. This works when selecting single images. but doesn't work if I pass it multiple PNGs. In the File
  8. I also do this with a few different app's libraries/settings via the Synology Drive client πŸ‘
  9. Good idea, I've removed some of the keywords. …and yeah, I'll actually use quite a few functions of the workflow, not just regular bookmarks πŸ˜ƒ
  10. I was trying to strip out parts of the workflow that I didn't want. I guess I 'stripped out' too much 😊
×
×
  • Create New...