69wpm
-
Posts
18 -
Joined
-
Last visited
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by 69wpm
-
-
Every day I have to publish articles on the internet. That means, I also have to work with pictures, especially resizing, which gets annoying if it takes too much time. That's why I was looking for a simple way to resize, crop or pad an image with Alfred. This is the result:
This workflow uses an AppleScript by Herman van Boeijen which I found here.
You have 2 options to use this workflow:
1. You use the command "imgedit" + the name of the image or
2. You browse your files with Alfred, use the right arrow to show the available options and choose this workflow.
Here some screenshots to demonstrate the workflow a bit better:
Download the workflow here.
-
Thanks, that did it!
-
Hmmm...I've tried this with several older versions of my settings file but I can't reproduce this error. Could you open up your settings file (at /Users/<you>/Library/Application Support/Alfred 2/Workflow Data/jc-weather/settings.json) and either post it or see if it looks like this? It's OK if you have additional settings, like key.fio, but you should have at least the ones below.
{
"key.wund": "<your key>",
"service": "wund",
"icons": "grzanka",
"days": 3,
"time_format": "%A, %B %d, %Y %I:%M%p",
"version": 3,
"location": {
"latitude": 34.0522342,"timezone": "America/Los_Angeles","longitude": -118.2436849,"name": "Los Angeles, California","short_name": "Los Angeles"
},
"units": "si"
}
Weird, it looks like this:
{ "service": "wund", "icons": "grzanka", "key.fio": "88a6b92b8f6ecc59ccbbd8719f7e5f32", "days": 5, "time_format": "%a, %d %b %Y %H:%M", "version": 2, "location": { "latitude": 45.755539, "timezone": "Europe/Bucharest", "longitude": 21.237499, "name": "Timisoara, Romania", "short_name": "Timisoara" }, "units": "si" }
-
I put the test-image file in "Downloads", so there are no spaces in the path. Now, the updated workflow does output an image, but it's not resized. This is the image I used. Also jpg to png does still not work.
-
I used the "ci" command and set the extension to jpg first. The images are quite big, about 4000px in width so the scaling should not be a problem.
-
This workflow doesn't work for me, it creates the "tmp" folder and that's it. I get a notification but the image is neither compressed nor converted.
-
Is it just me or does Caffeinate disable the Screen Saver?
-
Well, I updated to the new version, now it doesn't work anymore. I get the result "key.wund"
-
-
This is great, could you please do the same for openthesaurus.de?
-
Thank God for this workflow. The coders said they would implement a search function in U3, but who knows when. Thanks a lot.
-
-
The Caffeinate workflow: http://www.alfredforum.com/topic/710-toggle-caffeine/
Also: It would be nice to post only one workflow. If you post 5 workflows and we like only 1, we can't like the whole post.. Just post more than once.
-
Hello,
I had this problem too so i tried adding a delay of 0.5 seconds into the script - it now opens sparrow first before searching.
the script now reads...
on alfred_script(q)delay 0.5tell application "Sparrow" to activate --- activates sparrowtell application "System Events"tell process "Sparrow" --- implying Sparrow is already activatedkey code 3 using {command down, option down} --- send cmd+alt+F to Sparrow invoking searchkeystroke q --- enter the queryend tellend tellend alfred_scriptCool, that works. Would be cool to extend the script to launch Sparrow first (if it's not already launched) and than execute the script. I am not big into programming, but it should be something like this:
on alfred_script(q) tell application "System Events" set isSparrowRunning to (count of (every process whose name is "Sparrow")) > 0 end tell if isSparrowRunning then tell application "Sparrow" to activate --- activates sparrow tell application "System Events" tell process "Sparrow" --- implying Sparrow is already activated key code 3 using {command down, option down} --- send cmd+alt+F to Sparrow invoking search keystroke q --- enter the query end tell end tell else tell application "Sparrow " to launch delay 0.5 tell application "Sparrow" to activate --- activates sparrow tell application "System Events" tell process "Sparrow" --- implying Sparrow is already activated key code 3 using {command down, option down} --- send cmd+alt+F to Sparrow invoking search keystroke q --- enter the query end tell end tell end if end alfred_script
It doesn't work as it should, launching Sparrow works, but when it's launched, the window focus and search does not work. I guess we have to set some delays. Maybe somebody can help out.
-
Would love this, I need it, too.
-
Love the Piratebay workflow. Is it possible to add one more info to it, when the torrent has been uploaded? For example: "today", "y-day", "2 days ago" and so on..
-
This doesn't seem to work when the Sparrow window is not open, but closed.
Convert movies to MP4 (playable on Apple TV and iOS)
in Share your Workflows
Posted · Edited by 69wpm
Hello, this does not work for me, I get an error message, take a look at the screenshot: