Code Monkey home page Code Monkey logo

alfred-workflows's People

Contributors

franzheidl avatar lborgav avatar marchliu avatar sorbits avatar w0ng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

alfred-workflows's Issues

iTerm support

Is there a way to tie this in with alfred's terminal preference? If not, probably just an alternative applescript with iTerm support.

Open with Atom details

Hi,

Im using the Open with Atom workflow, and have two requests if possible:

  1. The open with action should open the file only if im passing a file (currently it always opens the folder where the file is)
  2. Would it be possible to add the hotkey to execute the "open with" as you've done for the Sublime workflow?

Thanks.

Atom workflow not finding folders

I'm not sure if it's the recent alfred update, or something with yosemite, or something else, but all of a sudden the Atom workflow is no longer finding project folders. Everything worked fine for several months, and suddenly after updating both Yosemite and alfred (and many other things including Atom) recently, my folders are no longer being returned in queries. Any ideas?

ows -> subl

I'd recommend changing the shortcut to subl over ows for consistency (as most devs I know use a symlink named subl to launch files/folders in Sublime Text 2).

~ home directory references do not work

For example, if I type:

ows ~/Dropbox/Documents

It will open the home directory only. Ideally, this would open the correct directory in Sublime Text.

Cheers! And thanks for your work on this.

filename autocomplete?

for the macvim workflow (I'm hoping for all of them), is it possible to add filename completion? Alfred expands folder and filenames to full name on pressing Tab.
thanks in advance.

Wrong Sublime Text Path

Hello, I've incorrectly chosen the SublimeText path (I chose iterm instead ) so now whenever I run the command "Open in Sublime Text" each file is opened in iterm. I've tried to reinstall the script but apparently the settings are kept because they are stored somewhere else.
Any hint?

This is a duplicate of this issue

Open w/ MVim Touch New File

Firstly, I really like this repo, theres' a lot of useful stuff in here! Great work!

One thing that's bugging me, I installed the mvim workflow, but it does not work for new files:

screen shot 2016-08-18 at 9 18 31 am

screen shot 2016-08-18 at 9 18 42 am

It would be nice if the workflow touched the file first, so it would open the new file even if it did not exist yet.

Montery 12.3 - Can't open VS Code

Upgraded to Mac OS 12.3. This resultet that this excellent workflow (code*) to open files/folder in VS Code stopped working. I get an error stating that VS Code can't be opened. Any idea on why?

158460586-df35944a-4c41-476e-b84e-08483148cfeb

Monterey 12.3 - "The application “Sublime Text.app” can’t be opened." dialog

Fyi for everyone stumbling upon this issue like alexchantastic/alfred-open-with-vscode-workflow#8 with Sublime Text, this is the new Applescript that works so you can fix it in your workflow;

  1. Create a new action: "run script"
  2. set it to "applescript", "with input as {query}"
  3. paste the script:
on run

    set theQuery to "{query}"
    set finderSelection to ""
    set theTarget to ""
    set defaultTarget to (path to home folder as alias)
    -- comment line above and uncomment line below to open desktop instead of user home when there's no selection or open folder in the Finder:
    -- set defaultTarget to (path to desktop folder as alias)

    if theQuery is "" then
        tell application "Finder"
            set finderSelection to (get selection)
            if length of finderSelection is greater than 0 then
                set theTarget to finderSelection
            else
                try
                    set theTarget to (folder of the front window as alias)
                on error
                    set theTarget to defaultTarget
                end try
            end if

            tell application "Sublime Text"
                open theTarget as alias
            end tell

        end tell
    else
        try
            set targets to {}
            set oldDelimiters to text item delimiters
            set text item delimiters to tab
            set qArray to every text item of theQuery
            set text item delimiters to oldDelimiters
            repeat with atarget in qArray

                if atarget starts with "~" then
                    set userHome to POSIX path of (path to home folder)
                    if userHome ends with "/" then
                        set userHome to characters 1 thru -2 of userHome as string
                    end if

                    try
                        set atarget to userHome & characters 2 thru -1 of atarget as string
                    on error
                        set atarget to userHome
                    end try

                end if

                set targetAlias to ((POSIX file atarget) as alias)
                set targets to targets & targetAlias
            end repeat

            set theTarget to targets

            tell application "Sublime Text"
                open theTarget
            end tell

        on error
            return (atarget as string) & " is not a valid file or folder path."
        end try
    end if

    return theQuery
end run

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.