Jump to content

Search the Community

Showing results for tags 'Terminal'.

  • 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

  1. There are already multiple discussions on Alfred-run Applescript sometimes having a different behaviour than on other places, and in many cases, it seems like nothing can be done about it, since Alfred is not doing anything special with the scripts (which means it may be out of reach for the developers to solve). In this case, however, it’s a case of Alfred apparently having a different implementation in different places. It’s seems more of an oddity than a bug, but there’s no “oddities subforum”. Using the latest builds of both Alfred (2.0.6) and Mountain Lion (10.8.4). The code in question is on alfred_script(q) tell application "System Events" to set isRunning to (name of processes) contains "iTerm" tell application "iTerm" if not isRunning then set _term to (make new terminal) set _term to the first terminal tell _term to set _session to current session else set _term to the first terminal tell _term to set _session to (launch session "Default") end if tell _session to write text q activate end tell end alfred_script What this does is, taking a command as an argument, if iTerm is currently closed, it’ll open a window, and run the command; if it’s open, it’ll open a new tab on the current window, and run the command. If I set this on Run NSApplescript connected to Keyword, in a workflow, or run it from AppleScript Editor, it runs just as intended. However, if I set this as the Custom code for the Terminal / Shell option on the Features tab, it does not — if iTerm is closed, it opens it and a new tab, running the command on this second tab, and if iTerm is already open, it’ll behave as expected. Why is it working differently in these two places? What is it about the Terminal / Shell feature that makes it behave differently (and in a suboptimal manner)?
  2. When I select a directory 'foo' in Alfred and choose the "Open Terminal Here" action, a Terminal window opens and Alfred and the command 'cd foo' is entered. At this point, my clipboard contents has now changed to 'foo'. This is annoying, especially if I'd just copied something I wanted to paste. Probably a better behavior would be to replace the clipboard contents after pasting the directory in, or to not even use the clipboard, right? I'm using Alfred 2.0.5 and OS X 10.8.4.
  3. Hello, Can anybody tell me what i have to do to start the maintenance scripts with an workflow ? I mean the sudo periodic daily, weekly, monthly scripts. Sorry for the bad english !!!!!!!!! Best Regards jm1982
  4. dysonant

    Amber Waves

    A throwback amber screen theme that is minimal and easy to read. DOWNLOAD AMBER WAVES
  5. dysonant

    miniTerm

    A clean command line, green screen, retro but updated theme for Alfred. DOWNLOAD miniTerm
  6. I would like to create a workflow that basically executes a series of terminal commands, one after another. The input requires no query or variables, it's just a series of commands. The only hitch may be that I have to wait for the first terminal command to finish before executing the next command.
  7. Hello, I'm trying to create workflow for creating screenshots of webpages with webkit2png (in terminal). I installed (homebrew and after webkit2png). Please how can i create this workflow: In alfred i write "print" and "space" and "url address" and after that terminal run webkit2png "url address" Please, please, please
  8. Hi. I wonna create workflow to start bash script on my shared hosting. Steps. 1. Open Terminal.app with command 'ssh user@host' 2. Input password. How? 3. Run bash script.
  9. Most certainly about a dozen people have done this already, but being too lazy to look these up I made my own Use Keyword "cdh" to cd into your currently open Finder directory. To run a Terminal Command , use "cdh [your command]". If there is no folder currently open in Finder, your command will be run in your Desktop folder. The Workflow will look for a non-busy Terminal window and use it before opening a new one. http://cl.ly/NjL6 https://github.com/franzheidl/alfred-workflows
  10. Hi All, I've just started tinkering with Workflows after finally buying the Powerpack. The first idea that came to my head was to setup a quick trigger to run the show/hide hidden files command in Terminal. Very useful when you're looking .htaccess files etc - and it saves me googling the command every time I want to run it. At the moment I've got two separate workflows - one for hiding, one for showing. Set up on different keywords hiddenhide and hiddenshow. That works fine, but it doesn't seem very elegant. I ideally wanted to combine them into a single Workflow I could run using a parameter. I just couldn't work out how to do it. Ideally I'm thinking using 'hidden show' 'hidden hide' wrapped in one workflow would be much neater. I'm sure I've missed something obvious. Any ideas?
  11. Hi guys, i'm experiencing a weird issue here. I open iterm, type a basic open command and it works juste fine. I use the terminal / shell tool in Alfred, it works just fine too. I copy/paste this command in a Run script object in a workflow and nothing happens. Because i can't see errors, i got no idea what's going on. Any clue ? :/
  12. Hello everyone, I created a workflow to toggle iTunes iOS device backup. Those backups often take far too much time and space and are unneeded for most of my syncs. This is my first attempt at coding anything other than java so please forgive my crude use of code. The iTunes process will automatically be killed and then restarted so make sure you're not using it for anything important before running the workflow. Please let me know if you find it useful - George Download here: http://drgg.cc/f20P
  13. I know i can write Applescript to open Terminal or iTerm, but I'm interested to know if i can use the Alfred-configured choice for the 'shell command' and 'open terminal here' features.
  14. Any idea if it's possible to run a Terminal command in the background without needing to open Terminal.app? I'm building a workflow, and it would almost defeat the purpose if Terminal.app has to open.
×
×
  • Create New...