Jump to content

Search the Community

Showing results for tags 'images'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Alfred 3
  • Make the Most of Alfred
    • Discussion & Help
    • Bug Reports
    • Alfred Feature Suggestions
    • Themes
  • Alfred Workflows
    • Share your Workflows
    • Workflow Help & Questions
  • Alfred v2 Themes
  • Alfred Remote for iOS
    • Alfred Remote Discussion & Help
    • Remote Connection Troubleshooting

Categories

  • Articles
    • Forum Integration
    • Frontpage
  • Pages
  • Miscellaneous
    • Databases
    • Templates
    • Media

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Twitter


Website URL


Jabber


Location


Interests

Found 19 results

  1. Resize an image, selected in Finder, to a target width by respecting image ratio. Usage Select an image in Finder, open Alfred and enter rimage and enter a value for the target width, e.g. rimage 300. The image will be resized to target width by respecting ratio. Works with .jpg and .png. http://t.cn/R42PAI2
  2. I'm new here; I did scour the forums and also PacMax for help but couldn't find what I'm looking for. Alfred is doing some amazing things as far as within the OS but I'm looking for some very basic workflows that can interact within the browser. I've tried this extensively with Mac Automator but got nowhere. I am NOT asking anyone to build any workflows for me because I want to learn and customize it myself. I'm just asking for some similar templates or point me in the direction where I can start. Here's what I'm looking to do... Center my mouse cursor on a browser window. Right-click, "save image as". Save to a certain folder (continue with overwriting if need be, do not warn me). I feel that maybe this is so simple that it's not talked about or maybe I'm missing something really obvious here.
  3. It would be very cool if I could save the screenshots I take with cmd+shift+ctrl+4 that are stored in Alfred clipboard history. Currently the only way for me to do that is to paste it somewhere (like github comments) and then download the image
  4. Perform a Google Image search based on files on your computer. The images are uploaded to Google, and the list of search results is shown in your browser. Download Get the workflow from GitHub or Packal. Usage Google search supports PNG, JPG, GIF and BMP images only. This workflow is available as a File Action for any of these filetypes in Alfred. There is also a Hotkey to search based on the current Finder selection. If more than one image file is selected, only the first will be used. Licence This workflow is released under the MIT License.
  5. Hi, I have an image that I made in photoshop, that I frequently paste into emails. I want to be able to instantly paste this image with a hot key. I have attempted to program Alfred to accomplish this but I have not yet succeeded. Any advice is greatly appreciated, thanks!
  6. Hi Guys, I'm quite new to alfred and automation in general, so I hope you'll bear with me. I'm trying to create a workflow, where a hotkey triggers an image (or selection of images) to be resized and then compressed either through the mac app "JPEGmini" or through "tinyPNG" online. I've divided this up into 4 steps that I'm trying to work on: Resize selection Determine whether it is a jpg/png If JPG compress on mac through JPEGmini If PNG compress online through tinyPNG So this is what I have so far: 1. Resize Image (code by Acidham, altered by ilium007) on alfred_script(target_width) set theCount to 0 set currSelection to {} tell application "Finder" set theSelection to selection end tell repeat with this_file in theSelection -- try to get a jpg or png try tell application "Finder" set myPath to POSIX path of (this_file as text) end tell tell application "Image Events" -- open the image file set this_image to open myPath -- get dimensions of the image copy dimensions of this_image to {W, H} -- calculate scale factor with given width and scale the image set scale_factor to target_width / W scale this_image by factor scale_factor save this_image in myPath close this_image -- get new image width and height for output set new_W to round (W * scale_factor) rounding as taught in school set new_H to round (H * scale_factor) rounding as taught in school set new_size to new_W & " x " & new_H end tell -- set the_return to (W & " x " & H & " → " & new_size) as text -- return the_return set theCount to theCount + 1 on error errStr number errorNumber return "No image file found!" end try end repeat return ("Processed " & theCount & " images") as text end alfred_script 2. Haven't worked on this yet. 3. JPEG compress with JPEGmini - Notification and set filePath on alfred_script(q) display notification with title "Optimising JPEG ..." subtitle "Path: " & (the clipboard as text) tell application "Finder" set theItems to selection set filePath to (POSIX path of (the selection as alias)) end tell end alfred_script - Copy file path to clipboard action through Alfred - Activate JPEGmini and use system events to open file through paste from clipboard on alfred_script(q) tell application "JPEGmini" to activate delay 2 tell application "System Events" keystroke "o" using command down keystroke "G" using {command down, shift down} keystroke "v" using {command down} keystroke return keystroke return end tell end alfred_script This is my first go with apple script and I don't think this is quite the right way to execute this. Namely, system events seems to be quite inefficient as I can only run a single image at a time. Ideally, I would like this part to run hidden and be able to compress all selected JPEGs once they have been resized. 4. PNG Compress online - Using carlosNZ's fantastic workflow for TinyPNG with custom API. CarlosNZ's Tiny PNG Workflow Ideally I would like to get this workflow to the point where, either a hotkey or keyword could be used on a selection of images that would be resized and run through either JPEGmini or TinyPNG depending on the file type. The resize and tiny png parts work, so I'm hoping to improve the JPEGmini flow and have a conditional if for jpg/png. Alternatively, just a better workflow for JPEGmini would be fine as I could run the resize/jpg/png workflows separately. The use case would be to quickly run web images through the process that are 1920 wide. I'm aware that with poor coding skill, this is an uphill battle, so all help is really appreciated. If anyone is interested in assiting, I would reimburse you for your time as well. Thanks alot
  7. Hi, There was a Alfred v1 plugin which allowed to pick an image from finder, and convert it's format. I used it quite frequently to convert from png to jpg Another small feature that I would love to be able: 1) pick a bunch of images on finder 2) activate a trigger 3) convert all those images to a unique pdf With so many awesome workflows popping up i know it's just a matter of time. If anyone knows solutions for this please share. Cheers
  8. I wonder if anyone can help me. I have been using Ramiro's workflow (the first version) for imageoptim-cli and it has worked brilliantly: I simply used Alfred to find the image on my desktop and then just chose the Optimize Images action to run it. Perfect. However now I'm getting good results from ImageMagik's command line tools and would like a similar workflow. This is what I run in terminal: convert /Desktop/myimage.jpg -strip -quality 75 -interlace line /Desktop/myimage2.jpg How could I turn that into a similar workflow? Many thanks
  9. Hello Everyone, I have owned Alfred and the PowerPak for several years but have not been able to "Get It" I have started to look at it again and have come across an issue that probably stalled me in the very beginning. Sorry if the question is very basic. I have tried to find the solution without any luck. When I do a search in spotlight for an item such as images of my daughter I get a lot of results. I see, folders, emails, images, etc... Pretty much anything that has the name attached in someway to that file. When I search with Alfred using Open, Find or '... all I get are 2 psd files. There are hundreds if not thousands of files starting or including her name. What am I missing? Thanks for the advice Troy
  10. One feature that would help my workflow extensively would be to allow clipboard snippets to include links and images. I constantly have to send directions that includes links and pictures and I can't use Alfred for it because it only stores plain text. I also could use this feature with sharing information in emails that includes links. Please consider this functionality. :-)
  11. I am looking to make a workflow for searching an image API. I would live to feature live results as preview images in the alfred window. can this be done?
  12. Memeflow gives you access to a preset list os memes. Customizing By default, the workflow comes with some popular memes, but if you want, you can add yours just creating a .memes file at your home folder with the following format: [ { "title": "Guarana turtle", "image": "http://i.imgur.com/yYgDYHy.png" }, { "title": "Magical unicorn", "image": "http://i.imgur.com/3eluNZ5.jpg" }, { "title": "Bear thief", "image": "http://i.imgur.com/ZvZYNFP.gif" } ] Listing all memes Typing meme will return all memes: Searching by meme title Typing meme <query> will return only the memes that matches with the query: Download Mirror 1 | Mirror 2 And please, let me know if you guys find any bug running that. Hope you enjoy it!
  13. Hello all. Looking for some simple directions, as I'm not skilled at scripting in the least. I've had success creating keyword-initiated workflows that run Automator workflows on selected Finder items, but I am completely stumped as to how I should structure and then run an Automator workflow (or app) as the result of an Alfred "File Action". My successful Automator workflows (triggered by Alfred keywords) function because the targeted Automator workflows all begin with "Get Selected Finder Items". But for this new Alfred workflow (pointing to an image resizing workflow in Automator) I'm trying to bypass Finder and pass multiple images (file buffered through Alfred) to the Automator workflow by means of an Alfred "File Action" In this case, I supposed (maybe mistakenly) that my Automator workflow shouldn't begin with that "Selected Finder Item" call. So, I dropped that out…still the "File Action" doesn't run the Automator workflow on the specified image(s). Could you please help me figure what I must change with my Automator workflow, Alfred Workflow setup or both?
  14. So I have the following PHP script which works well. I'm a newbie here, but trying to create a workflow where I can enter an argument, and it pings google, and returns the top result URL to me, copied to my clipboard. Like I said, on the last line, I do successfully return the top result, but not entirely sure how to hook up the rest of the workflow. Here you can see the workflow at the moment -> https://www.dropbox.com/s/pfo7b0uap41bd0g/Screenshot%202014-08-05%2016.13.02.png Any help would be much appreciated! function get_url_contents($url) { $crl = curl_init(); curl_setopt($crl, CURLOPT_USERAGENT, 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)'); curl_setopt($crl, CURLOPT_URL, $url); curl_setopt($crl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($crl, CURLOPT_CONNECTTIMEOUT, 5); $ret = curl_exec($crl); curl_close($crl); return $ret; } $q = $argv[1]; //Get user-inputted argument $json = get_url_contents('http://ajax.googleapis.com/ajax/services/search/images?v=1.0&q=.$q.'); $data = json_decode($json); foreach ($data->responseData->results as $result) { $results[] = array('url' => $result->url, 'alt' => $result->title); } $url = $results[0]['url']; echo $url;
  15. Hi everyone! So apologies if this is a crazy question, but I'm having a little trouble understanding how to pass data between scripts. In my first php script, I successfully copy a url to the clipboard (that works great). What I'd like to do now is pass that url onto the second PHP script so I can use it in another way. 1. I'm not quite sure how to have the second script run AFTER the first one. 2. I'm not sure what variable to use to pass the output on, I know it's not {query}, but is there something similar?
  16. [version 1.1 on GitHub does fix a regression that prevented multiple image selection] Hello, I have a Macbook pro retina. And every time I need to share a screenshot with friends or co-workers, I have to resize them as this screenshots will just be too big to be shared on their original size. Then I wrote this quick and dirty workflow that does resize you images selection while choosing your preferred percentage. Personally I usually use 40% ... When I say quick and dirty, it's because I use a build-in automator function that does just that for me. But I had to create as many "application" than percentage ratio proposed. And each .app are 1,7 Mo (that's the dirty part ;( ). So the all workflow is around 17 Mo to download! Usage: Select your image(s) from desktop or finder, type "resize" + TAB then select your preferred ratio and hit "ENTER" If you want to keep a copy of the resized image, press "CTRL" before "ENTER" Download: get it from GitHub Dependencies: None O.
  17. I’m just curious. I bought a service called logmein and they gave me with it their cloud service called Cubby. It’s much like SugarSync from what I can see. You can create individual links to images in uploaded folders. If I paste one of these links into the forum using the image paste button for the forum the image will display. However, if you go and post this image the forum comes back and says this extension isn’t supported. The web site I use is the same. It likes png files but I believe JPEG files and who knows what else it likes or doesn’t. Is Alfred’s forum like that. Should you be creating a certain kind of file type e.g. tiff, png, JPG, JPEG etc for Alfred. I’m just curious. I can’t see anything in the help anywhere that discusses this.
  18. I was pretty happy when I discovered that you could embed images hosted on Droplr by appending a "+" to the image URL, but I ran into trouble when I tried to post something on these forums. This thread gave me the solution (append "+.png", for posterity), but I feel that things would be a bit simpler if either the forums allowed images without file types in the URL to be embedded, or if a sticky was updated to include that tip. I'm not entirely sure if this is the appropriate place to post this, but I'm sure someone will set me straight if it's not :-)
  19. Hi, I want to create a workflow to resize my selected Images. first I created a File Action and the a Run NSAppleScript with the following text on open (_files) tell application "Image Events" to launch repeat with _file in _files try tell application "Image Events" set _image to open _file scale _image by factor 0.5 save _image in _file close _image end tell end try end repeat end open It dow not work Can somebody help me please?
×
×
  • Create New...