Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


GuiB last won the day on November 27

GuiB had the most liked content!


About GuiB

  • Rank
    Advanced Member

Profile Information

  • Location

Recent Profile Visitors

1,832 profile views
  1. @cebroski in addition to what @deanishe said, I would recommand to remove also the last part of the scipt so it doesn't close an already opened tab. I mean, remove: -- close the first default tab tell application "System Events" keystroke tab using control down delay 0.2 keystroke "w" using command down end tell However, if I understand well what you want, I think it would be better/easier/faster to use the Alfred's builtin 'Open URL' object. The idea is to have a Keyword object (or another trigger) that connect to 2 'Open URL' objects that send your specific URLs to Firefox. Here is an example workflow that should do what you want: https://d.pr/f/jsvmIY Make sure to check the "Open links in tabs instead of new windows" in the Firefox Preferences.
  2. @slyfox, yes @deanishe is right about the first example whose passing the Arg & Vars to Alfred, but my second example uses Python. Here is the workflow updated again: https://d.pr/f/z8i7VM But to put it here in the forum: My first one uses an expression in the Arg & Vars (ex: `round(({query}+({query}/0.971))*100)/100` ) and pass it to Alfred using `tell application id "com.runningwithcrayons.Alfred" to search "={query}"` My second example uses a Script Filter set to the Python language and what is great is that you can see directly see the output. You can just change the expression at `val = round(query+(query/0.971),2)` to use what you want. Here is the script: import sys, json query = float(sys.argv[1]) val = round(query+(query/0.971),2) data = {'items': [{ 'title': val, 'subtitle': str(query)+'+('+str(query)+'/0.971)', 'arg': val, 'text' : { 'copy' : val, 'largetype' : val }, }]} sys.stdout.write(json.dumps(data))
  3. @Twice Bitten, since you are not mentioning which Terminal application you are using, I guess you use Terminal.app. So, to "pass the text into the current Temrinal session window" and keeping your default Terminal integration as it is in Alfred (so you can keep your other action to open a new Terminal Session if you want), you can create a workflow that pass your text to a Run Script object with the script language set to /usr/bin/osascript (AS) and with the script set to: on run argv tell application "Terminal" activate -- comment this line if you don't want to send the Terminal window to front do script (item 1 of argv) in tab 1 of window 1 end tell end run or if you want to change Alfred's Terminal integration as mentioned by @vitor and use ! , you can set Alfred to use a Custom terminal application and set the script to : on alfred_script(q) tell application "Terminal" activate -- comment this line if you don't want to send the Terminal window to front do script q in tab 1 of window 1 end tell end alfred_script
  4. @davidtesler I updated the workflow to strip any non-numeric characters from your query (should better work with different phone number format). I'm not sure if Ring Central does it by itself, but based on @raygan's post above it shouldn't and this should help. New workflow: https://d.pr/f/xmMuSE Best!
  5. Great, thanks! Really appreciated! I'm glad this was useful!
  6. @davidtesler I don't have Ring Central and never used it, but I made a workflow based on the above posts. Not sure if this will work, but this can give you a start Workflow: https://d.pr/f/LiaYHQ
  7. There's a preference to disable the sound in the Notification Settings at: The Bell Icon (top right corner) -> Notifications Settings -> Notification preferences -> Play a sound when I receive a notification @dfay , could this help to uncheck this?
  8. If I get what you want to do, here is an updated workflow: https://d.pr/f/Qy36hV In short, you don't need to use the Hotkey object to get the clipboard content or to pop Alfred, but use it simply to launch your workflow. Then, you connect a keyword object to get an Alfred field to write your query and then you append this query + clipboard to your file (the clipboard accessed using the Alfred's clipboard content variable) Hope this helps!
  9. As @deanishe says, but to simplify the 'connect to a Terminal Command with the command cd "{query}" ', actually with Hyper you can simply do an "open this folder with this application" where "this application" will be Hyper. I mean, to build it yourself, just do: Go inside your Alfred's Preferences at your Workflows tab Press the [+] button at the bottom of your Workflow list and select: Examples -> Simple Folder Search Double click the File Filter object and change the keyword to: >find Click the Save button to save your preferred keyword Double click the Open File object and drag-and-drop your Hyper.app application into the right drop target (where it says: the default application) Click the Save button to save your object Then, you should be able to invoke >find myproject With this you don't even have to change the custom terminal in Alfred and add my script, but if you plan on using Hyper I think it would be useful if you want to invoke Hyper using the Open Terminal Here or other Terminal object of Alfred.
  10. You should be able to use Hyper by using my script that you can find in the attached post. You will need to set Alfred to use a custom terminal (Alfred Preferences -> Features -> Terminal) and paste my script in the bottom text area. Then you should be able to use the Open Terminal Here action from Alfred when inside the File Action menu
  11. Just press CMD+S again and it should save it. I mean: 1) CMD+S from the Snippet History to pop the Snippet window 2) CMD+S from the Snippet Window to save the Snippet (which does the same as pressing the Save button)
  12. @ssppjj, just highlight/select the clip in your history and press CMD+S. This will pop Alfred to save the clip in your snippets collection.
  13. Create a workflow and look for the File Filter object. It is especially made for searching files and that you can set a specific scope. Look here for more information on it: https://www.alfredapp.com/help/workflows/inputs/file-filter/
  14. This is a different problem. This is a workflow that is simply a file scanner that is set to scan a specific kind of files in a specific directory ( ~/Library/Mail ). This is a specific configuration that work with Apple Mail since Mail put its email database inside a folder hierarchy composed of .emlx files which can be directly accessed by Finder. Spark uses a different database composed of SQLite files. Therefore, the workflow you are linking (or a modified version) can't be used with Spark and you would need to create a new one that can interface with the SQLite database. If you want to go this route and create your own workflow, you can have a look and find Spark's data folder here: ~/Library/Group Containers/3L68KQB4HG.group.com.readdle.smartemail
  • Create New...