ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก
Apple Shortcuts 101 || Lists and Dictionaries Part 4
ฝัง
- เผยแพร่เมื่อ 14 ส.ค. 2024
- Welcome to our latest tutorial on Apple Shortcuts, where we'll dive deep into the fascinating world of Lists and Dictionaries!
If you've ever wondered how to supercharge your automation game, this video is a must-watch.In this video, we'll break down the fundamentals of Lists and Dictionaries and show you how these powerful tools can revolutionize your Shortcuts game.
📋 Lists: We'll start by exploring Lists, a versatile way to store and manipulate collections of data. Learn how to:
Create and manage Lists in your Shortcuts.
Selecting items from List
📘 Dictionaries: Next, we'll unlock the potential of Dictionaries, a key-value pairing system that adds a new dimension to your Shortcuts. Discover how to:
Build Dictionaries to organize your data logically.
Using different functions to get values from Dictionaries
Throughout the video, I provide practical examples and insights on how Lists and Dictionaries can be used in different Shortcuts scenarios. Whether you're a beginner or an experienced Shortcuts enthusiast, you'll find valuable tips and tricks to enhance your automation skills.
Join us on this journey to demystify Lists and Dictionaries in Apple Shortcuts and unlock a world of possibilities.
Don't forget to hit that like button, subscribe for more in-depth Shortcuts tutorials, and let us know in the comments how you plan to use Lists and Dictionaries in your own Shortcuts creations.
🚀 Ready to take your automation skills to the next level? Watch now and become a Shortcuts pro
thank you 👍👍❤
Welcome 🙏🏻
Great 👍
Thanks 🙏🏻
How do you include add multiple list items at once
Yes we can do that with list as well as dictionaries. You create two three list and than in a new list whil you add a new data use select variable and select the list you want to add
Same for dictionary
But I think with dictionary it will be easier to access the data
Anyone can help me?
I’m using a dic in shortcuts but it doesn’t work as i expected to…
I put my Dict_1 into a repeat loop, but each time i call “Set (key) (value) in (dict)”… it creates a new Dict, so when i need the new values, the Dict_1 is full of repeated values
DIC_1
{ “1”:”val1”, “2”:”val2”}
Repeat each value in DIC_1
Set repeat-index to “new val” in DIC_1
End repeat
Show DIC_1
// shows the same dict without any change that happened in the loop. “Set” creates a new dict each.
Share your email id or LinkedIn I will share you the screenshot of the shortcut actions
@@futureautomation2504 thanks, I already solved it. The solution was to call “set variable ‘MyVarDic’ “ with DIC_1 as argument, before the repeat loop, and another “Set variable ‘MyVarDic’ “ now with MyVarDic as argument inside the repeat loop… and now when I call MyVarDic back after the repeat loop, it contains all the new values i need :)
That’s great thanks for the reply👍🏻
How to do this
1. Suppose I have 3 focus modes (eg A,B,C) & I want to assign value to A&B as 0 and C as 1
2. Get focus
3. if value is 1 do- x work
Otherwise do - y work
Please let me know how to do it using dictionary .
I am not yet clear with what you want to achieve. Can you please explain a bit more thank you