Jump to content

Search the Community

Showing results for tags 'command'.



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 8 results

  1. First, I really apologise for how incompetent I am. Without Google, I'd never be able to do anything. But even with Google, I fail. Basic principles, var, query, just fly right over my head. Doesn't matter how much I concentrate, and how much I read, I just never seem to get it I'm trying to construct an Alfred workflow to do the following: I want to create a command consisting of three elements: 1. wp-clone 2. site1 3. site2 #1 is constant. #2 and #3 are variables. They are basically source-folder, destination-folder. The names would change in real use. I'm just using "site1" and "site2" here to illustrate. The final command, which I'd like to pass to iTerm.app, would look like this: wp-clone site1 site2 So what would be ideal is if I can: 1. Pull up the Alfred window (option-space) and start typing "Valet Clone". Press return and it auto-completes (like a keyword would) 2. On return a space inserts and I enter the first argument, where I input "site1" (without quotes: it's basically a directory name) 3. Return again and I get to insert another input, "site2" (again, without quotes: the second directory) 4. Return again and these two variables or arguments are put together and formed as the command: wp-clone site1 site2 It would be great, at that point, if I can run this in the background. Something like: export PATH=/usr/local/bin:$PATH cd /Users/Decline/SERVER/ && wp-clone {query1} {query2} (I would need PATH included as "wp-clone" is a command Alfred's command line wouldn't recognise.) However, I don't mind if the next stage is simply to open iTerm.app and paste the combined command there. The big problem I have is knowing how on earth to get those two variables (site1 and site1) into a single command, and in an elegant way in Alfred's GUI. I just can't wrap my head around it Attached is an attempt, which doesn't work at all, to hack something together in a workflow. Can someone point me in the right direction? Please, any input, imagine you're speaking to a small child, or a Golden Retriever. Many thanks in advance, ian My lame attempt (junk, doesn't work): Valet Clone Alfred Workflow
  2. Hi, I want to remove certain entries from my command history. I am okay if I have to remove all command history if I have to. I can't see any way to do this in the app. I am using Alfred 3.3.2 Build 818. Is there a way around this? Thanks
  3. Alfred is constantly shutting down after I use the "spell" command. With all other commands and tasks it seems to work fine. I currently run Mac OS Sierra build 10.12.3 (16D32). Has anyone experienced the same issue?
  4. I've released a new version of Text Snippets changed from Text Shortcut. Now Text Snippets can handle snippets and terminal commands. https://github.com/rtoshiro/alfred-workflows-textshortcut
  5. Search OS X Terminal commands from Alfred 2 On Github: https://github.com/gnestor/alfred-terminal-commands On Packal.org: http://www.packal.org/workflow/terminal-commands
  6. I've run into a problem when trying to execute a Python script in Alfred. The script is basically running a subprocess using a program located at /opt/random/bin/. When I run the script, I get the following debug. [ERROR: alfred.workflow.action.script] Code 127: /bin/bash: /opt/random/bin/tool "/Users/ritashugisha/Downloads/file.txt" "/Users/ritashugisha/Downloads/new.txt": No such file or directory So I looked at the $PATH that Alfred was using... bump = open('/Users/ritashugisha/Desktop/path.txt', 'w') proc = subprocess.Popen(['echo $PATH'], stdout = subprocess.PIPE, shell = True) (proc, proc_e) = proc.communicate() bump.write(str(proc)) bump.close() and found the following: /usr/bin:/bin:/usr/sbin:/sbin This doesn't include what I need it to include. So do you have any ideas for tricks to get around this? Or am I approaching this the wrong way? Thanks for any help you provide!
  7. Hi, first of all, sorry for my english. The other day I found that there is a terminal command to force openning an app more than 1 time. For example, openning two VLC windows. That terminal command is 'open -n /applications/vlc.app' My idea is to create a ALFRED WORKFLOW similar to this: openn USER_INPUT_(APP_NAME) an example: typing openn vlc then, execute the terminal command: open -n /applicaciones/USER_INPUT_(APP_NAME).app I know how to get USER_INPUT_(APP_NAME), but I do not know how to "paste" this text in the TERMINAL COMMAND One more thing, is there any command to really close a TERMINAL WINDOW? I know there is 'exit' but this command does not close the windows, just finish the console. Again sorry for my english, and thank in advance.
  8. Hello, I wrote a script to use in a workflow. That script uses the command growlnotify to display a notification. When I run the script from the terminal, the notification is displayed. When running with Alfred, nothing appears. Thanks.
×
×
  • Create New...