Jump to content

Modi34

Member
  • Posts

    15
  • Joined

  • Last visited

  • Days Won

    1

Reputation Activity

  1. Like
    Modi34 got a reaction from cands in Sidekick - workflow for OmniFocus   
    if you mean alt+shift+a shortcut it was created to quickly add tasks in to selected project.
     
    I have just uploaded the latest version of the workflow - I've added a lot of new features and fixed all bugs ( I hope  )
    In a few minutes I will update topic description
  2. Like
    Modi34 reacted to deanishe in Can i use Icons from the web in alfred 3?   
    Nope, no URLs.
     
    Three kinds of icon are supported. You can pass the path to an actual image file, e.g. "icon":{"path":"./icon.png"}, you can pass the path to a file whose icon you'd like to use, e.g. "icon":{"path":"/Applications/Safari.app", "type":"fileicon"} to show Safari's icon, or you can pass a file type in the form of a UTI, e.g. "icon":{"path":"public.folder", "type":"filetype"} to show the standard folder icon.
  3. Like
    Modi34 reacted to alfred_user in Clipboard - paste when letting go of modifier keys instead of having to press enter   
    Back in the day there was a clipboard app called Flycut/Jumpcut. When you pressed the hotkeys to bring up the interface, you needed to hold the modifier keys, select which clip you wanted to paste, and then let go of the modifier keys to paste the clip into the active application.
     
    So basically, you would:
     
    hold cmd+shift
    then tap v
    while still holding cmd+shift, use arrow keys to scroll through clips
    when you have the clip you want to paste selected, let go of cmd+shift
    the content is pasted into the frontmost application
     
    With Alfred, when you press the modifier keys (in my case cmd+shift+v, it brings up the Clipboard viewer, but you have to let go of the modifier keys before you can use the arrow keys to navigate through the clips. And when you arrive on the clip, you have to press return to paste. 
     
    Is there a way to make Alfred behave like Flycut/Jumpcut as described above?
  4. Like
    Modi34 reacted to Andrew in How did Alfred 3 get smaller than Alfred 2 ?   
    There are a number of ways Alfred's distributable has become smaller (2.9MB zipped download at the point of 3.0 release).
     
    - Tidying and consolidating framework code, removing defunct code and resources
    - Replacing many png resources with SVG or PaintCode resources
    - Switching from using some frameworks to Apple internal frameworks (e.g. OpenSSL / Growl), aided by the switch to OS X 10.9+
     
    My general ethos when it comes to developing Alfred is making sure that Alfred carries no defunct or legacy code, and that all code is written by me and internally. Without reliance on 3rd party code, it makes it much easier to tune Alfred and make him bug / crash free. This is particularly important for an app that runs the entire time your Mac is running - i.e. if a normal app crashes, you don't think too much about it. If Alfred suddenly doesn't appear when you use one of your hotkeys, it's extremely obvious.
     
    And yes, Alfred is developed with Xcode 7.
     
    Cheers,
    Andrew
  5. Like
    Modi34 reacted to Andrew in JXA adds line feed in the end of output   
    This is a quirk of osascript which adds a newline to any output.
     
    Alfred actually runs all scripts in the same way, so a simple way to see what is being output from a script is to wire a keyword -> run script -> debug utility. Set the keyword to require arguments and show Alfred's debug panel. You can then change the script type (and get Alfred's default template) to see each output from the scripts. All of the script types don't add a new line except osascript.
     
    You'll also notice that in bash / zsh, the default script adds -n to the output to prevent the newline being added.
     
    One option would be for me to always trim outputs from the script output, but this would inevitably cause regression issues as some workflows may expect a newline being output.
     
    Cheers,
    Andrew
  6. Like
    Modi34 got a reaction from FroZen_X in JXA adds line feed in the end of output   
    http://www.cockos.com/licecap/
  7. Like
    Modi34 got a reaction from FroZen_X in JXA adds line feed in the end of output   
    thx ! - that helped me)
    my app switcher is https://itunes.apple.com/ru/app/ring-menu-shortcut-to-your/id934212116?mt=12&ign-mpt=uo%3D4 - ring menu - http://ring-menu.com/
  8. Like
    Modi34 reacted to FroZen_X in JXA adds line feed in the end of output   
    %0A is a return character, probably produced by your script. I had the same.
    To fix this you can use the new "Transform" function of Alfred to trim whitespaces. That will get rid of it.
     
    Btw what appswitcher are you using there? The circle you use to get back to alfred.
×
×
  • Create New...