Jump to content

JustMe

Member
  • Posts

    6
  • Joined

  • Last visited

JustMe's Achievements

Helping Hand

Helping Hand (3/5)

0

Reputation

  1. Here is a workflow for all those people who often have to use different Firefox instances (with different profiles). Type "ff" or "firefox" to start Firefox with the Profile Manager to manually select a profile. Alternatively you can add the name of the profile as parameter, e.g. "ff default" to start a new Firefox instance with the profile named "default". Keep in mind that a profile can only be used in one instance at the same time. Download the Firefox Launcher Workflow here.
  2. Finally found time to create some screenshots of the workflow
  3. Here's a workflow to provide info about the network interfaces and the wifi connection. Type "ip" to show the ip and mac addresses of your interfaces as well as your current external ip address (maybe the address of your proxy). Type "wifi" to get the name, authentication mode and channel of your current wifi connection. Selecting any of the result items copies its value to the clipboard. Download Network Info
  4. Hi, I did a small workflow to display information about the currently used wifi network. Is there a way to arrange the result items in a defined order and disable the hotkeys? Depending on the apps on my Mac the result items tend to rearrange unpredictably. I simply want my workflow to provide certain information and the items should not be interactive. Thanks! require_once('workflows.php'); $w = new Workflows(); // GET SSID $info = exec("/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I|grep SSID"); $infoex = explode(":",$info); $ssid = ($info != ""?trim($infoex[1]):"not connected"); $w->result( '', '', $ssid, 'Connected Wifi Network', '', 'yes', 'autocomplete' ); // GET ENCRYPTION $info = exec("/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I|grep 'link auth'"); $infoex = explode(":",$info); $auth = ($info != ""?trim($infoex[1]):"not connected"); $w->result( '', '', $auth, 'Link Authentication', '', 'yes', 'autocomplete' ); // GET CHANNEL $info = exec("/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I|grep channel"); $infoex = explode(":",$info); $channel = ($info != ""?trim($infoex[1]):"not connected"); $w->result( '', '', $channel, 'Used Channel', '', 'yes', 'autocomplete' ); echo $w->toxml();
  5. Hi. I'm currently trying to figure out how workflows (with php) are done. Therefore I wrote a simple workflow using David's workflow.php (thanks for that!) which I copied to my workflow folder. I just want the message "This is my message" to pop up right under the Alfred input bar after the keyword "mykeyword" is typed. Instead, I get the name of the workflow (keyword test). What am I doing wrong? Where is my misunderstanding of the workflow concept? Thanks!
×
×
  • Create New...