Jump to content

Carlos-Sz

Member
  • Posts

    911
  • Joined

  • Last visited

  • Days Won

    69

Posts posted by Carlos-Sz

  1. Rename 3.0 is out!

    What's new?

    • Changed workflow name to only Rename
    • EXIF Original Date (to use as a filename constant)
    • Up to 10 times faster to process and even faster to rename
    • Included the keyword ren as an alternative to the regex
    • Recent Expressions shortcut: type a single @
    • Presets shortcut: type a single #
    • New Picture Preset
    • Improved Last Used feature
    • UI refinements, including new icons
    • New Help
    • Filename case procedure improved
    • Fixed second leading zero constant

    rename3.png

  2. Nothing has 300+ lines in a workflow box. That would be unwieldy for sure. The only thing that long is a go program for TimeKeeper that has to be compiled. The workflow boxes in the workflow just have one liners! The longest one in the Advanced tutorial is 50 lines, which is getting a little large for that editing medium.

     

    Maybe it would be nice to write about how to run a script instead of typing it directly in Alfred.

     

    As soon as I learned how to just run an AppleScript, instead of typing it, that made a huge difference specially because it is a lot easier to read a colored code than a plain text one.

     

    Maybe you could show the both worlds. :)

  3.  

    I've been playing with a simple workflow and ran into a problem similar to the above.

     

    We use a simple script to tell each other where files are stored on our server…

     

    tell application "Finder"

    selection as alias as string

    end tell

     

    Gives a result like this > "Macintosh SSD:Users:threezero:Desktop:Version6.png"

     
    It would be great if we could get the result copied to clipboard.
     
    Any ideas gratefully received.
     
    Stephen
     

     

     

    One way to do that:

    tell application "Finder"
    	set sSel to selection as alias as text
    end tell
    
    set the clipboard to sSel as text
    

    [update] If there is a chance that multiple files are selected, then:

    tell application "Finder"
    	set sSel to selection
    	set sSel to item 1 of sSel
    end tell
    
    set the clipboard to sSel as text
    
  4. Hello,

    I was wondering if it would be possible to create a new note from a template? Let's say I create an empty note with several fields and I would like to "clone" it and then fill it in.

    It could be quite useful

     

    Thanks for sharing this!

     

    When you say "then fill it in" you mean you would manually fill the note? So the workflow would just create an empty note based on a template, right?

  5. I have my settings locked down so that I am aware of apps that are from unidentified developers. 

     

    Yes, I do download so many apps that this would save me time. That's why I posted here in the hope I can save some time.

     

    I wonder how using the context menu to open the app gets the dialog with the extra open button?

     

    I don't want a workflow to sidestep the security. I just want a workflow to show the dialog with the extra open button.

     

    The workflow I envisage:

     

    1. download new app

    2. try running using alfred or some other means

    3. "warning!" alert [OK]

    4. run via new method in alfred

    5. "warning!" alert [Open] [Cancel]

    6. click open

    7. be happy

     

    It seems I completely forgot to post the download link. I’m sorry.

     

    Download Now

  6. Ouch, with your new build I got that it is an incompatible workflow (I am using 2.3

    8th May 2014)

     

    OK. Here is a new workflow and it is now Zip to Dropbox.

     

    Please, make some tests before using it for good. Consider it as a beta.

     

    The first time you run the workflow you will have to configure it. Just follow the steps which are:

     

    1. Select the Dropbox public folder, then
    2. Type your Dropbox public folder ID

     

    Download 0.1 beta

  7. I have my settings locked down so that I am aware of apps that are from unidentified developers. 

     

    Yes, I do download so many apps that this would save me time. That's why I posted here in the hope I can save some time.

     

    I wonder how using the context menu to open the app gets the dialog with the extra open button?

     

    I don't want a workflow to sidestep the security. I just want a workflow to show the dialog with the extra open button.

     

    The workflow I envisage:

     

    1. download new app

    2. try running using alfred or some other means

    3. "warning!" alert [OK]

    4. run via new method in alfred

    5. "warning!" alert [Open] [Cancel]

    6. click open

    7. be happy

     

    Here it is:

     

    1. Show Alfred
    2. Type the keyword und
    3. Start typing the app name
    4. Highlight it and press return key
    5. The application should open without any dialog at all

    Make sure you trust the developer of the unidentified app!

     

    Let me know what else do you think it is important and later I’ll share this workflow.

     

    Thank you. :)

  8. This is a common sight when running some downloaded apps:

     

     

    One workaround is to reveal the app in Finder, and choose Open from its contextual menu. This gives:

    Then I click open.

     

    But this takes numerous steps: first reveal in finder and then some mouse work to open the app using context menu and Open button.

     

    So, I thought it would be great if Alfred could easily allow this type of Open on an app? This would save me some time!

     

    (The longer workaround is to go into System Prefs/Security & Privacy, unlock and allow apps from anywhere, but this is not advised)

     

    Thanks

     

    I have something that I was making for Hazel that I can put together into a workflow.

     

    Note that the unidentified application will be opened without any warning at all. 

  9. Looks like when you drop one it's just copying the file into the folder and naming it with a uuid to prevent a clash. This may be desired in some cases. To maintain the original icon name, Alfred would probably need to prompt to see if the user is sure that they want to overwrite. Obviously, I don't make the call on features, just throwing in my 2 cents on what's going on.

     

    I like to see a cleaner folder but, as I said, it’s me being picky. :)

     

    Maybe Andrew find sometime someday to take care of it though I understand it is not that important.

  10. Hello,

     

        One more thing, although I am not sure I have done something wrong. I have used journal several times, and they all insert an extra line.

     

        Commands issued:

    nf Prueba 1
    nf Prueba 2
    nf Prueba 3@
    

    Results:

    # 2014-05-13 Tuesday 13 May 2014 10:36:03
    Prueba 3
    
    # 2014-05-13 Tuesday 13 May 2014 10:35:51
    
    
    # 2014-05-13 Tuesday 13 May 2014 10:35:51
    Prueba 2
    
    # 2014-05-13 Tuesday 13 May 2014 10:35:36
    
    
    # 2014-05-13 Tuesday 13 May 2014 10:35:36
    Prueba 1
    
    
    

    Duplicating in each case the first line in the file and then prepending the new journal entry as you can see.

     

    Cheers, and thanks again,

    Benigno.

     

    I tried to reproduce the issue but so far i couldn’t.

     

    Can you please give me more details? Something like:

     

    1. What modifier key are you using? Shift, Control or Option?

     

    2. When you say you are using, for example, nf Prueba 1 you mean nf #Prueba 1 right?

     

    3. What item you are using to create a note? New Note, New File from Clipboard or New File from Text Selection?

     

    Thank you. :)

  11.  

    Hello Carlos,

     

        Thank you for this great workflow. I need to know, is there any way I can set it up to avoid problems with accented words ? I take many notes in Spanish and they get a bit screwed up in the text file.

     

     

    nf Canción, Comía, Mamá, Música, Niño becomes:

    ---- Monday 12 May 2014 15:41:09 ----
    Canci—n, Com’a, Mam‡, Mœsica, Ni–o...
     
    Thanks a lot,
    Benigno.

     

     

    Please, try this build.

  12.  

    @Carlos 
     
    I kinda feel stupid, but I can't make the workflow work.
    After selecting one .txt file in Finder, launching Finder, typing regex name text.txt, hitting enter, nothing happens ...
    I didn't tried the to rename my files with a regular expression.
     
    (I am a Mavericks user)

     

     

    Mavericks here too. :)

     

    You have to highlight Apply Now then hit enter key.

  13. Recent Items 4.0 is out:

    • Up to 2 custom categories (keyword recpref)
    • Downloads category
    • Keyword for each category
    • Hotkey for each category
    • Multiple files in Add to Favorites file action
    • Changed Auto-path to Default Folder (keyworod df)
    • Changed Just Now category to Now
    • Added Help (keyword rechelp)
    • Update to Alfred 2.3 features
    • Several internal improvements

    Download

    • Version 4.0
    • Release date: 10 May 2014
    • Requires Alfred 2.3 or later
    • Download now
×
×
  • Create New...