Jump to content

jamafu

New Member
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

jamafu's Achievements

Helping Hand

Helping Hand (3/5)

0

Reputation

  1. That works perfectly! Thank you, @deanishe for the quick reply. Have a nice day 👋
  2. Here is what I am trying to achieve: Script list is triggered and list of countries is displayed User selects a country Selected country value/arg is passed to subsequent script filter This second/subsequent script filter is triggered automatically (after the user selected a country in first script filter) The displayed list (in the second script filter) is customized based on the selected country The input field should be empty The user can still type in the input field to filter the results All this works except steps 5.1 and 6 since the passed value always appears in the input field. I guess what I am asking is how to pass environment variables to a script list that are not displayed in the input field? The language of my scripts is Typescript / Javascript and I try to access env variables via const selectedCountry = process.argv[2]; This is the correct way to access variables that have been passed via Alfred Workflows (works in all my other scripts). However, there is no env variable in the second script list which I would need to pre-filter the options that are then displayed to the user.
×
×
  • Create New...