Jump to content

GatorMapi

Member
  • Posts

    72
  • Joined

  • Last visited

Reputation Activity

  1. Like
    GatorMapi reacted to deanishe in Fakeum — Generate fake test datasets in Alfred   
    Fakeum

    Generate fake test data in Alfred for testing.



    Download

    Get the workflow from GitHub.


    Usage
     
    fake [<query>] — List/filter available fake data types ↩, ⌘+C or ⌘+NUM — Copy one fake datum to clipboard ⌘+↩ — Paste fake datum into frontmost app ⇥ — Specify number of datasets to copy to clipboard ⌘+L — Show generated data in Alfred's Large Text window fakeconfig [<query>] — Activate and deactivate locales for fake data ↩ — Toggle selected locale on or off If you specify multiple data, e.g. fake Name 〉 10 for 10 names, the data
    will be separated by newlines (\n).

    In the case of Paragraph and Address types, the data will be separated
    by two newlines (\n\n).

    Supported data types and locales

    See the GitHub page for details.
  2. Like
    GatorMapi reacted to stuartcryan in Rapid Browser Tabs: Search, activate, reload and close your active tabs and favourites - V1.1 Update Released August 8, 2015   
    Search, activate, reload and close your active Chrome and Safari tabs and favourite sites.
     
    RBT allows you to do the following all from within Alfred:
    Search all open tabs across Chrome and Safari and load a selected tab. Reload a tab forcibly when you select it if you want. Add "favourite" sites to the workflow for quick access with defined keywords.  Synchronise your favourites across computers.    
    RBT for Alfred has been forked from the Search Tabs on Safari and Chrome workflow developed by Clinton Strong (with Clinton's blessing) and could almost be considered v2 of Clinton's original workflow.
     

     
    The below instructions are a clone of what is posted on the official Github repository:
     

    UPDATE August 8, 2015 - Version 1.1 Released
    Today I release v1.1 of Rapid Browser Tabs which has the following changes:
    Fix - Tab icon for Safari did not display Feature - Add "ctrl" key modifier to force reload tab on opening Feature - Provide feedback on settings initialisation and sync Feature - Enable favourite searching by URL
    Installation
    Download the .alfredworkflow file or you can get it from Packal. Run to import into Alfred Setup
    Before you can do anything with the workflow you will need to initialise the settings:
    Run rbtsetup and select 'Initialise Workflow Configuration' The workflow will then copy over the default configuration files and example icons.
     
     
    The workflow has been designed to enable settings synchronisation via a mechanism of your choice (such as Dropbox). It is easiest to set this up before you get too deep into configuring the workflow.
    To configure synchronisation via Dropbox (as an example):
    Run 'rbtsetup' and select "Set root config folder location" Update the folder name to point to a new location, my personal preference is "~/Dropbox/AlfredSync/Workflow Data/com.stuartryan.alfred.rapidbrowsertabs/" (however you can use any location as long as you set it to be the same on different computers) Ensure you have ended your path with a trailing forward slash (things will break if you don't) and then save and close the configuration file. If this is the first computer you are setting the workflow up on (i.e. that directory does not exist or is empty) run rbtsetup then select "Refresh workflow configuration" to copy the default configurations into place Repeat steps 1 to 3 for every subsequent computer you will run the workflow on (after the initial sync has completed via Dropbox).
     
     
    Configure a hotkey: To make your life easier I also recommend you set up a hotkey for use with the workflow.
    Open Alfred Click Workflows --> Rapid Browser Tabs Double click on the Hotkey box Enter your hotkey and ensure the action is set to "Pass through to workflow" The argument should be set to "None" Click Save Basic Usage
    The default keyword set is "rbt" here are some examples of what you can do:
    rbt google - Will show all tabs you currently have open that have google in the URL or the tab description. rbt fb - FB is set as a keyword for Facebook. This will show any current Facebook tabs already open and will also allow you to open a new Facebook tab in your default browser as well. rbt nf - Same thing as above but will open Netflix rbt netflix - Same as above, workflow will recognise this is a favourite site and show all tabs currently open and will also offer the option to open a new tab to the Netflix website. ctrl key modifier - The control key when held down while selecting a tab will force the tab to reload/refresh when it is opened For backwards compatibility with the human brain (and the fact that everyone is used to using the keyword "tabs"), an additional entry point into the workflow using the keyword "tabs" has been added. Depending on user feedback this may be removed or adopted permanently in the future.
     

     

     
     
    Advanced Configuration - Adding your own favourites YAML Config File
    Once you have the hang of the basic usage of the workflow, you can get down to configuring extra "Favourites".
    The favourites have been designed to represent the most used sites you use, the ones that you access day in and day out so that you can get rapid access to them.
    I have found after setting these up originally I have only added to the list a couple of times as it is expected the list will become relatively static after the first couple of weeks usage.
    To access the sites configuration:
    Run rbtsetup then select "Modify Sites Configuration" The default configuration example has examples that you can copy and modify to add your own favourites The two basic styles of configuration are:
    First Example:
    YouTube: aliases: "-yt" icon: youtube.png url: "https://www.youtube.com" Second Example:
    ? "YouTube Video Manager" : aliases: "-yta -ytvm -youtube admin" icon: youtubeadmin.png url: "https://www.youtube.com/my_videos" The key difference between the two above examples are the use of the '? "Site name"' in the second example. When the site name has spaces, you should copy the second example. You can however always opt to use this format regardless of whether the site name has spaces or not if you want to go the easy route.
    The aliases section can list zero or more aliases (for zero just use "", and do not delete the line). Each alias should be prefixed by a dash '-', and you can have as many keywords as you would like (but remember... less is more).
    If you are having problems with the site configuration you have created, a great first point is to run it through YAML Lint which can validate if there is anything invalid in your syntax. If that comes back clean and you still have issues please log an issue.
     
     
    Adding the pretty favourite images
    You will notice in the above example each item references a png icon file. You can save icons that you would like to represent your favourites in the icons folder. This is accessed by typing 'rbtsetup' then selecting "Open icons storage folder". As long as the icons in this folder match what you put on your text you can use a pretty icon.
    If you would rather not use an image just use 'icon.png' and this will use the default icon for the workflow.
     
    Supported Browsers
    Currently the workflow supports the following browsers. As Firefox does not expose its tabs via Applescript, it is not able to be supported. If someone is a whizz at writing Firefox plugins and would like to collaborate on a plugin to get this to work please feel free to get into contact with me.
    Chrome Safari Chromium Chrome Canary Webkit History
    Version 1.1 - Bugfix and feature releaseFix - Tab icon for Safari did not display Feature - Add "ctrl" key modified to force reload tab on opening Feature - Provide feedback on settings initialisation and sync Feature - Enable favourite searching by URL Version 1.0 - Initial Release of Rapid Browser Tabs for Alfred Version 0.9 - Forked from Search Safari and Chrome Tabs workflow Feb 2014 release Credits
    Rapid Browser Tabs for Alfred workflow created by Stuart Ryan. If you would like to get into contact you can do so via:
    @StuartCRyan on Twitter Stuart Ryan on LinkedIn Technical Notebook Blog Search Tabs on Safari and Chrome workflow created by Clinton Strong represented the initial stages for this workflow.
    Clinton has been kind enough to provide his blessing for the code to be forked and maintained as a new workflow. Any future code releases to the Search Tabs on Safari and Chrome workflow may be merged into this workflow if required (and as long as the original licensing permits). License
    All code in this workflow is released under the MIT License. Images used as part of the workflow are licensed only for use in this workflow and must be changed if the workflow is forked in the future.
    All images have been licensed from DepositPhotos to Stuart Ryan.
     
    Donations
    This workflow represents many many hours effort of development, testing and rework. The images licensed for this workflow from DepositPhotos also needed a bit of my moolah. So if you love the workflow, and get use out of it every day, if you would like to donate as a thank you to buy me more caffeine giving Diet Coke, some Cake, or to put towards a shiny new gadget you can donate to me via Paypal.
     

     
    Contributing
    If you are a coder head over to the official Github repo:
    Fork it! Create your feature branch: git checkout -b my-new-feature Commit your changes: git commit -am 'Add some feature' Push to the branch: git push origin my-new-feature Submit a pull request If you aren't a coder:
    You can drop your ideas here or feel free to log your ideas and suggestions on GitHub and I will see what I can do.
  3. Like
    GatorMapi reacted to heyJoeCampbell in Open url with multiple queries   
    Thanks @CJK but what I am looking for is a way to add multiple variables into one URL
     
    website.com/{query1}/blah/{query2}
     
    I do not code - I need a plug & play workflow that I can mod ?
     
    This thread from 2014 looks promising:
     
  4. Like
    GatorMapi reacted to vitor in Launch multiple URL with different IDs   
    Quite simple to do, but you’re looking in the wrong place. Check out workflows. On the bottom left you’ll see a small +. Click it and Templates → Web and URLS → Open custom URL in specified browser should give you a head start.
  5. Like
    GatorMapi reacted to vitor in Multiple keywords support   
    Starting from Alfred 5.1 (currently in pre-release), multiple keywords are supported.
  6. Like
    GatorMapi reacted to Vero in How do I open a search from Alfred in a new Safari tab instead of a new window?   
    @Orange Welcome to the forum
     
    Alfred only instructs macOS to open a URL in your default app (which happens to be Safari). You'll need to set this in Safari, which is under the "Tabs" preferences.
     
     
     
    Cheers,
    Vero
  7. Like
    GatorMapi reacted to vitor in Open in Google Chrome workflow   
    Can you clarify what you mean by “current link”? If you mean a selected URL, use a Universal Action connected to an Open URL. If you mean the current URL open in another browser, there are Automation Tasks to get that as well (again, connect it to the Open URL). Those are simple to build; two objects at the most without any need for coding.

    For an interactive tutorial on making a workflow, see the Getting Started Guide.
  8. Like
    GatorMapi reacted to Vero in Search files with Alfred with paramaters   
    @GatorMapi Have you played with File Filters yet? You can either set a file filter with pre-defined options like file types, scopes, date range, etc... or you can use one where you set the scope dynamically if you often change location.
     
    Here's the Simple Folder Search, which is set to only search for the Folder type:
    https://alfred.app/workflows/alfredapp/simple-folder-search/
     
    And the Dynamic File Filter, where you can choose a folder, then search within that scope only:
    https://alfred.app/workflows/alfredapp/dynamic-file-search/
     
    You'll find more details about File Filters here too:
    https://www.alfredapp.com/help/workflows/inputs/file-filter/
  9. Like
    GatorMapi reacted to Andrew in Possible to chain snippets with key combo inbetween?   
    In a workflow, you can chain as many objects and actions as you need. For example, what you need may looks something like this:
     

     
    The Snippet Trigger responds to typing :test which is connected to a Copy to Clipboard output object. You place your snippet text in this object and configure it to automatically paste.
     
    Adding a Delay Utility (set to something very small, e.g. less than a second) will allow a short amount of time for the underlying app to respond to the paste. The Dispatch Key Combo object will simulate the key presses you like. Just add more delays, key combos, and copy to clipboard objects as you need.
  10. Like
    GatorMapi reacted to giovanni in Search for multiple address in GoogleMaps to make a route   
    @Seth Happy to help!
    1) download the workflow at the link below. Double click to install.
    2) you will see this configuration window below. If your calendar is named Work, you can just proceed. If not, enter the calendar name in the Calendar box, then proceed.

    3) open alfred and type grablocations, select the workflow (see screenshot below), press return

    4) your browser should open a Google Maps tab with directions to all the locations of today's events.  
    Feel free to let us know if you run into trouble.
     
     
  11. Like
    GatorMapi reacted to Vero in Search Calendar Events   
    Here's the Calendar search I use for Apple's own Calendar:
    https://www.dropbox.com/s/aa2y8morc97k5r3/Calendar search.alfredworkflow?dl=0
     
    Type "cal" followed by the name of your calendar entry to see the results in Alfred, e.g. "cal dentist"
     
    As I'm not familiar with BusyCal, you may need to tweak the workflow, but if it just uses the Calendar app's data without modifying it, it should just work out of the box
     
     
     
    Cheers,
    Vero
  12. Like
    GatorMapi reacted to vitor in Random order ID generator   
    Trying to modify the workflow to accommodate such a simple request is harder to do and explain than teaching how to make one from scratch.

    Pick a Trigger and connect it to a Run Script Action with default settings and the following code:


    LC_ALL=C tr -dc A-Z0-9 </dev/urandom | head -c 5

    Connect that to whatever Output you want, such as a Copy to Clipboard Output.
  13. Like
    GatorMapi reacted to Vero in Is there a way to fire multiple queries searches in one workflow?   
    @swiggy You can create a workflow that launches multiple search queries from one keyword, yes. Take a look at the built-in "Should I watch this movie?" example, which you'll find in Workflows > [+] > Examples. It uses one keyword + your query to launch IMDB, Rotten Tomatoes (for a movie rating) and YouTube, so that you can decide if a movie you've heard of is worth watching
     
    As for using a ticker symbol and opening stocks pages, you'll just need to work out how to create a custom search for your particular stocks sites. Here's a guide to creating your own custom searches:
    https://www.alfredapp.com/help/features/web-search/custom-searches/
     
    Cheers,
    Vero
  14. Like
    GatorMapi reacted to vitor in Export snippets into other formats?   
    .alfredsnippets, like  .alfredworkflow, is just a renamed .zip file. Unzip it and you’ll find all your snippets inside, in a clear JSON format.
  15. Thanks
    GatorMapi reacted to vitor in Paste entire contents of clipboard   
    See the {clipboard} dynamic placeholder. You can use a Copy to Clipboard Output with (for example, to paste the three most recent entries):
     
    {clipboard:0} {clipboard:1} {clipboard:2}  
    SequentialPaste is another take on it, in which you can keep pressing a keyboard shortcut to paste entries.
  16. Like
    GatorMapi reacted to vitor in OpenActions — Granular control over opening apps   
    This workflow is officially deprecated if favour of Alfred’s Automation Tasks. You can find the old source on Github.
     
    The open command gives us extra control when opening apps, such as making new instances or relegating to the background.

    This Workflow emulates those options with File Actions.


  17. Like
    GatorMapi reacted to Vero in Yet another date calculator   
    @face This is due to macOS removing Python 2 from Monterey 12.3. You can read more about it here:
    https://www.alfredapp.com/blog/guides-and-tutorials/python-2-workflows-on-macos-monterey-12-3/
     
    Once you've reinstalled Python 2, grab the updated version of this workflow here:
    https://github.com/alfredapp/updated-third-party-python2-workflows#readme
     
    Cheers,
    Vero
     
  18. Like
    GatorMapi reacted to giovanni in Open with Quick Look?   
    have you tried with the Shift key? 
    https://www.alfredapp.com/help/features/previews/
  19. Like
    GatorMapi reacted to vitor in QuitArena — Quit all apps, with exceptions   
    Call qapps and all apps excluding the ones you set in the keep_alive Workflow Environment Variable will quit. The Finder and Alfred (including Alfred Preferences) are added to the exclusion list by default, unless you set their kill_ variables to true.



    You can exclude extra apps on a per-run basis by adding them as arguments. Calling with ⌘↵ will also exclude the frontmost app.

    Use the exact application names as they present themselves to the system. To prevent multiple apps from quitting, separate their names with commas.



    qprocesses will kill all processes, subject to the same keep_alive and kill_ settings, meaning even things in the background that you don’t see will be asked to quit.

    The External Triggers allow to temporarily override which apps to keep alive by passing them as the argument.

    Note both options ask the apps to exit (SIGTERM) instead of telling them (SIGKILL). If you need to force individual processes to terminate, use ProcessControl instead.

    Download | Source
  20. Like
    GatorMapi reacted to Vero in Wolfram|Alpha workflow   
    @pavelle A quick look at the 2017 post by @Jay S shows the workflow uses PHP, which Apple removed from macOS Monterey. You can read more about it here:
    https://www.alfredapp.com/blog/releases/alfred-4-6-ready-for-macos-monterey/
     
    Odds are reinstalling PHP via Homebrew will get you some of the way there, but the workflow doesn't appear to be maintained so if Wolfram Alpha itself has changed in the past 5 years, these changes won't be reflected in the workflow.
     
    If you use node.js, there's another Wolfram workflow here:
    https://www.npmjs.com/package/alfred-wolfram-alpha
  21. Thanks
    GatorMapi reacted to deanishe in [SOLVED] Strip the Domain out of a URL on copy?   
    Here you go. This Extract Email from URL workflow does what you want.
  22. Thanks
    GatorMapi reacted to deanishe in Simple Python math workflow   
    Try this.
  23. Thanks
    GatorMapi reacted to Andrew in Wont ignore Applications folder   
    Also don't forget to type "reload" into Alfred after moving the folder to Spotlight ignore.
     
    Note that if you select "Folders in Home" in Alfred's default search scope, the actual ~/Applications folder will always be shown for relevant search results in Alfred, but if you always select the /Applications folder, Alfred will learn to prioritise this one.
  24. Thanks
    GatorMapi reacted to GuiB in How to paste text in a workflow   
    To paste text from a workflow you can use the "Copy to Clipboard" Ouput object, write the content that you want in the text field (where it's written "{query}" by default) and check the "Automatically paste to front most app" toggle. You can also check the "Mark item as transient in clipboard" if you want that Alfred clear this content from the clipboard
  25. Thanks
    GatorMapi reacted to Andrew in Clipboard Merge   
    @GatorMapi If you're getting the alert sound (It's actually the macOS "Pluck" sound if you're using Big Sur), then something is happening - either Alfred is doing the merge, or another app (or system thing) is preventing the merge.
     
    Just to make sure the fast append is what you expect it to be, can you let me know what steps you're taking to try and merge, and what you're seeing in the clipboard history?
     
    For example, if I select "history" on this page and type ⌘C, then select "accounts" and use ⌘C ⌘C, I have see "history accounts" in my clipboard.
×
×
  • Create New...