Workflows icon indicating copy to clipboard operation
Workflows copied to clipboard

Alfred v2.3 feedback upgrades

Open TylerEich opened this issue 11 years ago • 0 comments

Alfred 2.3 support

Notable changes:

$sub argument of result() now accepts an associative array of mod values. For example:

array(
  'Default Subtitle',
  'alt' => 'Alternate subtitle',
  'cmd' => 'Command subtitle',
  'shift' => 'Shift subtitle',
  'fn' => 'Function subtitle',
  'ctrl' => 'Control subtitle'
)

If a string is provided rather than an array, it is used in the unmodified <subtitle> element (same as previous behavior).

$text argument of result() is a breaking change. It accepts an associative array of values to be used for the <text> element. For example:

array(
  'copy' => 'Copy value',
  'largetype' => 'Largetype value'
)

Minor changes:

Adjustments to get() function; not yet tested.

Addition of internet() function to check for internet connection (cruft from #1).

TylerEich avatar May 09 '14 21:05 TylerEich