Jump to content

Sampayo

Member
  • Posts

    10
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by Sampayo

  1. 8 hours ago, Send Me said:

    Is there a specific procedure to follow to install? I get a "Couldn't find the `node` binary", "subtitle": "Symlink it to `/usr/local/bin`" message when trying to use for first time. It seems like I missed an installation or configuration step. Can you point me in the right direction? PS: A bit obvious but I'm a nub. Thank you for your contribution.

     

    Hi. yes you need to have node installed (https://nodejs.org/en/ you can download the version 18.x) let me know how it goes.

  2. An Alfred Workflow that generates random ints, floats, strings, words, etc.

     

    This is inspired by Random Everything for VS Code.

     

    Github repo: https://github.com/sampayo/alfred-workflow-randomeverything

     

    Download RandomEverything.zip

     

    Demo

     

    Whb7ZyI.gif

     

    Options:

     

    Type random [option] [arg]:

     

    • address: A random address (e.g. 1750 Nugku Place)
    • city: A random city (e.g. Ejgekad)
    • country: A random country (e.g. Fidorini)
    • color: A random hex color formatted (e.g. "#dd505d")
    • date (MIN-MAX): (e.g. 2006-12-20T10:20:31.608Z)
    • date (MIN-MAX): (e.g. 23/10/2027)
    • email: A random E-mail address (e.g. hugzet@ricardosampayo.com)
    • float (MIN-MAX): A range from a-b separated with `-`. Default: 0-1 (e.g. 0.609)
    • int (MIN-MAX): A range from a-b separated with `-`. Default: 1-100 (e.g. 57)
    • ip: a random ipv4 ip address (e.g. 152.136.48.249)
    • name: A random NAME (e.g. Isabelle Holland)
    • firstName: A random first name (e.g. Seth)
    • lastName: A random last name (e.g. Fiesoli)
    • letters (length): Random letters (e.g. SsvnOZyMsjZxXmHOpax)
    • lettersAndNumbers (length): Random letters and numbers (e.g. jvYjV2Kk7D)
    • loremWorlds (number): Random lorem ipsum worlds with length (default 7)
    • loremSentences (number): Random lorem ipsum sentences with length (default 3)
    • loremParagraphs (number): Random lorem ipsum paragraphs with length (default 1)
    • phone: A random phone
    • street: A random street (e.g. Aniiv Way)
    • url: A random url (e.g http://git.ve/poh)
    • guid: A random guid (e.g 924719d1-8ba1-5cbc-8513-cc7d3c2031ee)
    • image (width-height): A random image from [https://picsum.photos](https://picsum.photos) (e.g https://picsum.photos/seed/ebGjjAe/320/100)

     

    Configuration:

     

    Type config-random [option] [arg]:

     

    • Image grayscale: Toggle to set if images are in a grey scale 
    • Image blur: A number that adjust the amount of blur on images
    • Default Dates (MIN-MAX): the default range of dates, format `YYYY/MM/DD` or `today`
    • Date American Format Toggle to set the date is in american format `MM/DD/YYYY`
       

    Screenshot 2022-02-19 at 16.15.18.png

    Screenshot 2022-02-19 at 16.15.28.png

    Screenshot 2022-02-19 at 16.15.40.png

    Screenshot 2022-02-19 at 16.16.17.png

  3. iOS Simulator Alfred Workflow

     

    A simple workflow for fast access to your iOS Simulators and apps. It saves you time during iOS development when you have to deal with Simulators' folder structure.

     

    Installation

     

    Download and open file or download from my GitHub account.

     

    Usage

     

    To trigger the workflow you have to type sims

     

    Features

    Simulators

    • Show applications (⏎ enter).
    • Launch in simulator (alt ⌥ + ⏎ enter).
    • Show number of applications installed (⇧ shift).
    • Reset contents and settings (⌘ cmd + ⏎ enter).

    Apps

    • Show content in finder (⏎ enter).
    • Launch app in simulator (alt ⌥ + ⏎ enter).
    • Show app details (⇧ shift).
    • Reset content of Documents, Library and tmp. (⌘ cmd + ⏎ enter). 

     

    ios-simulator.gif

  4. hey guys i'm having a problem that started recently. I'm running OS X 10.9.5 (Yosemite) and i've been using this workflow for a while now but now it's not working. It opens system preferences but the Alfred window says Search Google for 'output '. When running it on Script Editor I get the following error:

    error "System Events got an error: Script Editor is not allowed assistive access." number -1719 from window 1 of process "System Preferences"

     

    But I actually have Script Editor allowed to control my computer in the Accessibility thing...

     

    Anyone knows what is happening?

     

    Thanks

    Hi Geronest.

     

    have you given accessibility permissions to Alfred in system preferences? have a look to 'Solution in case of failures' in http://ricardosampayo.com/en/Audio-Switch-Alfred-WorkFlows/

  5. Just an FYI - I upgraded to 10.9 Mavricks and the "input" is working, but the "output" isn't returning a list - even when I enter into it. ;(

     

    When I run the code in AppleScript I get the following:

    error "System Events got an error: Can’t get text field 1 of row 6 of table 1 of scroll area 1 of tab group 1 of window 1 of process \"System Preferences\". Invalid index." number -1719 from text field 1 of row 6 of table 1 of scroll area 1 of tab group 1 of window 1 of process "System Preferences"

     

    I believe this is due to a dividing line and then all of the new AirPlay output options.

    airplay.png

     

    Just an FYI - I upgraded to 10.9 Mavricks and the "input" is working, but the "output" isn't returning a list - even when I enter into it. ;(

     

    When I run the code in AppleScript I get the following:

    error "System Events got an error: Can’t get text field 1 of row 6 of table 1 of scroll area 1 of tab group 1 of window 1 of process \"System Preferences\". Invalid index." number -1719 from text field 1 of row 6 of table 1 of scroll area 1 of tab group 1 of window 1 of process "System Preferences"

     

    I believe this is due to a dividing line and then all of the new AirPlay output options.

    airplay.png

     

     

    Hi,

    When I run this, the Output Audio Switch is the first result, but when I activate it (return), the word "output" is comleted and I see my fallback web search options as the results, not the different audio output devices that I have at my disposal. Am I overlooking something?

     

    Hi,
    Since the problem is solved Mavericks. You can download it once again
     
    I hope it works.
     
    : D
  6. Don't work on my iMac late 2012. I installed the workflow and then type output in the Alfred-Field and then it shows me "getting output devices" but nothing happens. I waited for over 10!!! minutes...nothing happened.

     

    Could it be, because my OS X is in german? 

    Could you please take the script filter code and run it on AppleScript Editor and post the error you're getting?

  7. Audio Switch

    ==================================================================================

     

    Switch between your input sources and output devices.

     

    To install just download (or my github) and doble click the .alfredworkflow file.*

     

    To change your input source type input (it could take a little bit to load your sources), then select the one you desire

     

    Captura%20de%20pantalla%202013-04-03%20a

     

    The same for the output device, just type output then select your choice

     

    Captura%20de%20pantalla%202013-04-03%20a

     

    Since I don't have any audio device or source connected to my laptop only 1 (the default) device and source are shown.

×
×
  • Create New...