Jump to content

theboyler

Member
  • Posts

    15
  • Joined

  • Last visited

Contact Methods

  • Twitter
    @theboyler

Profile Information

  • Location
    Brighton

theboyler's Achievements

Helping Hand

Helping Hand (3/5)

1

Reputation

  1. Yes, currently using 4.3.1 [1214], which is the same as the stable release. That seems odd, because I got a 'Alfred Update Available' notification in the app itself late last week, which I acted on.
  2. Hi Vitor, No update of macOS in this period; I think Alfred might have updated; the changelog says no change since 22nd jan, but I know it updated to a beta version more recently than that. Changing the script to run in a run script doesn't change anything, nor does using the quoted form of the filename; the correct directory is referenced in the workflow.
  3. OK - I'm using OS X 11.1, Alfred 4.3.1 Workflow uploaded here. When I say previously I mean that on Wednesday when I made the workflow, it worked fine. Now it doesn't work. I'm playing sounds using inbuilt speakers; I'm getting system alert sounds, new message sounds etc, so I know the speakers are working fine, and there's no issues with those. The fact that the script is working fine inside script editor tells me this is so too. I've not noticed any other apps have sounds probs, so at this stage, it _seems_ like it could be an Alfred issue.
  4. I have a workflow which plays a short sound file using a do shell script command in an applescript. It was previously working fine playing the sound file. Since the last update, sounds are working. When I run with the debugger, all is well - the workflow completes but no sound. When I run the script from the workflow in Script Editor, it works fine, and plays the sound.
  5. I had a workflow in Alfred 3 that opened the color picker; it worked in Alfred 3 but not in Alfred 4. It was a simple keyword 'col' to an applescript with this code on alfred_script(q) choose color end alfred_script Now, when I run it, nothing happens. I debug the script, and I get: [13:37:26.910] Color Picker[Keyword] Processing complete [13:37:26.913] Color Picker[Keyword] Passing output '' to Run NSAppleScript Is there some additional setting I need to use?
  6. 1) Switch on the reminder syncing service inside Daylite by installing the profile 2) Just use any of the workflows to add events to reminders, and choose the reminder calendar to be 'Worklist'
  7. You know when you go to empty trash, and it says that there's a file you're trying to delete which is in use. Sometimes, that's fine because it's a document you've inadvertently trashed. Other times, it's down to the vagaries of, say, Mail where you've just attached it to a sent message like a screengrab to send to a tech support, and you no longer need the file. This workflow runs through the trash, and lists which files are being used and by what application. You can then either force empty via a command, or go back and quit the apps, then you can empty trash in the dock. NB - You'll need to add your password into the workflow script where the variable 'thepass' is declared to make the force empty trash command work.
  8. Have combined into a single workflow here
  9. Hi Benzi - would it be possible to amend this so that when you select the computer battery, you get all the info from your first battery workflow (cycle count , health etc)?
  10. I've amended this on my Alfred to allow a modifier after the date to choose whether to add the event directly, or to open Fantastical to review first. set str to q as string set AppleScript's text item delimiters to " " as string considering case set len to str's last text item's length end considering set AppleScript's text item delimiters to "" set theend to text ((-(" "'s length) - len) + 1) thru -1 of q set q to text 1 thru (-(" "'s length) - len) of q if theend does not contain "rev" then tell application "Fantastical" to parse sentence q with add immediately else tell application "Fantastical" to parse sentence q end if If you add 'rev' after the text for the new event, you can review in fantastical first; if rev doesn't appear, then the event is added directly. To change the default, change the line if theend does not contain "rev" then to if theend contains "add" then and use the phrase 'add' afterwards to force it be added directly.
  11. This workflow enables you to quickly change the mac's output. It requires Audiodevice to be installed. You need to edit the script code to change the names of the respective devices to whatever the name of the devices on your setup; if those devices have spaces in, remember to escape them using backslashes (you can get the names of the devices by using the command 'audiodevice output list'. Download here.
  12. This workflow enables you to quickly prepare your laptop for flying by turning off your airport card and bluetooth - keyword is AP, then ON or OFF Download here
  13. So I've made two workflows for interrogating Calendars. For both, its best to use the format DD MMMM YYYY The first just opens Calendar on the date you enter, in the view you want. To use, just enter the keyword, followed by the date, then optionally, the view, eg: goto 20 december 2013 Opens the Calendar app on that date, in the existing view goto 20 december 2013 month Opens the Calendar app on that date, in month view (substitute month for week / day) Download here The second take the date, and enables you to select the number of days either side to display events around it using large type, eg: around 20 december 2013 Will list the events 7 days either side of the date. around 20 december 2013 3 Will list events 3 days either side. Read the read me for this one - it needs you download and install icalbuddy to query the calendars, and then you need to use icalbuddy to select which calendars you want to refer to by changing the -ic XXXXXXXXXX to the UIDs of the calendars in question. Download here.
  14. Thanks Tyler... Have added that and since amended the script to take a modifier for number of days before and after the date you give you give for events. It's here for download.
  15. I've made a workflow which takes the date you enter in alfred and queries my Calendars and returns the events between 7 days before and 7 days afterwards. I'd like to pass the returned text back to Alfred to display in the window, but I don't know how. Can anyone help? My script, for the record, is: on alfred_script(q) set q to date q do shell script "/usr/local/bin/icalBuddy -ic 1ED62DCA-ADC7-4A4C-A6B0-52EDB3342B87,92C54AEB-97CA-4300-A646-406457ABA32C,C36069C2-6937-4F43-9FC7-31D7DF221BFE,EBE1CD9A-2CDF-4163-AEF2-F70F845FB43E -iep \"title,datetime\" -sc -sd eventsFrom:\"" & (q - 7 * days) & "\" to:\"" & (q + 7 * days) & "\"" end alfred_script
×
×
  • Create New...