Jump to content

MrMoose

Member
  • Posts

    4
  • Joined

  • Last visited

1 Follower

Recent Profile Visitors

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

MrMoose's Achievements

Helping Hand

Helping Hand (3/5)

0

Reputation

  1. Perfect, thank you. The debugger is super helpful. I'm starting my coding journey with JavaScript this weekend and it's good to know Alfred has that as an option in the Run Script Action (down the line). Have a great weekend @vitor!
  2. Thanks so much, @vitor. This was just enough info to send me down the right educational rabbitholes, much appreciated. Wouldn't mind seeing the code either if you don't mind. I really tried to do this without asking again but I'm stuck. Tried every combination I could think of (adding variables to the Arg/Vars utility like {date}, {date:EEEE}, {query}, etc., adding the same to the "if" blank in the Conditional, every combo of both...} I'm not sure if I need to add a variable, and what that would be: {date}, {date:EEEE}, {query}? My gut says no. I'm also assuming the output would still be "Friday" (vs. a representation in Unicode or something?) so that's what I've been putting in that spot. I know this is super simple in practice, just hung up on the minor points. Here's my best guess: https://github.com/MrMoose117/is-it-friday if you'd like to see (made a github account and learned how to create a repository, too, which is nice. Coolest signup process ever.). Thanks again!
  3. I've never had a Mac before and just got Alfred a few days ago; I'm blown away by all the features and by this wonderful community. I've made some simple workflows, but I'm not sure how to do a "if, then"-type workflow that checks a condition and acts accordingly, without additional user input. There are a lot I'd like to make once I get it down but here's the first example that came to mind: I'd like to use the keyword "is it friday?" to trigger a check of the day; if it is, in fact, Friday, the "Friday then, it's Saturday, Sunday" Mufasa video plays (I have it downloaded as an .mp4). Otherwise a negative response pops up, something like "nope ☹️ ". Is this something I can do within the Alfred Workflow setup alone or will I have to write a day-checking script or something? If so, how would I go about learning how to do this, especially for use in Alfred? I found the "conditional" utility block but got stuck after that. I've seen some very generous posts here so I also just wanted to mention that I'd rather do this myself - I'd like to learn how to program and this seems like a good intro project. Just need a bit of advice (unless it's way more complicated than I think...)! Thanks!
×
×
  • Create New...