Scripting System Settings

Поділитися
Вставка
  • Опубліковано 22 січ 2025

КОМЕНТАРІ • 27

  • @parlindhe7573
    @parlindhe7573 Рік тому +2

    Great tutorial! Exactly what I was looking for. Also great pace and voice. Appreciate that you explained the very starting points of writing a script, and also ways to run it after the script was created. cheers

    • @apple-a-day
      @apple-a-day  Рік тому

      Thanks for the kind words! Glad it was useful and thanks for watching!

    • @DKane2012
      @DKane2012 10 місяців тому +1

      Absolutely agree, thank you very much!

  • @scottw6960
    @scottw6960 2 місяці тому +1

    Great tutorial! Easy to follow and did the trick! Thanks

    • @apple-a-day
      @apple-a-day  2 місяці тому

      Thanks so much! Glad it was helpful!

  • @AkashJ-bw2cn
    @AkashJ-bw2cn Рік тому +2

    Exactly what I was looking for! Great content. Subbed! :)

  • @RidaShamashneh
    @RidaShamashneh 2 місяці тому +1

    Thanks A lot!
    Great lecture!

    • @apple-a-day
      @apple-a-day  2 місяці тому +1

      Glad you enjoyed it... thanks for watching!

    • @RidaShamashneh
      @RidaShamashneh 2 місяці тому

      @@apple-a-day I was stuck trying to automate disabling OSK dwell feature until I found your video!

  • @mig8447
    @mig8447 3 місяці тому +1

    This was gold :)

    • @apple-a-day
      @apple-a-day  3 місяці тому

      Thank you! And thanks for watching!

  • @JRossHunter
    @JRossHunter Рік тому

    This reminds of years ago writing simple dBase programs on a PC before Windows. You encourage me to try writing a script to work on a Numbers spreadsheet. I need to modify the spreadsheet, select certain columns, put the spreadsheet in order, and save as a .csv file. I need to use that csv file on a web page to display a roster. Maybe some day I'll find a web program that will work with Numbers and keep the website updated as the spreadsheet changes.

    • @apple-a-day
      @apple-a-day  Рік тому +1

      Very cool! Good luck automating Numbers with AppleScript. Let me know if you're able to achieve your goal. Thanks for watching!

  • @Talentoman
    @Talentoman 5 місяців тому +1

    Can you please write me a script that toggles functions keys, i tried and it wont work.
    When i play games i need F1, F2 to be normal F keys not macbook keys and then everytime i want to play something i need to go to settings > keyboard > keyboard shortcuts > functions keys > toggle option
    is there a way to automate this process?

    • @apple-a-day
      @apple-a-day  5 місяців тому +1

      Hi there! Great question! I took on the challenge and was able to figure it out. I'll put together a tutorial on this in the next few days. I'll post a link here when it's ready. Thanks for watching!

    • @apple-a-day
      @apple-a-day  4 місяці тому +1

      New tutorial that does exactly this!
      ua-cam.com/video/s8HP-EK-2vk/v-deo.html

  • @seanohaimheirgin1047
    @seanohaimheirgin1047 Рік тому

    Very nice, thank you!

    • @apple-a-day
      @apple-a-day  Рік тому

      Glad you like it! Thanks for watching!

  • @shawyu8315
    @shawyu8315 7 місяців тому

    Thanks for the detailed explanation. Had an old project, run couple of scripts to change settings, my question is on macOS14, is it still necessary to "set UI elements enabled to true" first? Also sometimes when changing settings, requires either password or touch ID to continue, can we do something to skip this, Cheers

    • @apple-a-day
      @apple-a-day  7 місяців тому

      Hi there! I don't believe there's a way around the password/Touch ID requirement from the OS - something we just have to live with as far as I know. Regarding your OS14 question... I'll have to test that. I'll get back to you either tonight or tomorrow. Thanks for the questions an thanks for watching!

  • @razorbackroar
    @razorbackroar 4 місяці тому +1

    Legendary

  • @alapierre1
    @alapierre1 Рік тому +1

    I really liked this app - but I had problems creating it on Sonoma. This snippet is what I ended up with if you are interested. The rest of the script was the same as yours.
    if value = "Never" then
    set theResult to "Changed to 5 Minutes"
    click
    delay 1.5
    keystroke "F" --takes us to the top of the menu
    delay 0.5
    repeat 3 times --down arrow 3 times to get to 5 minutes
    key code 125
    delay 0.5
    end repeat
    keystroke return
    delay 1
    else
    set theResult to "Changed to Never"
    click
    delay 1.5
    keystroke "N"
    delay 0.5
    keystroke return
    delay 0.5
    end if

    • @apple-a-day
      @apple-a-day  Рік тому

      Hi there! Thanks for the code snippet - I hadn't tried it on Sonoma yet. This is great feedback! Thanks for watching!