Jump to content

Tony_Et

Member
  • Content Count

    8
  • Joined

  • Last visited

1 Follower

About Tony_Et

  • Rank
    Newbie

Recent Profile Visitors

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

  1. Version 1.2.7: Patching a bug with osascript in OSX 10.12.5 - See https://bugs.python.org/issue30392
  2. Used this just today to set some vars from a Run Script. Works great, @deanishe! Thanks for adding that to 1.26
  3. @vitor and @deanishe, thanks much again. Also, my apologies, I didn't realize that there was a specific Alfred-Workflow forum; I should have looked (and I'll post there next time). I know it's not an official part of Alfred itself, but for my purposes, it's a critical piece of designing workflows. If it explains anything, My current day job is helping people troubleshoot, so I'm keenly aware of needing to have all the relevant information before solving a problem
  4. I wish I could help you in return. I can only think of something vanilla like "WorkflowVar" or "Variable3", or something completely inappropriate like "BestClassEverReturnVar" Regardless, thanks for the help.
  5. Ohhhhhhhhhhhh, right. I knew there was a facepalm coming my way. There it is. In a fit of frustration last night, I almost used json.dumps() (from what I gleaned from your post on it https://www.alfredforum.com/topic/9070-how-to-workflowenvironment-variables/) to shortcut around what I thought setvar() was supposed to be doing, and I completely missed the info that setvar() only works with script filters. Thanks for setting me on the right path! Much appreciated.
  6. Hi folks! Long time lurker, first time poster, etc., etc. I'm in the midst of writing a new workflow using Deanishe's wonderful alfred-workflow modules, and I'm hitting a wall in regards to using setvar(var, value). I think that I'm expecting it to work differently than it's working, and that my understanding is flawed and I need some help. In the my workflow, keyword "su newticket" and run script "new_ticket.py" is the action I'm concerned with. The upper workflow can be ignored and isn't implemented yet. I'm just trying to call a python script, set a variable, and return it as a {var:<name>} variable. If I use a "copy to clipboard" node, I can see the variable I want embedded in JSON inside {query}, but if I try to access {var:message_out}, there's nothing. This is where I'm falling down Workflow here: https://www.dropbox.com/s/8kjpu6jk4ze4moc/StreetUtils.zip?dl=0 Relevant info: Alfred 3.3.2 [818] macOS 10.12.4 (Darwin Kernel Version 16.5.0: Fri Mar 3 16:52:33 PST 2017; root:xnu-3789.51.2~3/RELEASE_X86_64 x86_64) Alfred-Workflow 1.25.2 Any non-system language you're using (e.g. nodejs): none Any non-system programs you're using (e.g. ffmpeg or youtube-dl) if they aren't bundled in your workflow: none Any changes you've made to your macOS environment (e.g. via launchctl setenv) or the language you're using (e.g. via Python's usercustomize.py or sitecustomize.py files): none I appreciate any advice or guidance! Thanks in advance and all that -tony.
  7. updated to 1.2.5 (absorbing fix from https://github.com/deanishe/alfred-workflow/issues/111, much thanks to deanishe)
  8. GoToMeetingTools This is an Alfred 3 workflow meant to assist in managing GoToMeeting lines. Each phonebook entry is a valid GoToMeeting line number and a descriptor or name. General installation You'll need Alfred 3 installed with the PowerPack: http://www.alfredapp.com You'll need Python (which you should already have) You'll also need to install the requests module for some functionality (converting gotomeeting urls into meeting numbers): http://docs.python-requests.org/en/master/ Download the latest GoToMeeting Tools.alfredworkflow from the GitHub releases page at https://github.com/plongitudes/GoToMeetingTools/releases Double click the .alfredworkflow file to install it Usage Summary go add <descriptor> <goto line # | http://gotomeet.me/customurl> go join <search pattern> go update <search pattern> go delete <search pattern> go share <search pattern go backup go restore go import <filename> Usage Details go add: is how you create new phonebook entries. The descriptor can be any combination of letters, numbers, and the following special characters: _, ., (, ), and . Any other characters will be stripped. go add <description> <gotomeeting line number>: line number here should be in the form of 111222333 or 111-222-333. go add <description> <gotomeeting url>: urls like http://gotomeet.me/customurl or gotomeet.me/customurl will be converted into a line number and added to the phonebook. go join: is the method for launching a gotomeeting line. You can start searching on name or number, whichever you remember best go update: lets you modify any entry's phone number. The order of operations is: type go update and start searching for the entry you want to modify. Once you have the right one, select it and hit enter. The Alfred field will update with the entry name and look something like go update Weekly Stand-up. Add the 9-digit GoToMeeting line number that you wish to be the new number for that entry. Once the number is completely entered, the correct entry will appear in the list. Select it and hit enter; the entry will be modified accordingly. go delete: start typing to search for the entry you want to delete. Once it appears, select it and hit enter; that entry will be removed from the phonebook. go share <search pattern>: Share a meeting URL. This is in the form of Join my GotoMeeting: https://global.gotomeeting.com/host/111222333, and is both copied to the clipboard and pasted into the foreground window. The pasting behavior can be altered in the "Copy to Clipboard" node in the workflow. go backup: create a backup in the user's home directory (~/.gotoPhonebook) of the internal cpickle datastore that is human readable. This is essentially a comma-separated csv that can be modified. This can also be used as a format guide for a valid go import action. go restore: overwrite the internal datastore with the contents of the backup in ~/.gotoPhonebook. go import: import a file that replaces the current phonebook, or creates one if the user has no phonebook yet. The file must be a comma-separated csv in the form of "123456789","Useful description goes here". TODO handle webinars Allow renaming of entries in addition to modifying line numbers better error messaging to the user for bad urls vs no url supplied Release Notes 1.2.7: Patched a bug with osascript in OSX 10.12.5 - See https://bugs.python.org/issue30392 1.2.6: moving to Alfred-Workflow 1.26 1.2.5: fixing 100% cpu bug See https://github.com/deanishe/alfred-workflow/issues/111 for details. GoToMeeting Tools workflow uses alfred-workflow 1.25 now, which fixes the issue (hang on autoupdate check) 1.2.4: requiring 'requests' module Gotomeeting requires the 'requests' python module in order to turn gotomeeting urls into line numbers. Please pip install requests or easy_install requests to add this module to your system. 1.2.3: Fixing ICON calls (autoupdate should be working now) ICON calls were written incorrectly, which was breaking a lot of things autoupdate feature should now be working 1.2.0: Turn a gotomeet.me url into a phonebook entry Added: New entry adding functionality, url instead of line number: go add <description> <http://gotomeet.me/customname> will now fetch a meeting number and turn it into a phonebook entry. 1.1.2: Sharing is Caring (and reading is fun) Added: ability to share a gotomeeting url from alfred. Added: the full phonebook is now listed by default if the query is empty. 1.1.0: Backup/restore, plus joining lines without an entry Added ability to backup the phonebook from internal cpickle format Added ability to restore from said backup Added ability to (destructively) import a comma-separated csv in the form of "line","description" for new users. Added ability to join a line if you have no current entry for that line: go join 123456789 will be a selectable menu item once the line number entered is deemed valid (9-digit line) Lastly, externalized some sanitization functions to keep code more lean. 1.0.3: Fixed issue with "update" not working The update action was clobbering the wrong entry on update, this is now fixed. 1.0.2: allow numbers with dashes Added better line number handling for gotomeeting lines (usually they're displayed as xxx-xxx-xxx, this is now handled correctly) 1.0.1 initial release with basic CRUD functionality
×
×
  • Create New...