• fer0n
    link
    fedilink
    arrow-up
    29
    ·
    edit-2
    1 year ago

    John Gruber made a shortcut that triggers mute if the device is laying face down on the table and otherwise launches the camera: shortcut.

    Edit, small hint: Actions App is required to detect the face down orientation.

    • MattA
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

      I am using the gruber action too. I really appreciate its simplicity. Although it took me a second to realise you needed the extra app ‘actions’

      • fer0n
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Ah apologies. I didn’t buy a 15 Pro myself so I just linked to his article. I thought he put that into one shortcut, definitely should’ve had. I get that he’s calling this in two places and there no function definition in shortcuts, but it’s really annoying to share if it’s split up. There should definitely be a solution for this from Apple if you ask me.

        • adj16@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          Oh hey no worries, just writing down the things I’ve realized for others so they don’t get stuck! Yeah agreed, deep links to other shortcuts should have a way to install those dependencies

      • brcl@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        1 year ago

        So this doesn’t want to work for me. Says the shortcut can’t be found?

        Edit: needed the actions app for this one too.

      • fer0n
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        1 year ago

        You’re right, I‘m pretty sure it was working before. I sadly don’t have it downloaded, maybe someone else does. Otherwise there’s a few screenshots linked in the article.

        Edit: it’s working again. I think something was broken with iCloud, I couldn’t download anything for some time.

    • Fishytricks@lemmy.world
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      1 year ago

      That’s a really neat shortcut. Unfortunately it doesn’t work for me and I’m unsure of how to fix it. Ill just wait till there is a fix for it.

      • fer0n
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        Could be you don’t have the Actions App installed? It’s used to detect the face down orientation.

  • mr_tyler_durden@lemmy.world
    link
    fedilink
    arrow-up
    14
    ·
    1 year ago

    I really hope they expand this button in software later. Long press as the only activator is absurd. How about single? Double? Triple? Short-long?

    I hate that the only option is long. Also I wish I could change the behavior based on context (is the phone locked, what app is active, etc). I don’t need camera or flashlight if the phone is locked, they are right there but elsewhere that might be nice.

    I’m leaning towards camera in video mode as what I set it to, since getting to video mode takes longer than I’d like in most cases, even from the Lock Screen.

    • scarabic@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      ·
      edit-2
      1 year ago

      If only Apple could develop the technology to distinguish between a light press and a forceful touch.

    • bamboo
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      Contextual behavior can be done through the shortcuts app I think.

  • weksa
    link
    fedilink
    arrow-up
    12
    ·
    1 year ago

    Planning to make Focus-variable Shortcut. For example, if current Focus is Sleep, then action button toggles bedroom lights. If current Focus is Work, then action button connects to Bluetooth speaker and plays Spotify.

    • The Dark Lord ☑️@lemmy.ca
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      Same here. If I’m connected to my gym’s wifi, start a workout.

      After a certain time of day, have then turn on my bedroom lights so I can read. If the lights are on, turn them off and turn on the white noise. If the white noise is on, set my sleep focus.

      Otherwise, take me to my favourite shortcuts and let me select one of those.

      • weksa
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        There’s a trick. First, say Hey Siri play spotify [Playlist name / radio]. Siri will start playing it. Now when you open Shortcuts and search your actions for Spotify, it’ll be listed temporarily. You can then incorporate that into your Shortcut.

        • Vub@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          Wow, thanks! I will try it. It’s so weird that Spotify won’t officially support everything iOS can do. It’s right there for them to integrate and it would make Spotify so much better for everyone, but they just won’t.

  • DBT@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    1 year ago

    I left it at default because flashlight and camera are already easily accessible and my muscle memory goes that route. I was honestly waiting for a thread like this to help me decide on something.

    • Encrypt-Keeper@lemmy.world
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      1 year ago

      What’s to stop you from bumping that button in your pocket and accidentally causing your car to come on and run for 15 minutes?

      • CornHead764@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Figured I’d figure that one out the hard way. So far it hasn’t happened, but upon purposely trying to start the car with my phone in my pocket, it seems like the screen needs to be active before the action button works. So either detect it’s out of your pocket, or hit the lock button to wake the screen.

    • richie510@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      I’m also using for the flashlight.

      It can only be accessed by the Lock Screen button and the control center widget. The camera can be activated by app, Lock Screen swipe, control center widget, Lock Screen button, search, etc.

      I like the idea of using shortcuts to make it more flexible. However mute toggle and camera are not likely something I will pursue. (Why do people need to intermittently mute their phones, isn’t your phone always on mute?)