Class Alfred
Basic interaction with Alfred
Methods summary
public static
|
#
call_external_trigger( string $bundle, string $trigger, string|boolean $argument = false )
Calls an Alfred External Trigger
Calls an Alfred External Trigger
Single and double-quotes in the argument might break this method, so make sure that you
escape them appropriately.
Parameters
- $bundle
- the bundle id of the workflow to trigger
- $trigger
- the name of the trigger
- $argument
- an argument to pass
Since
1.0.0
Used by
|
public static
string
|
#
light_or_dark( )
Tells you if the current theme is light or dark
Tells you if the current theme is light or dark
Returns
string either 'light' or 'dark'
Uses
Used by
|
Magic methods summary