Jump to content

Leaderboard


Popular Content

Showing most liked content since 03/19/2018 in all areas

  1. 3 points
    Acidham

    Rsync Folders

    Rsync Folders for Alfred Keep a set of folders in sync with their target folders via rsync. Usage rsync: executes all rsync configurations add a new entry to rsync batch delete an entry from the batch file Downloads: https://github.com/Acidham/rsync-folders http://www.packal.org/workflow/rsync-folders
  2. 2 points
    Andrew

    Undo deletion of Snippet collection

    This thread has made me take a fresh look at how Alfred deletes snippets, and I've made a change to now move to trash for both snippets / collections and workflows instead of removing them. This will make it into the next Alfred release
  3. 2 points
    Here is my own custom version : https://github.com/lucianosantana/EggTimer2 (based on the updated version for Alfred 3 by @ianhowson) For the issues with the notification I had to change the notify_functions.sh . I've completely erased the original and added the following : notify () { if [ "$5" = alarm ]; then nc_icon="$PWD/resources/icon_alarm.icns" else nc_icon="$PWD/resources/icon.icns" fi osascript <<EOD set img to POSIX file "$nc_icon" display dialog "$3\n$4" with title "$1" with icon img buttons {"OK"} EOD } I'm using AppleScript to display a Dialog (not a notification). This way the message sticks on the screen until I interact with it and I don't loose the reminder if I'm temporarily away. I also had to invert the order of execution of the sound and alert. Originally it executes the notification then the sound. But changing the notification to dialog blocks the script execution, therefore the sounds executes after user interaction. To solve this issue just search for afplay sounds/alarm_done.mp3 & in the files timer_alarm.sh , timer_auto.sh and timer.sh . Then move it just before the notify command. Might be helpful for you @Basket and @Dzier .
  4. 1 point
    Downloading this workflow doesn't work ;(
  5. 1 point
    harvey

    Flush DNS 10.6 -> 10.13

    Down the pan!
  6. 1 point
    Vero

    reveal snippet

    @chan Provided I've understood your question correctly, if you want to edit an existing snippet, arrow to it in the Snippet Viewer and press Cmd + S to pop up the editing sheet for the snippet Cheers, Vero
  7. 1 point
    deanishe

    Trim whitespace with 'web search'

    Here's a working version. You may need to add a delay before firing the keystrokes to give Alfred time to appear first (otherwise the keypresses won't be sent to Alfred).
  8. 1 point
    wefikus

    Search in Salesforce (Alfred 3 worklfow)

    You're seriously awesome @jereze ! Thank you for such a quick turn around! Everything works flawlessly now!
  9. 1 point
    Hello @Bruno Scheele, It’s harder to help you without access to your Workflow. Debugging can already be hard with access to the code, and you’re asking us to guess yours from a description. For future reports, please read the Reporting Problems with Workflows topic, as it gives a nice overview on how to build an effective report. But if I understood the problem correctly, it seems that you might be using an Argument and Variables Utility to save the keywords, and leaving the Argument part to {query}. Delete it instead (leaving the text blank), and nothing will be passed to the next node.
  10. 1 point
    deanishe

    Google Drive

    No, it gives the workflow you're using access to your Google Drive. The only person who gains access is you. The workflow uses Google's standard OAuth 2.0 authentication. It is very well documented online. As for how securely the workflow handles the access tokens, the workflow's source code is the definitive "documentation". From my reading, the workflow handles your access tokens perfectly by storing them in Keychain.
  11. 1 point
    vitor

    Make clipboard text preview bigger

    Do ⌘L on the relevant item and it’ll show as Large Type showing the text in full, scaled to fit the screen.
  12. 1 point
    @ericwen229 sorry about the slow reply on this - I have been thinking about this. Essentially, workflow streams and objects (and in fact Snippets) work with plain text only, so when using e.g. the Copy to Clipboard object, this is copying plain text to the clipboard (never rich text). I think you're right that {clipboard} should be evaluated to an empty string if there is no matching compatible plain text string. I'll get this sorted in the next release Cheers, Andrew
  13. 1 point
    Benzi

    (faster) Menu Search

    I have re-implemented ctwise's excellent implementation of the Menu Search workflow in Swift. This version is ever so slightly faster (at least on my machine ) - YMMV. Requires OSX 10.7+ Download Setup Accessibility must be enabled for Alfred in order for this to work properly. For example, in macOS Sierra, this is configured using the Security and Privacy preference pane, under the Privacy tab with the Accessibility section selected. Alfred must be included in the list of apps allowed to control your computer. This step is required for the workflow to generate the list of menu items, and also click on a specific menu item. Here's a snapshot of what the preference pane might look like in macOS Sierra. Usage Type m in Alfred to list menu bar items for front most application You can filter menu items by name, or do a fuzzy search. E.g m new tab will match the menu item New Tab m cw will match the menu item Close Window Settings You can change the workflow environment variables to fine tune menu listings -show-disabled true/false controls if diabled menu items should be shown (default is false) - change this setting if certain items are not displayed, even though active -show-apple-menu true/false if true, menus items under the apple menu will be shown (default is false) -max-children number how many sub-menu items to load for each menu item (default is 30) -max-depth number how many nested levels if sub menus should be listed (default is 10) v1.6 and above You can also have customised settings per app. Typing ms into Alfred will give you a list of options to configure your settings.txt config file. The workflow comes bundled with a sample configuration file for reference. Your app settings will override any workflow level variable settings you may have specified. Here's the settings file I use for reference: # always show disabled menu items appFilters { app: "BibDesk" showDisabledMenuItems: true } # for Safari, ignore the History and Bookmarks # menus since loading it take a lot of time appFilters { app: "Safari" ignoreMenuPaths { path: "History" } ignoreMenuPaths { path: "Bookmarks" } } # For Finder alone, show the Apple menu entries, # and ignore any recent entries listed in the # Apple > Recent Items menu appFilters { app: "Finder" showAppleMenu: true ignoreMenuPaths { path: "Apple" path: "Recent Items" } } Change log 1.0 - Initial Release 1.1 - Added Fuzzy Text Matching for Menus If you have a menu item New Tab, then typing m nt in Alfred will match New Tab, since n and t matches the first letters of the menu text. 1.1.1 - Changed run behaviour to terminate previous script, this makes the experience slightly more faster 1.2 - Completely native menu clicking, removed reliance on AppleScript 1.2.1 - Performance improvements when generating menus using direct JSON encoding 1.2.2 - More performance improvements while filtering menu items 1.3 - Added -async flag to allow threaded scanning and populating of menus 1.4 - Added -cache setting to enable menu result caching and also set a timeout for cache invalidation 1.4.1 - Invalidate cache (if present) after actioning a menu press 1.4.2 - Slide the cache invalidation window forward in case we get invalidated by a near miss 1.4.3 - Speed improvements to caching, text search and fuzzy matching 1.4.4 - Added -no-apple-menu flag that will skip the apple menu items 1.4.5 - Tuned fuzzy matcher, allows non-continuous anchor token search 1.5 - Faster caching using protocol buffers 1.5.1 - Reduced file creation for cache storage 1.5.2 - Better support for command line apps that create menu bar owning applications 1.5.3 - Protocol buffer everything - microscopic speed improvements, but hey... 1.5.4 - Added various environment variables to fine tune menu listings 1.5.5 - Tweaked ranking of search results for better menu listings 1.6 - Per app customization via the `settings.txt` configuration file
  14. 1 point
    kodiak

    Opening Folders in the Same Finder Window

    Hello, I rely on Alfred exclusively for traversing my file system - opening files and folders with Finder, that is. The problem is that every new folder that I open - unless it already is - is opened in a new tab. Since I jump to and from my Mac's directories like a wild ferret, a simple browsing session results in dozens of Finder tabs. Is there ANY way to make folders open in a current/most recent Finder tab? This would be a real lifesaver. Path Finder behaves likes this out of the box and it's really nice, but the rest of that software is so buggy I couldn't use it anymore. Thanks!
  15. 1 point
    Call top for an auto-updating list of processes, ordered by CPU usage. Type to filter by process name. On each process: ⌘↵ quits. ⌥↵ forcibly kills. ⌃↵ limits CPU usage. fn↵ lowers priority (increases niceness). ⇧↵ freezes. ↵ gives more granularity over the options. Download | Source
  16. 1 point
    dfay

    Opening Folders in the Same Finder Window

    Here's a crack at it: https://www.alfredforum.com/topic/11398-finder-scripts-including-opening-in-a-single-window/
  17. 1 point
    deanishe

    Open office hours for talking Alfred

    You can teach me how to make icons that don't suck!
  18. 1 point
    Vookimedlo

    alfred-say-you-say-me

    Hi there! Here is another workflow merely for fun. It's based on a MacOS built-in voice synthesizer. See more details below and have a fun! GitHub: https://github.com/vookimedlo/alfred-say-you-say-me alfred-say-you-say-me Alfred 3 workflow for saying a given text or a file content with a selected voice. Installation Install alfred-say-you-say-me workflow. All further updates are handled automatically. Usage Select a UTF-8 encoded text file in finder and invoke the alfred file actions ⌃⌘\. Choose the Say... in a displayed menu and select appropriate voice. Then, the resulting file will appear in your Desktop directory. Alternatively, you can pass the text you want to hear to this workflow. In Alfred, type say and pass the text as an argument. Then, select a voice and your text will be spoken. Voices are sorted by their locales and previously selected voices are prioritized. Notice, that each voice in a menu contains its locale, name and a localized voice introduction. If you press ⌘ during a voice selection, spoken text will be saved in a file stored in your Desktop directory. Have too many voices for a selection is pretty useless, so you can configure the language filter in a workflow configuration. Fill all required locales in language_filtervariable. Filter is case insensitive and is a regular expression. If you don't know what the regular expression is, just put there all locales divided by the pipe symbol |. See the screenshot below. Then, you will see just voices which your languages support. There is another variable you could set. It's a buggy_voices_filter variable, which contains a list of buggy voices. Currently, there is a problem in the Apple Synthetization Daemon and some voices can stick it. At the moment, only the en_us - Alex voice is added there. Again, list is a regular expression. Stuck daemon could be unstuck by typing .say-unstick in Alfred.
  19. 1 point
    Hey, I've made my own translation workflow, as the existing ones which I could find didn't quite suit my needs or lacked in some aspects. Features: "Natural language" input Text auto correction, language auto correction Easy setup Configurable 100% free Preview: Dependencies: node.js >=7.6 Installation: Just run the following command in your terminal: $ npm i -g alfred-polyglot You can also go through the easy, but optional setup. Have fun! GitHub
  20. 1 point
    xilopaint

    17Track (a package tracking workflow)

    Nothing relevant there. The code was catching the true error, so I made some changes to find the issue: This led me to search for the API information on 17Track website: Nothing we can do. The workflow is dead.
  21. 1 point
    Browall

    Home assistant workflow

    This workflow lets you control your Home Assistant from Alfred. You will be able to control you lights, get sensor information, trigger automations and look for your devices in device tracker. And more to come.. Setup _haurl - Set the URL to the home assistant. _hapassword - set the API password for Home Assistant Commands to interact with home assistant To triggar an automation: haa To control lights: hal To control your alarm: haal To look at a Sensor: has To look at device tracker had You will find the workflow here : https://github.com/Skakiz/Alfred-Home-assistant-workflow Lights: Automations: This is my first python coding, so no glitter code. Thanks! //Andreas
  22. 1 point
    vitor

    [Solved] Jump to Home of Website.

    Use this in a Run Script with /usr/bin/osascript (JS) as the language: const frontmost_app_name = Application('System Events').applicationProcesses.where({ frontmost: true }).name()[0] const frontmost_app = Application(frontmost_app_name) const domain_regex = /(https?:\/\/[^/]*).*/ if (['Google Chrome','Google Chrome Canary','Chromium','Opera','Vivaldi'].indexOf(frontmost_app_name) > -1) { current_tab = frontmost_app.windows[0].activeTab current_tab.url = current_tab.url().replace(domain_regex, '$1') } else if (['Safari','Safari Technology Preview','Webkit'].indexOf(frontmost_app_name) > -1) { current_tab = frontmost_app.documents[0] current_tab.url = current_tab.url().replace(domain_regex, '$1') } else { throw new Error('You need a supported browser as your frontmost app') } This questions is too broad. To answer this, it’d be useful if you had a concrete question of something you’re trying to do but don’t understand why it doesn’t work. That probably deserves a new post.
  23. 1 point
    Try ProcessControl. It does that and much more.
  24. 1 point
    @deanishe This is very useful as I'm always changing between network locations. I noticed that you're using the networksetup command to change locations. I've found that if you use the "scselect <location name>" command instead of "networksetup -switchtolocation <location name>" to change locations, it doesn't throw up that annoying password prompt. Perhaps consider modifying your python script to use the "scselect" command to change locations. Thanks!
  25. 1 point
    System Monitor Take a glance at system performance. List/Kill Top Processes by Memory, Cpu or IO Usage. https://github.com/singhprd/system-monitor-alfred-workflow/blob/master/README.md Forked from Zhao Cai as Alfred 2 Top Workflow at https://github.com/zhaocai/alfred2-top-workflow 💾 Download List/Kill Top Processes by Memory/CPU/IO Usage Get a glance of system status including internal battery, fan speed, CPU/GPU Temperature, bluetooth battery, disk capacity, etc. Usage 0. Show Help Just type -?, -h, or --help after the keyword to show help. 1. Top Processes A. Keywords: 1.) top: Show a mixed processes list based on top cpu/memory usage. 1. top -m, top --memory to show processes ranked by memory usage 2. top -c, top --cpu, to show processes ranked by cpu usage 3. top -i, top --io, to show processes ranked by io usage with callback from top io trace collector. Top IO requires [DTrace][Dtrace] and it would take a while to finish. The new callback design is to run the job in he background and post a notification (OSX 10.8+) using notification center. Click on the notification to show the result in alfred. Modifier Key none : The default action is to list files opened by process ID control : Kill the selected process command : kill forcefully (kill -9) alt : Nice (lower) the selected process's cpu priority shift : Search web for process information 2.) kill: Filter process to kill. Modifier Key none: The default action is to kill by process ID command : kill forcefully (kill -9) 3.) lsof: List files opened by process id Modifier Key none: The default action is to reveal file in Finder B. Filter by Query 1.) Type process name to filter 2.) To search for process state, use :idle, :sleep, :stopped, :zombie, :uninterruptible, :runnable, etc. 2. Glance an Eye on your system A. Keywords: glance: Show system information including internal battery, bluetooth battery, disk capacity, etc. B. Change Display Order Activate Alfred Preferences → Advanced → Top Result Keyword Latching Hit Enter for the feedback item you wish to show up on the top. Installation Two ways are provided: You can download the latest release from here and import into to Alfred. This method is suitable for regular users. You can git clone or fork this repository and use rake install and rake uninstall to install. Check rake -T for available tasks. This method create a symlink to the alfred workflow directory: "~/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows". This method is suitable for developers. Forked from Zhao Cai at https://github.com/zhaocai/alfred2--workflow as this was broken in High Sierra because it needed to have it's Ruby Gems re-packaged. Zhao is no longer active, so I decided to fix and fork it. All I've done is re-package the Gems, fix Glance by using iStats (and forking that to make it easier to work with), and finally adding an item for AirPod batteries in Glance. The rest of the work is Zhao's!
  26. 1 point
    Update v1.1.5 I've pushed a new version of the workflow to npm, you can upgrade by running $ npm install -g alfred-polyglot Notable changes since v1.1.3: v1.1.5 - Fixed !set command not working (thanks ErikMinekus)
  27. 1 point
    rutinerad

    Url as workflow trigger

    Cool, thanks @dfay. I was aware of fallback search triggers, but unaware of the Intelligently show fallbacks at the end of results setting.
  28. 1 point
    Vero

    Url as workflow trigger

    @rutinerad I was about to reply but looks like @dfay is right on the money Create your "Add to pinboard" workflow, and include a Fallback Search Trigger, then set your fallbacks to show up intelligently, and it'll appear as a fallback search when you type a URL. Cheers, Vero
  29. 1 point
    Version 7.11 is out http://alfred-spotify-mini-player.com/blog/Version-7.11/
  30. 1 point
    There is one obvious error. Change this: console.log({"alfredworkflow": {"variables": {"var1": current_tab_url, "var2": current_tab_title}}}) to this: return JSON.stringify({"alfredworkflow": {"variables": {"var1": current_tab_url, "var2": current_tab_title}}}) If that doesn't fix it, upload your workflow somewhere.
  31. 1 point
    Andrew

    The State of Alfred Remote app

    Alfred Remote will be receiving a big "Version 2" update, I'm already planning the feature set and improvements. It's also worth noting that we've been adding features to Alfred Remote through added objects within Alfred itself, so while Alfred Remote hasn't had a core update, it has had new abilities added over the past few years. Cheers, Andrew
  32. 1 point
    Vero

    Find Folders in Finder

    @jipnet Take a look at the guide on creating your own File Filter workflow, which walks you through the various steps (setting file types, setting a search scope, etc): https://www.alfredapp.com/help/workflows/inputs/file-filter/ You can then replace the Terminal object @CJK opted for with something like the "Open File" or "Reveal in Finder" or "Browse in Alfred" object, depending on what you're trying to achieve Cheers, Vero
  33. 1 point
    I found the task interesting enough that I actually made that workflow.
  34. 1 point
    deanishe

    Find, filter, open Git repositories

    Alfred Git Repos Workflow Browse, search and open Git repositories from within Alfred. Download Get the workflow from GitHub or Packal. Usage This workflow requires some configuration before use. See Configuration for details. repos [<query>] — Show a list of your Git repos filtered by <query> ↩ — Open selected repo in app_1 (see configuration) ⌘+↩ — Open selected repo in app_2 (see configuration) ⌥+↩ — Open selected repo in app_3 (requires configuration) ^+↩ — Open selected repo in app_4 (requires configuration) ⇧+↩ — Open selected repo in app_5 (requires configuration) fn+↩ — Open selected repo in app_6 (requires configuration) reposettings — Open settings.json in default JSON editor reposupdate — Force workflow to update its cached list of repositories. (By default, the list will only be updated every 3 hours.) reposhelp — Open this file in your browser Configuration Before you can use this workflow, you have to configure one or more folders in which the workflow should search for Git repos. The workflow uses find to search for .git directories, so you shouldn't add huge directory trees to it, and use the depth option to restrict the search depth. Typically, a depth of 2 will be what you want (i.e. search within subdirectories of specified directory, but no lower). Add directories to search to the search_dir array in settings.json (see below). The default settings.json file looks like this: { "app_1": "Finder", // ↩ to open in this/these app(s) "app_2": "Terminal", // ⌘+↩ to open in this/these app(s) "app_3": null, // ⌥+↩ to open in this/these app(s) "app_4": null, // ^+↩ to open in this/these app(s) "app_5": null, // ⇧+↩ to open in this/these app(s) "app_6": null, // fn+↩ to open in this/these app(s) "global_exclude_patterns": [], // Exclude from all searches "search_dirs": [ { "path": "~/delete/this/example", // Path to search. ~/ is expanded "depth": 2, // Search subdirs of `path` "name_for_parent": 1, // Name Alfred entry after parent of `.git`. 2 = grandparent of `.git` etc. "excludes": [ // Excludes specific to this path "tmp", // Directories named `tmp` "bad/smell/*" // Subdirs of `bad/smell` directory ] } ] } This is my settings.json: { "app_1": "Finder", "app_2": ["Finder", "Sublime Text", "SourceTree", "iTerm"], "app_3": "Sublime Text", "app_4": "SourceTree", "app_5": "iTerm", "app_6": "GitHub", "global_exclude_patterns": [], "search_dirs": [ { "path": "~/Code" }, { "path": "~/Sites" } ] } Search Directories Each entry in the search_dirs list must be a mapping. Only path is required. depth will default to 2 if not specified. excludes are globbing patterns, like in .gitignore. name_for_parent defaults to 1, which means the entry in Alfred's results should be named after the directory containing the .git directory. If you want Alfred to show the name of the grandparent, set name_for_parent to 2 etc. This is useful if your projects are structured, for example, like this and src is the actual repo: Code Project_1 src other_stuff Project_2 src other_stuff … … Open in Applications The applications specified by the app_N options are all called using open -a AppName path/to/directory. You can configure any application that can open a directory in this manner. Some recommendations are Sublime Text, SourceTree, GitHub or iTerm. Note: As you can see from my settings.json, you can also set an app_N value to a list of applications to open the selected repo in more than one app at once: … "app_2": ["Finder", "Sublime Text", "SourceTree", "iTerm"], … You can also use → on a result to access Alfred's default File Actions menu. License, Thanks This workflow is released under the MIT Licence. It uses the Alfred-Workflow and docopt libraries (both MIT Licence). The icon is by Jason Long, from git-scm.com, released under the Creative Commons Attribution 3.0 Unported Licence.
  35. 1 point
    The colours do indeed look a bit washed out. They look as if they were converted between colour formats. A possible solution is to increase the contrast:
  36. 1 point
    GuiB

    Removing keywords in fallback searches?

    @.ed , I have updated the link in my post above. Just try again and it should work now
  37. 1 point
    This is now fixed in the 3.6.1 pre-release. I've newly written Alfred's CSV parser to adhere to RFC 4180, and will create a document page to cover how Alfred deals with the ambiguities surrounding quoted lines with significant leading spaces. Essentially, for a line to be quoted (allowing for newlines and commas), the " needs to be either at the very beginning of a line, or directly after a comma. If there are spaces after a comma then a ", this field is not treated as quoted, and any " marks are treated as literal. I spent some time looking at how some of the online CSV parsers (differently) dealt with this specific ambiguity, and felt that this way best covered all bases As mentioned earlier, Alfred's CSV parser never discards significant spaces, but the List Filter subsequently trims the title and subtitle fields. Cheers, Andrew
  38. 1 point
    Tsunami

    [SOLVED] custom search from a list

    You can use a List Filter input connected to an Open URL action. For each List Filter item, set Title and Arg to the name of the label. Subtitle is optional. Then set the URL for the Open URL action to "https://mail.google.com/mail/u/0/#label/{query}".
  39. 1 point
    deanishe

    Multiple commands/titles (aliases)

    That works. But you could do the same more simply by putting the command keywords in match and letting Alfred do the filtering: import json import sys commands = [ { 'title': 'On', 'arg': 'on', 'match': 'on up activate', 'autocomplete': 'Bluetooth On', }, { 'title': 'Off', 'arg': 'off', 'match': 'off down deactivate', 'autocomplete': 'Bluetooth Off', }, { 'title': 'Restart', 'arg': 'restart', 'match': 'toggle change switch', 'autocomplete': 'Bluetooth Toggle', }, { 'title': 'restart', 'arg': 'restart', 'match': 'reset restart', 'autocomplete': 'Bluetooth Restart', }, ] json.dump(dict(items=commands), sys.stdout) In fact, if that's the entirety of the code, you don't even need Python. Just save a JSON file and cat it to Alfred. Much faster.
  40. 1 point
    alfred-show-network-info Install Use npm $ npm install --global alfred-show-network-info or download alfredworkflow file from releases Requires Node.js 4+ and the Alfred Powerpack. Highlights See local-, public-, and gateway ip address. Scan and list all devices on local network. Copy ip to clipboard. Open ip in browser. Connect to ip via ssh. Toggle functions via Workflow Variables. Usage In Alfred, type ip4, ⏎ press ⏎ to copy a ip address. press ⌘ + ⏎ to open ip address in browser. press ⌥ + ⏎ to connect to ip address via ssh. Contributions Please feel free to create a PR and/or make a code review! To do Find better and more suitable icons Write workflow readme Make a presentation gif for readme Scan for open ports Spread it to the public on alfred forums ect. Your idea here Credits Modules alfy made by Sindre Sorhus is licensed by MIT internal-ip made by Sindre Sorhus is licensed by MIT public-ip made by Sindre Sorhus is licensed by MIT default-gateway made by silverwind is licensed by BSD local-devices made by Dylan Piercey Graphics Icons made by Freepik from www.flaticon.com is licensed by CC 3.0 BY License MIT © Jeppe Stærk
  41. 1 point
    dosjon

    Cardhop Workflow?

    I used the URL handler above to create a workflow that composes a new iMessage to a specific person.
  42. 1 point
    palobo

    One Dark UI - Alfred V3

    A minimal and sleek theme heavily inspired by the colour palette of Atom One Dark UI. For a light variant, check out this theme. Download V1: Here I hope you enjoy using it, I find it quite soothing to use and works wonderfully with the dark menubar on macOS.
  43. 1 point
    This is actually added by osascript. The best option is to pop a Trim utility after the script before the copy to clipboard Cheers, Andrew
  44. 1 point
    jdfwarrior

    Launch apps hidden?

    I haven't tested this but, it appears that there is an option on the "open" terminal command that will launch apps either in the background OR hidden. ::open -- Usage: open [-e] [-t] [-f] [-W] [-R] [-n] [-g] [-h] [-b <bundle identifier>] [-a <application>] [filenames] [--args arguments] Help: Open opens files from a shell. By default, opens each file using the default application for that file. If the file is in the form of a URL, the file will be opened as a URL. Options: -a Opens with the specified application. -b Opens with the specified application bundle identifier. -e Opens with TextEdit. -t Opens with default text editor. -f Reads input from standard input and opens with TextEdit. -F --fresh Launches the app fresh, that is, without restoring windows. Saved persistent state is lost, excluding Untitled documents. -R, --reveal Selects in the Finder instead of opening. -W, --wait-apps Blocks until the used applications are closed (even if they were already running). --args All remaining arguments are passed in argv to the application's main() function instead of opened. -n, --new Open a new instance of the application even if one is already running. -j, --hide Launches the app hidden. -g, --background Does not bring the application to the foreground. -h, --header Searches header file locations for headers matching the given filenames, and opens them. These are the command line switches for the open command.. Given this, it appears that you could create a workflow with a Run Script item and then tell it each application to launch using "open" and passing either the -j or -g option and launch the apps in their desired state. Exmaple: open -j /Applications/TextEdit.app
  45. 1 point
    scruffyfox

    RVM support

    Hey, I noticed that ruby scripts in workflows don't work properly when /usr/bin/ruby is set and the default ruby is RVM, it still tries to use the system Ruby Would be great to be able to add custom script environments and interpreter locations
×