Тёмный

An introduction to Apple Script for Noobs 

Tutorial Tim
Подписаться 6 тыс.
Просмотров 79 тыс.
50% 1

For educational purposes
A simple and straightforward tutorial to get you up and running with AppleScript Editor. Feel free to connect/chat with me in the comments below!
Want to level up your design skills? Sign up here!
www.tutorialti...
Follow me on GitHub :) bit.ly/github-t...
Link to Apple Script Image: eastmanreferenc...

Опубликовано:

 

6 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 162   
@pqbbppdfomml6247
@pqbbppdfomml6247 4 года назад
Thanks! As a beginner and whose first language is not English, your tutorial is so easy to understand and helped me so much!
@TutorialTim
@TutorialTim 4 года назад
Wei Leon that is great to hear! More tutorials to come! Stay tuned
@marcinserafin702
@marcinserafin702 6 лет назад
Hello , as a completely noob for who this tutorial was, I must say that You are a great teacher, especially in this case. I didn't follow anybody, cause I have no Instagram, but based on this tutorial I was able to make similar thing - some kind of Facebook event inviter for educational purposes, the difference is - when You are in the highlighted "all friends" option You have to make about repeat 24 times 48 key (tab) before You get to first friend selection option (I thing because of too many groups and events I had to avoid) and then a little bit of delay and bigger repeat. You have to make "repeat" key code 36 key code 48 as many times as many fiends You would like to invite. Ps. I knew that will be necessary to make longer delay, even as powerful device as MacBook still don't know that he has to go back when he will make a mistake and he goes still making some crazy clicks;)
@TutorialTim
@TutorialTim 6 лет назад
Woohoooo! Nice job, Marcin, keep on Apple Scripting and let me know if you'd like me to make any other tutorials :)
@jelanmaxwell4762
@jelanmaxwell4762 4 года назад
Thanks for the tutorial! Really like that you used a sort of real world example and showed a little troubleshooting
@Miden1437
@Miden1437 5 лет назад
You have just introduced me to a whole new rabbit tunnel thank you!!!!!
@gskibum
@gskibum 3 года назад
You misspelled AppleScript in the title and once in the description. I kid. I kid. Definitely one of the best tech tutorials I have ever seen. Mischievous example is funny as hell. Packed with real-world scripting scrapes & bruises. The stuff learning is made of.
@TutorialTim
@TutorialTim 3 года назад
Thank you, I really appreciate it!
@johnnysalazar5520
@johnnysalazar5520 3 года назад
Awesome! Loved this tutorial! Learning for the sake of learning today and this tool has made my day. THX
@sebeqplayroom
@sebeqplayroom 4 месяца назад
Tim I can tell you that's genues job you did. Why did you stop does tutorials 🤔 you have great knowledge just keep going 🙏🙏🙏🙏🙏🙏 That's diagnose a problem is really nice, you had a problem and you solved ☺ I'm subscribe 🍀🥳🥳
@mustbge0
@mustbge0 2 года назад
Used this tutorial to make a program to like this video, thank you so much. This is really easy to understand and well put together.
@TutorialTim
@TutorialTim 2 года назад
Haha that is awesome, you made my day! :) Happy scripting hehe!
@justin43i4
@justin43i4 4 года назад
Years after this video dropped just used this to write my first code on my older mac. You made scripting code look easy! thanks man!
@TutorialTim
@TutorialTim 4 года назад
That's awesome man! The more reps you put in the easier it gets! All the best
@carlajohnson5601
@carlajohnson5601 5 лет назад
Thank you so much! I'm a complete novice and I did it with your guidance!
@gerrymcilveney9321
@gerrymcilveney9321 5 лет назад
I loved the tutorial! Loved the relaxed approach to it too, it was like we were all in it together! I really want to build a good solid knowledge of AppleScript and these little tutorials are a great place to start. As a side note, I just do not understand people that leave negative comments. "Your style was rubbish, you're a noob, use a better language" Why don't y' all fuck of somewhere that has all of these things and take your negativity with you too! What a waste of energy, and oxygen for that matter. Well done, Tutorial Tim. Look forward to seeing more.
@TutorialTim
@TutorialTim 5 лет назад
Gerry McIlveney thank you Gerry I appreciate it! Thanks for the follow on github too haha. I have a couple of videos in mind that I’ll be creating soon. Let me know if you want anything in particular!
@gskibum
@gskibum 3 года назад
Those comments are lost on me. This video was great!
@adamtamer7031
@adamtamer7031 6 лет назад
I have seen other videos with much more advanced programming and hundreds of thousands of views and subscribers, however, the only flaw they have is lack of decent explanation, so thank you, and by the way I have no sense of doubt in your capabilities concerning programing
@TutorialTim
@TutorialTim 6 лет назад
Thank you, Adam it means a lot!
@gskibum
@gskibum 3 года назад
Exactly. In probably any scripting language, just about any script requires a bit of refinement to get things working. Even an easy script like this one. It was good to experience the skinned knees & elbows from all the falls along the way with Tutorial Tim.
@michaelvaughan2888
@michaelvaughan2888 2 года назад
Bro that tutorial is 10/10, I like that you were working through it and troubleshooting along the way, perfect!
@TutorialTim
@TutorialTim 2 года назад
Thank you, Vornzy! Glad you enjoyed, happy scripting!
@youtubewanderer7739
@youtubewanderer7739 6 лет назад
Amazing tutorial mad a script that takes it to your channel and automatically subscribes xd
@TutorialTim
@TutorialTim 6 лет назад
Pretty awesome, right? haha
@babroosssgames5028
@babroosssgames5028 3 года назад
Thank you for the tutorial! I used this for a slightly different purpose, but it worked even with an older mac.
@TutorialTim
@TutorialTim 3 года назад
Awesome!! Glad it helped and thank you for watching!
@thespencerowen
@thespencerowen 5 лет назад
You don't need to know the keycodes, you can just enter 'keystroke' like. `keystroke "l"`
@sireneitaliane3772
@sireneitaliane3772 4 года назад
I think he is a noob
@RJoubert93
@RJoubert93 4 года назад
Just starting here, but I'm pretty sure that wouldn't work for modifier keys or, return, escape, etc.
@thijskap1971
@thijskap1971 3 года назад
@@RJoubert93 yes it works know, keystroke enter (without the ")
@TutorialTim
@TutorialTim 3 года назад
@@sireneitaliane3772 lol trueeeee
@maze7050
@maze7050 3 года назад
I am pretty darned experienced with AppleScript, but i still watched this bc it seemed interesting XD
@sweealamak628
@sweealamak628 3 года назад
I’m a noob at AppleScript and have a serious question, is Apple ditching scripting on it’s Macs? Support for automation seems to have dwindled over the years and they explicitly stated they won’t include scripting languages in future MacOS versions. The reason why I ask because I’m afraid of investing the next few months building an automated workflow around AppleScript only for them to drop it altogether. They referenced Python and Perl but do you have any idea whether AppleScript is being decommissioned or that’s unlikely? Thanks!
@coinerdcrypto2414
@coinerdcrypto2414 6 лет назад
is it weird if I'm having fun watching this tutorial??
@TutorialTim
@TutorialTim 6 лет назад
Not weird at all! Keep on Apple Scripting!
@wiesiasadowski3777
@wiesiasadowski3777 3 года назад
*DEFINITLY* NOT!! :)
@littlegreen4899
@littlegreen4899 3 года назад
No
@tomaszizka1335
@tomaszizka1335 3 года назад
It Is definetly not weird :D
@VNMHCKR
@VNMHCKR 5 лет назад
Oh my god thats the first ever text interface ide programming language ive ever learned😂
@vihanbagal1662
@vihanbagal1662 3 года назад
Thank you so much for this tutorial. It helped me so much. Also idk if this is just for me but just pressing enter didn't work for me. I later figured out that i can use (control+enter). Thanks again
@TutorialTim
@TutorialTim 3 года назад
That is amazing Vihan! Keep on doing your thing and learning and I'm sure you'll build some awesome things one day!
@juliyasm
@juliyasm 4 года назад
You've made my day! Thank you! Helped a lot!
@TutorialTim
@TutorialTim 4 года назад
And you've made mine, enjoy!
@Tyler_Hodges
@Tyler_Hodges Год назад
Great tutorial, exactly what I was looking for but I noticed when the user has a story, it takes one less "tab" for some reason. Is there anyway around this, this one thing seems like it will put a kink in the works if I want to loop this program.
@shauntaepressley1704
@shauntaepressley1704 5 лет назад
Perfect tutorial. thank you so much
@trentadams4833
@trentadams4833 5 лет назад
Just a quick tip you could add “/followers/“ to the end of the url so that you wouldn’t have to go through the stuggle of the “231m followers” search things
@jellyqwerty4391
@jellyqwerty4391 2 года назад
Perfect tutorial. Subbed and liked!
@josefhab8095
@josefhab8095 6 лет назад
Dear Tim thanks a lot for this tutorial. I am going thru it again and again. :-) What I found as a good helping tool is to make shortcuts in keyboard. Like ks - Keystroke, kc - key code, ta - tell application. That function makes things faster. Any chance to see more tutorials for AppleScript? J
@TutorialTim
@TutorialTim 6 лет назад
If you'd like another tutorial on something specific let me know and I'll make one.
@josefhab8095
@josefhab8095 6 лет назад
Hi Tim can you help with following? It isn't about apple script, but similar. I wanna change on my Mac default location for MAC screenshots to Photo library. Just to see it in Photos. I don't want to create any other folder on my Mac. In Photos is a folder Screenshots but I see there my Iphone screenshots only. As I want to have all screenshots synced in one place in Photos. I can't find the way how to... Thanks for help. J
@TutorialTim
@TutorialTim 6 лет назад
Hey Josef, I'll look into it and get back to you with an answer after I do some Googling.
@josefhab8095
@josefhab8095 6 лет назад
thanks a lot... you can write me an email Josef.hab@icloud.com
@chuckbrotman1101
@chuckbrotman1101 4 года назад
Very well done, Tim, Thank you. --Chuck
@TutorialTim
@TutorialTim 4 года назад
Thank you, Chuck!
@user-df1gs1kf8w
@user-df1gs1kf8w 2 года назад
What a simple yet powerful script lol
@TutorialTim
@TutorialTim 2 года назад
Right haha
@satori1312
@satori1312 5 лет назад
Great tutorial!
@mr.felicciardi7616
@mr.felicciardi7616 5 лет назад
I am a teacher that has to fill out behavior forms multiple times per day found in apple pages. I want to be able to voice command on my iPhone XS to then get my computer to open pages, select a new document template (the form) and then dictate a message at a specific location within the form (comments section on end of form), then possibly email it out. If possible, each time I fill out a new behavior form, I'd like the computer to then add a mark to another chart that records behaviors and when they occur. Is this feasible?
@cascasanova
@cascasanova 5 лет назад
Thanks, great presentation.
@FRANKWHITE1996
@FRANKWHITE1996 3 года назад
Nice! Thanks for sharing 🙌🙌
@TutorialTim
@TutorialTim 3 года назад
Thank you, Frank!
@wbug
@wbug 4 года назад
Hey man, could you perhaps teach us how to autoclick?
@ducky5797
@ducky5797 4 года назад
how do I allow script editor to send keystrokes
@glozyedits2026
@glozyedits2026 4 года назад
It tells not allowed to send keystroke how to fix this?
@joehalldorson6488
@joehalldorson6488 2 года назад
Maybe do a rehearsal.
@IKX-vh2fj
@IKX-vh2fj Год назад
First of all thanks for the tutorial. But command down seems not to work. It says it’s not allowed to send keystrokes.
@amirjavid5720
@amirjavid5720 3 года назад
enjoyed! thanks!
@Rajvlogscanada
@Rajvlogscanada 5 лет назад
awesome can suggest more video on this
@izaihabruce7426
@izaihabruce7426 6 лет назад
Thank you Timmy!
@Skai40
@Skai40 3 года назад
Can I stop it in the middle of the script? If so how?
@MrHematom92
@MrHematom92 3 года назад
Amazing where can you learn all the command from Apple script ?
@10JLB
@10JLB 3 года назад
How much would you charge to help me set up 3 scripts?
@m.i.s.t.777
@m.i.s.t.777 4 года назад
In Germany we don´t know what "fast Internet" means:D
@Erin-Thor
@Erin-Thor 3 года назад
Why when you use the record function, does nothing gets recorded?
@ClickingKeys
@ClickingKeys 2 года назад
Very few apps are actually “recordable”. If you record what you are doing in the “Finder”, you should see results. Truth is, even if it does record what you do, the code that is created from the recording isn’t that great. Once you learn to write AppleScript you can create much better code than the recording does.
@Twice_Animations
@Twice_Animations 2 года назад
how can i do this on a school computer
@WILLGYS
@WILLGYS Год назад
Thanks bro
@ammarahmed8155
@ammarahmed8155 4 года назад
Could you make a tutorial to use script editor to make events for Apple Calendar? I've been trying to use Apple's documentation but its too confusing for me.
@TilRawan
@TilRawan 4 года назад
Hi Tim,I have a question. I have a list of URLs. And I want to open one url at a time and close it, and move to the next one. In short, open first one and close it, and open next one and close and so on. what would be script for this sort of repeat? Thanks
@9ethercarbon-x237
@9ethercarbon-x237 6 месяцев назад
is it possible to command a delay for like page load complete or something?
@TutorialTim
@TutorialTim 6 месяцев назад
Im not aware of apple script being able to read when a page load occurs but may be worth researching. Only thing I can think of is a manually approach to identifying average load times and manually applying a delay that is close to it.
@levilouislaelsvideos
@levilouislaelsvideos 3 года назад
I tried making my completely own script and it didn't work it was exactly like yours's but the syntax error kept appearing.
@spillingthetae8835
@spillingthetae8835 3 года назад
How do I turn on text to write
@andrewcampos501
@andrewcampos501 Год назад
Does this also work for da hood Roblox?
@emmanuelcheveau4891
@emmanuelcheveau4891 4 года назад
I’m looking for a book : any recommendations ??
@real_below
@real_below 2 года назад
idk why but it says is not allowed to send keystrokes... when i make it a app
@TutorialTim
@TutorialTim 2 года назад
activate the app first and then run your keystrokes
@real_below
@real_below 2 года назад
@@TutorialTim but if i made it a application and its on my desktop
@TutorialTim
@TutorialTim 2 года назад
@@real_below Please provide a clear and concise explanation of your issue describing each step so I can help accordingly.
@robertcollins8732
@robertcollins8732 4 года назад
Wow! Great tutorial!!! Thank you!
@henryward8311
@henryward8311 4 года назад
download image???
@Yoriichi_Tsugikuni___
@Yoriichi_Tsugikuni___ 3 года назад
How would you do command shift ?
@about1082
@about1082 4 года назад
idk why but its not working
@porygon7463
@porygon7463 3 года назад
how do I repeat the whole task?
@TutorialTim
@TutorialTim 3 года назад
repeat 3 times --- add code here end repeat
@Berghiker
@Berghiker 5 лет назад
How do I use apple script with siri with Mojave OS to announce that my battery is low?
@СергейДрузь-ь3ж
@СергейДрузь-ь3ж 5 лет назад
Great!
@emmanuelirizarry5302
@emmanuelirizarry5302 6 лет назад
You have a jet engine near your computer?
@cooltimes1473
@cooltimes1473 5 лет назад
What do we do if it says "Document "Untitled" cannot be saved as "Name". The file doesn't exist." or something like that? How do we save it?
@TutorialTim
@TutorialTim 5 лет назад
CoolTimes Somewhere in your code the syntax is not correct. In other words, snoop through your code for errors. There might be a typo.
@jadigistudios
@jadigistudios 2 года назад
Excellent 👍🏽👍🏽👍🏽
@TutorialTim
@TutorialTim 2 года назад
Thanks, Jameze!
@jadigistudios
@jadigistudios 2 года назад
@@TutorialTim Yeah you just opened a whole new door for me, lol you have no ideal 😀😉👍🏽
@TutorialTim
@TutorialTim 2 года назад
@@jadigistudios hehe nice!!!
@Payment-handlers-welcome
@Payment-handlers-welcome Год назад
IT'S LIKE THE BLIND LEADING THE BLIND😂😂YOU DONT KNOW WHAT YOUR DOING
@TutorialTim
@TutorialTim Год назад
😂😂
@Musician_Robert
@Musician_Robert 6 лет назад
Thank you
@TutorialTim
@TutorialTim 6 лет назад
No problem, thank you man!
@dankmemes1837
@dankmemes1837 4 года назад
how do you close a tab from a web browse using script editor?
@TutorialTim
@TutorialTim 4 года назад
Lucky_Gamer 23 I would use the code snippet keystroke “w” using command down
@dankmemes1837
@dankmemes1837 4 года назад
@@TutorialTim cheers :)
@bdan_2974
@bdan_2974 3 года назад
I can prank my friends now :D
@TutorialTim
@TutorialTim 3 года назад
lul, that's the spirit!
@RetroSnoopDog
@RetroSnoopDog 3 года назад
Lol tell me why i made a burner account for this and just got locked out of it😂
@TutorialTim
@TutorialTim 3 года назад
lol, if you do it in quick succession and repear those actions a ton of times Instagram may detect that it's a bot and ban you maybe? That's what comes to top of mind when you mentioned it.
@sylvainb.8870
@sylvainb.8870 4 года назад
I don't understand because when I run the script it stops at "key code 37 using command down" saying Script isn't allowed to type in the browser... please help
@IKX-vh2fj
@IKX-vh2fj Год назад
Have the same problem. Do you found a way after to years ?🥲
@sylvainb.8870
@sylvainb.8870 Год назад
@@IKX-vh2fj wow tbh I used it so long ago I don't remember if I found a fix, sorry :(
@HinaTheRatLuvsDrawing
@HinaTheRatLuvsDrawing 2 года назад
wat to do?
@nachordinarygamer9425
@nachordinarygamer9425 6 лет назад
good tutorial but i found some of the commands difficult to use on older versions of mac os
@TutorialTim
@TutorialTim 6 лет назад
What issues were you having? I'd be happy to help!
@nachordinarygamer9425
@nachordinarygamer9425 6 лет назад
I was using a power Mac G4 and was testing it out to try and auto download a document upon command and some of the key codes weren’t working in the same way as displayed on you video since it was recorded on a later OS
@TutorialTim
@TutorialTim 6 лет назад
If your key codes are not typing properly you may want to add more delay time between each action until it hits them properly. It might be tedious, but that could be the issue. I would recommend adding long delay times to see if it runs properly and then narrow down your issue from there. I'm here to help if you continue to come across issues.
@bigsweaterman8142
@bigsweaterman8142 4 года назад
Help! When I try to send keystrokes, I get an error message saying Script Editor is not allowed to send key strokes. How do I turn this off?
@TutorialTim
@TutorialTim 4 года назад
There could potentially be a typo somewhere in your script. If keystrokes don't work you could try key codes as indicated in the video. Let me know how it goes!
@melkenhoning158
@melkenhoning158 4 года назад
Go to your System Preferences --> Security and Privacy --> Click on the privacy tab and click on the tiny lock icon at the bottom on the window --> enter in your admin password & username. At this point you should see a script editor icon with a checkbox next to it. Click the box and you should be good. (also click the lock icon again to deactivate further changes just to be safe!)
@bigsweaterman8142
@bigsweaterman8142 4 года назад
The Barge thank you very much
@f34rparlex92
@f34rparlex92 3 года назад
hello do u have discord I have a few questions and u seem legit and good I want to learn more with live help
@Joel-zy9xk
@Joel-zy9xk 4 года назад
Great Vid
@TutorialTim
@TutorialTim 4 года назад
Oh yeah! Enjoy Apple Scripting!
@Joel-zy9xk
@Joel-zy9xk 4 года назад
@@TutorialTim cheers m8 i made an auto roblox game/friend joiner and a script that automatically searches a revision website for the topic i want to revise +1 sub keep going! You can reach the millions
@Joel-zy9xk
@Joel-zy9xk 4 года назад
id like to see an auto clicker tutorial if thats possible. For "educational purposes" of course hehe
@TutorialTim
@TutorialTim 4 года назад
@@Joel-zy9xk That is really awesome. Thank you for your kind words, much appreciated.
@TutorialTim
@TutorialTim 4 года назад
@@Joel-zy9xk hahaha I will create an auto clicker tutorial for "educational purposes"
@op8995
@op8995 2 года назад
Figure out how you're going to present and get to the point. 2:47 in and I'm bouncing out. ✌️
@TutorialTim
@TutorialTim 2 года назад
lul
@marcsebastianramos1162
@marcsebastianramos1162 3 года назад
i aint a noob. i just need a script editor
@Trackrace29582
@Trackrace29582 4 года назад
AppleScript is basically human language
@eleonoramarree
@eleonoramarree 5 лет назад
Thanks for this tutorial, I will need some help from you to create a (for me) difficult script. I would like to send you an email. but I can't find your contact info. I hope you can help me. Thanking you in advance.
@TutorialTim
@TutorialTim 5 лет назад
send me your email and i will get in touch with you
@BrandonLasprilla
@BrandonLasprilla 5 лет назад
id subscribe, but you've got 420 subs and id hate to mess that up....
@TutorialTim
@TutorialTim 5 лет назад
LOL. Stay ripped brah
@quabledistocficklepo3597
@quabledistocficklepo3597 6 лет назад
About a month ago, following the instructions I found in Apple Community, I was successful in using Calendar and Script Editor to create an audio appointment reminder. It worked fine; it was just what I wanted. Unfortunately, I was unable to do it today. Today, when I clicked on Script Editor, the window I got said Script Editor--iCloud at the top. I don't know how iCloud got into the act. Could this be why I can't create an audio calendar reminder now?
@TutorialTim
@TutorialTim 6 лет назад
From what I understand it sounds like the update has affected your Apple Script to malfunction. You might have to navigate in a different way to create the audio reminder you speak of.
@egaljama2460
@egaljama2460 5 лет назад
430th sub ;)
@TutorialTim
@TutorialTim 5 лет назад
Thank you!
@a.s.9145
@a.s.9145 5 лет назад
aw man, that was the 1st tut coming from "apple script" query and a bad one. 1 you should use instagram API 2 start introduction to language with basic syntax like variables, methods, standard library... etc this one was not for noobs, but by noob.
@TutorialTim
@TutorialTim 5 лет назад
Hey, thanks for the feedback. Don't know exactly what you mean by apple script query. You are right on the money as this was indeed made by a noob. My only intention was getting across the main points to get an apple script functioning without having to explain everything in detail as it would have a been a very long video. Although you are right, the video would have been better with what you recommended, but quite frankly I don't care cause I'm a noob... lul
@4CardsMan
@4CardsMan 3 года назад
Google Chrome is no-no.
@henryward8311
@henryward8311 4 года назад
I have gaming mouse now: deleted Minecraft LOL
@knoxbox2702
@knoxbox2702 Год назад
12:02
@svendholme3627
@svendholme3627 5 лет назад
PLEASE organize your thoughts and stop fumbling around about what your want to say, it is very distracting and confusing. TheMacU.com has good lessons, study how it is done.
@TutorialTim
@TutorialTim 5 лет назад
tenor.com/view/lol-no-gif-9242755
@gskibum
@gskibum 3 года назад
I've watched a whole lot of tech tutorials over the last 30 years. This one was one of the best. A lot of quality information was packed in a short amount of time. And the mischievous humor behind the subject material is epic. I think you are completely nuts. Either that or the business behind the url you linked to gets you paid for the clicks. Or both.
Далее
Scripting System Settings
35:01
Просмотров 2,3 тыс.
AppleScript Tutorial : First Script
9:52
Просмотров 13 тыс.
ЛЮБИТЕ ШКОЛУ?😁​⁠​⁠@osssadchiy
00:20
ВЫЖИЛ В ДРЕВНЕМ ЕГИПТЕ!
13:09
Просмотров 301 тыс.
An Introduction To Using Mac Automator
11:15
Просмотров 224 тыс.
An Introduction To Computer Programming On Your Mac
19:53
AppleScript: Display Dialog Deep Dive
28:40
Просмотров 1,4 тыс.
Beginner's Guide to the Bash Terminal
1:14:37
Просмотров 2,3 млн
How to Do 90% of What Plugins Do (With Just Vim)
1:14:03
Просмотров 898 тыс.
How to use Apple Script Editor w/ Cliclick
21:59
Просмотров 6 тыс.
Scripting 101 for Apple Admins
59:15
Просмотров 33 тыс.
ЛЮБИТЕ ШКОЛУ?😁​⁠​⁠@osssadchiy
00:20