Jump to content

Hileotech

Member
  • Content Count

    8
  • Joined

  • Last visited

Everything posted by Hileotech

  1. @ juliosecco: the I tried to run the PlistBuddy command you pointed me out (of course I modified it accordingly to my username and "LONGSTRING" thing), but the only thing I got from terminal was a Print: Entry, "dndStart", Does Not Exist both with Notification center on and off. I "quick-viewed" the "LONGSTRING" plist file, and I discovered that it does change according to Notification Center status. See this: Do Not Disturb OFF: after all the "xml version" etc code, <dict> <key>doNotDisturb</key> <false/> </dict> Do Not Disturb ON: again, afte
  2. Thanks deanishe and thanks juliosecco for your answers. I agree with deanishe: I used a separate script file just because I found different solutions for toggling Notification Center and it was easier for me to work on a separate file than to edit workflows. But this led me to use terminal and so to make my workflow heavier... Thanks for your suggestion! I'll investigate deeper with the "LONG_STRING" file. As far as I can imagine I just should ask Alfred to check IF dndStart and dndEnd exist THEN DoNotDisturb is "on", ELSE it's off... So my next step is to use this result as a variable
  3. Thanks, deanishe! I ended up doing like this: 1. I created an Apple Script file (named dnd.scpt) and saved in Documents ignoring application responses tell application "System Events" to keystroke "D" using {command down, shift down, option down, control down} end ignoring 2. I setup a keyboard shortcut in System Preferences according to the code above, shortcut that enables/disables (i.e. toggles) Notification Center 3. In Alfred workflow I created a new "Terminal Command" event, in which osascript /Users/**USERNAME**/Documents/dnd.scpt osascript -e "tell application \"System Even
  4. Updates... Googling here and there I found this page from stackexchange: http://apple.stackexchange.com/questions/145487/how-to-enable-disable-do-not-disturb-from-shell-on-mavericks There are a couple of scripts/codes ready-to-use, but I have no idea on how to use them i Alfred. Anyone could help in this? Thanks!
  5. Hi, everybody! I was just wondering to find a way to create some "desktop modes" I can easily switch using shortcuts/hotkey/whatever. For instance, I created a "Presentation Mode" that 1) quits all opened app(s) 2) opens DevonThink Pro Office (my research database) 3) sends a notification (i.e.: "Presentation mode: ON") Basic, super-simple workflow, I know, but it just works! I would like to add a little more to this, by enabling "Do Not Disturb" (DND) when in "Presentation Mode" and disabling it when exiting this mode (I create a "Pure Desktop" mode that recreates desktop environ
  6. Well: thanks for your help. I have all contacts formatted as follows: Name Surname +39 [italian international prefix] 123 4567890 I changed the rule in order to accept 12 or 13 digits. The problem, as I told you, is that Message doesn't even open... I'll try again in a few hours and report back.
  7. Hallo! Thanks for this workflow. Just a problem here: I can't figure how to send SMS... I tried the following: **A** call Alfred and write "sms [contact name]" ENTER --> nothing happens (iMessage doesn't even open) **B** call Alfred and write "sms [contact number] test message" ENTER --> again nothing happens No error message, nothing at all. Strange enough: it seems that telephone calls correctly begin... Running MacBook Pro OSX 10.11.5 + iPhone 6 iOS 9.3.3, both in italian (maybe this is the point?)
  8. Dear Kracke, I don't even know if you're still here around, but I need to thank you for your post! I think that's the way an (automated) operating system should go. Hope you can help me understanding better how you set up all those scenarios, maybe in another thread. But, anyway: great post, thanks a lot!
×
×
  • Create New...