hello and welcome to clicking keys this,is the first episode in a series of,learning to applescript the focus of,this video will be the script editor,application its interface and how to,interact with it let's get started,the first thing we'll need to do is find,the script editor application on our,computer if we open up a new finder,window and navigate to our applications,folder within there we should be able to,scroll down,and find the utilities folder,and inside the utilities folder is where,you'll find the script editor,application,double-clicking the script editor,application will cause it to launch and,it will create a brand new script window,for us,let's talk a little bit about the script,editor interface and get you a little,bit familiar with what your different,options are at the top left you'll,notice,a,name of your script you can click on,this to rename it or you can rename it,when you save your script later,at the top right you'll notice,several different buttons for changing,or interacting with your script,and at the bottom by default we're,seeing this,accessories view which is currently,showing us the description pane,we can change the different pane by,these icons on the bottom left and i'll,talk a little bit more about those in a,moment,i can also show or hide the accessories,view by toggling it,then i've got this hammer icon which is,to compile my script by compiling your,script the script editor will then,validate what you've written the next,button is a play button this will allow,you to run your script and test it to,see if it's doing what you're expecting,it to do,there's a stop button that can be used,for stopping your running script or,stopping the recording that happens with,this next button when you're trying to,record some applescript based off of,what you're doing on your computer i,will warn you that this recording option,does work in some applications not all,applications and it's also very verbose,to give you an example i'll go ahead and,click the record button,i'll tell it to make a new folder,and i'll even name this folder,as i've done that you can see that it's,automatically created some code and i'll,click the stop button,and now we can see i've got some,uncompiled code here,that does in fact tell the finder to,activate make a new folder on my desktop,and then lastly rename that folder,to the word demo,if i delete this,demo folder,and i compile my script and i run it,again,we'll see that i will in fact get a new,folder called demo created on my desktop,next let's talk a little bit about the,accessories view like i talked about,before this first element is the,description this allows me to,write some information about what my,script is,this is basically,comments to myself to remind me what i,was writing the script for and what the,purpose of it is,next we've got the results tab this,results tab will show you the last thing,your script returns,when it finishes its execution so in,this case it's returning the word d
Let's move on to the first section of Script Editor
An introduction to Apple Script for Noobs
An introduction to Apple Script for Noobs
nice tutorial Tim here and today I'm,gonna show you how to use Apple script,is gonna be just like an introductory,lesson tutorial for you guys and for,those of you who do not know what Apple,script is it is this is what the,interface looks like right here it's,called the script editor here and you,can find it in your finder and if we go,to our finder I'm just gonna pull up the,finder I'm gonna hit command shift a to,go to my applications and if we scroll,down where you just press you will take,us to utilities and if we scroll down,you can see script editor you can just,double click to open it or press command,o I already have it open so there's no,use of me doing so so Apple script,editor what is it so basically Apple,script is a scripting language created,by Apple that facilitates automated,control over script Apple Mac,applications and it is a very useful,tool to eliminate repetitive tasks if,you ask me for my experience so without,any further ado let's get started and as,we get started I will have a link in the,description and what I recommend you,having to refer back to is this image I,have here alright so this image is I I,just labeled the Apple script keycode as,you can see right here in my preview so,the name of Bob and as you can see above,all the keyboards are the key codes so,there's key code right there's key code,and then as you can see if you pay,attention and it says key code right,there but that's all pixelated anyways,each one of these letters here has a key,code so basically key code allows you to,press these buttons and I'll show you,how to do that in a minute and then also,so key code 36 key code 36 is return or,enter as you can see right there it says,36 and if we want to type things out,through Apple script editor instead of,typing it ourselves we'll just have to,do a one time around we would type in,keystroke and then in quotations hello,all right so this will type out hello,and let's good start without any further,ado that's gonna be a basic tutorial so,I'm gonna start off by I already have,the page open so what I like to do,so we're gonna go to Instagram calm and,I'm just I have Google Chrome if you,guys have Google Chrome I'd recommend,you getting it for this tutorial and,follow exactly as I do,if I said that right I don't know if I,did anyways so I got Instagram open,basically I am going to create a I'm,going to make it we're gonna create an,automated script to click on their,followers and basically just follow,these people and this is for educational,purposes only not not doing this,you guys can create automated scripts to,spam people anyways for educational,purposes only remember however let's get,started so I got this link I am going to,my address bar gonna click on it,highlight a command a command C or,command X I just wrote a command command,C anyways I talked too much,I'm going to go back to my script editor,and I am going to basically tell I'm,going to tell my application to activate,Google Chrome and how we do th
After seeing the first section, I believe you have a general understanding of Script Editor
Continue the next second section about Script Editor
Google Apps Script Tutorial for Beginners
Google Apps Script Tutorial for Beginners
you want to automate a task in let's say,Google sheets or maybe you want to learn,how to code well in both cases this,video is for you I'm Michelle Griego,finsih Paris and in this video I'll show,you how you can automate a task in,Google sheets by writing a couple of,lines of code of Google Apps Script,before we dive into this tutorial video,do me a favor and subscribe to this,YouTube channel because every Monday and,Thursday I published a new video about,Google Apps Google Apps Script and the,whole G suite bundle so that you don't,miss out on any videos go ahead and,subscribe good now what is Google Apps,Script well it's a flexible scripting,language based on JavaScript so if,you've ever written some code in,JavaScript you'll be learning and you'll,be using Google Apps Script in,absolutely no time it's a scripting,language that's built into Google Apps,so you can create add-ons and and,automate tasks in as I mentioned the,beginning Google sheets Google Docs,Gmail so you can create automation,scripts where you actually go ahead and,create emails paste the content send it,out whatever you feel like so there's,almost no boundaries to what you can do,with Google Apps Script it's written in,your editor in your browser actually in,the built-in editor in Chrome,which means that you don't have to,install anything on your computer so if,you have a Google account and you have a,google chrome and Chrome browser,installed on your notebook,or on your computer that's all you need,to write Google Apps Script and the code,itself,well that runs under Google servers so,also they are no setting up of any,development or,production the fire environment and in,my opinion it's an easy language an easy,programming language to learn and so if,you're thinking of learning your first,programming language I think this would,be a pretty good option in our demo,scenario we'll be solving the following,problem,imagine you have a weekly report that,you get from an external data source and,you find yourself continually or with,every report formatting it the same way,the way you want it to be now the,solution for a repetitive tasks like,that is to automate it and that's,exactly what we'll be doing so with,Google Apps Script we'll be creating a,menu item a custom menu item that when,we click on it it formats our report the,way we want it to be and that in the end,saves us lots of time so this is how,it's going to look this is our report,and that's how it's going to look,including the the custom formatting menu,item that we're going to add to it okay,now before we start writing code we,write an algorithm or we think of the,algorithm and in our case we're first,going to access our active spreadsheet,and stored in a variable so that we can,manipulate it we're going to identify,our header row as well as our entire,table and store those two informations,or those objects in two separate,variables we're going to change the,format of our header row as well as our,table some formatting won'
After seeing the second section, I believe you have a general understanding of Script Editor
Continue the next third section about Script Editor
The Insane Difference a Script Editor Makes to Your Screenplay
The Insane Difference a Script Editor Makes to Your Screenplay
hey guys my name is holly hargraves i'm,an australian writer director and today,i'm going to chat about the massive,difference,a good script editor can do for your,script,so as some of you know i wrote a,screenplay last year in nine days i made,a video about it if you want to go check,it out it's a drama it's called burn,and since then i have actually done,another draft and i want to use the,script to enter into good competitions,and try and get a manager or try and,place,uh in the top 10 or top three and so in,order to do that i really want to invest,in the script and i really want to make,it the best that it possibly can be so i,decided to hire,a script editor and i've only worked,with one other script editor when,screener tray gave me some money to make,an animation,called bonnie the elephant which is an,adult animation and it's on this channel,if you want to go check it out,so that's the only time that i've worked,with a script editor and it was great it,was a really good experience,and i think that a script editor is just,a great way to elevate your script but i,feel like you have to find a good one,right,so i follow this really talented,screenwriter called dom on youtube,and his channel is called script fella,and he just gives advice to,up-and-coming screenwriters it's a,really really great channel if you are a,screenwriter please go check it out when,dom gives feedback he doesn't do,written feedback he actually does voice,memo feedback,which is the best hey holly how are you,doing thank you for sending me,burn uh which i've read now i've got,some thoughts i think there's a lot of,quality in there this is such a good,idea,because you can actually hear him as,he's going through your script,he'll talk through the script he'll talk,out his thoughts as he's going through,it and,his feedback was so helpful and i did,another draft,so i'm just going to go through it,as i'm about to make it out the way you,want it,this was his feedback with one swiss,movement comma,a long match lights dirty hot plates,okay so,make this more incisive it's overwriting,with one swift movement,because when i read with one swiss,movement i'm not seeing it,i don't know what the swift moment is,give me,the object give me the image your,opening image of your movie,of expressing exactly the image that's,in your head,oil drizzles into a frying pan can see,it pan throws in sausages can see it,tongs turn the sausage over visual these,are all close-ups,violent bursts of oil split up wonderful,hitting,the cook's hand i'd say clara 12,independent and feisty enters the small,dark cooking,kitchen with caution so here is a,sub-optimal,this would absolutely work in your movie,on the page it's reading flat it's,reading flat for a couple of reasons you,first of all you've given us the,location which is the grimy run down,flat,then you've given us the main character,and she's got a pretty vanilla,action she's just entering so i'd,upgrade the verb but then you,you start with a this is gr
After seeing the third section, I believe you have a general understanding of Script Editor
Continue the next fourth section about Script Editor
App Script Editor Tutorial - Google Sheets - Excel VBA Equivalent - Read & Write to Ranges & Cells
App Script Editor Tutorial - Google Sheets - Excel VBA Equivalent - Read & Write to Ranges & Cells
this will be the first video of my Apps,Script series for writing Google sheets,scripts so if you're an Excel user this,will be like an alternative if you're,doing Excel VBA which is Visual Basic,that the programming language you use to,automate Excel tasks now in Google,sheets,you use Apps scripts and the programming,language is JavaScript now if you're a,beginner level with spreadsheets these,videos are probably not the best option,for you you may want to pause your,skills first before you get into this,but this is probably as powerful as it,gets or what you can do with Google,sheets when you get to actual scripts so,Apps scripts will let you first of all,automate a lot of things a lot of tasks,in Google sheets they will also allow,you to create new functions in Excel I'm,saying Excel Google sheets sorry about,that in Google sheets that are not,available as a default so if you wanted,to create your own custom functions you,can do that in addition to all of that,you can also hook up your google,spreadsheets with some external data,sources and other websites and so on so,you can do a lot of cool things with,Apps scripts for this video we're going,to start with some very basics so if you,have some programming experience if,you've done some VBA this will be a lot,easier for you just keep in mind if,you're somebody in Excel who likes to,record macros there's really no,recording macros in Google sheets so,you'll have to actually write the code,but we'll get right to it so first of,all when you open your new spreadsheet,you want to get to the app script editor,and you're going to find it under tools,and,redditor that's where it is so if I,click on the script editor you'll see on,a new tab it's going to open my script,editor and on the top left you see,there's the name of the script so I'm,going to go ahead and change that that's,our project so I'm going to go ahead and,call this learn basics I guess something,like that hit OK and this is our regular,script editor and the language we're,going to use here is JavaScript so if,you're familiar with JavaScript that's,better I'm going to try to zoom in here,so it's easier for you to see it on a,screen so maybe I went a little too far,so as I'm zooming in we can't see some,of these buttons so I'm not really sure,what's the best option here but for,right now let's just zoom in so first of,all when you open as a default you'll,see there's this function this is,JavaScript function so in JavaScript the,function function syntax is you type the,word function there's the space then,it's the name of your function and then,you will have your parenthesis open,parenthesis closed and then you'll have,your curly brackets which will indicate,this is what where the function starts,and this is where everything that's in,that function ends and in between you're,going to have the actual code that's,going to happen when you're in that,function right so first of all I'm going,to rename this function so I'm going to,call it learn
After seeing the fourth section, I believe you have a general understanding of Script Editor
Continue the next fifth section about Script Editor
An Introduction To Computer Programming On Your Mac
An Introduction To Computer Programming On Your Mac
Hi, this is Gary with MacMost.com.,Here's an introduction to computer programming
using an app you already have on your Mac.,MacMost is supported by more than 500 viewers
just like you.,Go to MacMost.com/patreon.,There you can read more about the Patreon
Campaign.,Join us and get exclusive content.,So when I started with computers in the early
'80s it was easy to learn programming.,Computers, like the Apple II, greeted with
a blinking cursor when you turned them on,and you could start playing around with code.,Computers today come with a lot of great functionality
but it's hard for somebody to get started,learning how to program.,However, Mac's come with an app called ScriptEditor.,You can use ScriptEditor to get started with
computer programming just like you could with,those early personal computers.,Here's a short mini-course, divided into six
quick lessons, that can get you started with,programming even if you've never written a
line of code before.,So to launch ScriptEditor use Spotlight, Command
Space and then type ScriptEditor and hit Return.,Then go to File, New to create a new document.,In ScriptEditor you can work in two different
programming languages.,By default the window will be set to AppleScript.,You want to change that to JavaScript.,JavaScript is a modern programming language
that's used on just about every webpage you,have ever been to.,But more importantly it looks very similar
to most other modern computer languages.,So skills you learn in JavaScript you can
then apply to any language you want to learn,after that.,One thing I really like about ScriptEditor
is just like computers in the early '80s you,can type a command and immediately see the
results.,So you can type 1+1 here and then use the
Run button here at the top and you'll see,the result in the bottom.,If you don't see an area here at the bottom
you can click this button here.,Now 1+1 isn't very hard for a human to calculate
so it's not too impressive when a computer,can do it.,But you can type something much more difficult
like something like this which would be a,little harder for a person to calculate but
the computer can do it easily.,Instead of hitting this Run button I'm going
to use Command R, the shortcut, and you can,see there is the result at the bottom.,In JavaScript and other computer languages
you can use different symbols from mathematical,equations.,For instance the plus symbol will add numbers
together.,The dash or the minus symbol will subtract
them.,You use the asterisk to multiply and then
as we saw before a slash that will divide.,While it's nice to see the output from a program
at the bottom of the screen instantly, this,result area will only give you one output.,So if you're writing a more complex program
that is going to output several different,things this isn't going to work.,Instead we can use the command console.log
and put the equation in parentheses.,What we want to do now is switch at the bottom
here.,Click on this button to switch to a mo
After seeing the fifth section, I believe you have a general understanding of Script Editor
Continue the next sixth section about Script Editor
Apps Script Crash Course - Script Editor
Apps Script Crash Course - Script Editor
CARRIE ROWE: Camera
adds 10 pounds.,ARUN NAGARAJAN: Camera
does add 10 pounds.,KALYAN REDDY: Perspective.,You are closer.,ARUN NAGARAJAN: That too.,We'll let you do another
one where you can,have your own shot.,ARUN NAGARAJAN: Welcome to
"Developers Live." My name is,Arun Nagarajan, and we're
here live from,the New York studios.,Today's topic is "Apps Script
Crash Course and the Script,Editor." We're going to focus
a lot on the Script Editor.,But before I get started, I
want to introduce other,presenters.,KALYAN REDDY: Hey, everyone.,My name is Kalyan Reddy.,I usually do the Apps Unscripted
series, but today,,I'm going to give you some neat
tips and tricks on using,the Script Editor and maximizing
productivity there.,And as you might know, most of
us on the apps script team,work out of the New
York office here.,But today, we have a special
guest on our team from the,Mountain View office.,I'll let her introduce
herself.,CARRIE ROWE: Thanks, Kalyan.,I'm Carrie Rowe.,I'm a program manager on the
apps dev rel team, and I work,with these guys.,I'm really excited to sit out
here with them and hear more,about what they do.,And my job is to help make
developers successful, so,implementing programs to help
reach out to you guys and,communicate to you about
our products,and get your feedback.,So if you guys have any ideas
about how we can better,interact with you, please post
on the community page or reach,out to me on Google+.,I'd love to hear
your feedback.,ARUN NAGARAJAN: That's right.,That's really important
feedback.,"Google Developers Live" itself
is a program, so--,CARRIE ROWE: Yes.,ARUN NAGARAJAN: --that's why
she's on it, promoting it.,So let's get started.,So the Apps Crash Course series
is all about taking one,aspect of writing Apps Script
apps and just going really,deep into it.,So even if you're a programmer
that's been working with Apps,Script for a couple of years
now, we hope that you'll have,something that you can take
away from this series, but,it's more focused around just
from the ground up explain a,lot of the capabilities of
a particular feature.,And today, it's all about
the Script Editor.,Should we get started?,All right.,So the very first thing that
we'll talk about is how do you,get to the Script Editor.,So obviously, I think the
easiest to remember URL in the,world is script.google.com, real
easy to remember, real,easy to type.,It brings you the Script
Editor directly.,So when I say Script Editor,
just so everybody is on the,same page, it's the IDE, the
Integrated Development,Environment where you'll write
and run your scripts from.,So that's one of the
easiest ways to get,to the Script Editor.,We also have the ability to
inject the Create Script,option within Google Drive.,So this actually is a pretty
nice thing that you can do.,So right now, if you click on
the Create menu, you have the,native Google Apps formats
available and then any,third-party apps you
can install.,We have Google Apps Script
available as an app which you,ca
After seeing the sixth section, I believe you have a general understanding of Script Editor
Continue the next seventh section about Script Editor
AppleScript Tutorial : First Script
AppleScript Tutorial : First Script
hello and welcome to another episode of,learning to applescript in this video,i'm going to focus on creating some very,basic apple scripts to demonstrate some,of the different handlers we talked,about in the last video let's get going,so the first thing i'm going to do is,open up my script editor,so at this point i'm ready to start,scripting i can go ahead and start,writing some code,if i try to compile this it will compile,successfully because this is a valid,script i can even save this,and we've got a fully functioning,basic hello world script if i go ahead,and double click this,we'll get our hello world message and,everything is fine,this is an example of an implicit onrun,handler because the script editor,understands that it's implied that this,is code that should be executed when the,script is run,i personally prefer using explicit onrun,handlers in my code so let's go ahead,and add an onrun,handler here and we'll leave our message,and we'll close it with our end run,i'll go ahead and compile this and make,sure it still works,and when i save this now i'll be able to,double click and just like before we'll,get our hello,world message,now in my opinion there's still a,problem with this script,and that is if i was to have another,application running while my script was,being activated and it tried to display,this dialog,the dialog is going to be blocked by the,other application so just to illustrate,this i'm going to add a delay of two,seconds,compile this and save it,when i run this version of the script,i'll go ahead and bring pages to the,foreground and we'll see what response,my application has when it's kind of,trying to fight for the attention of the,user when page is in the foreground so,we will go ahead and,run the script and i'll bring pages to,the foreground,and you can see my script now is,bouncing because it's trying to get my,attention,but pages is in the foreground so if i,click this now i'll see the hello world,message,to prevent this from being a problem i,can tell my application to activate,first which means it'll bring itself to,the foreground before it tries to,display the dialog message so i will add,an activate command,compile this again,save it,and now,bring pages to the foreground again when,i run this,and bring pages to the foreground now my,script is capable of bringing itself to,the foreground we can see we now have my,work my hello world application as the,foreground app,and hello world message showed,successfully,okay so let's go back to the code,let me go ahead and duplicate my code,for a minute,because i want to keep a unique copy,here we'll go ahead and close this one,so now we'll add an additional handler,so just like before we had our on run,handler which allows us to double click,the script and run this code,now we're going to add the on open,handler which will allow the script to,receive a file drop,and then process code based off of the,fact that files were dropped on the,script so in order to do that we need
After seeing the seventh section, I believe you have a general understanding of Script Editor
Continue the next eighth section about Script Editor
Script Editor: Introduction to Programming with Google Sheets 07-A
Script Editor: Introduction to Programming with Google Sheets 07-A
now that we know the basic features of,Google sheets we can get into scripting,so we're gonna get into this environment,where we can write instructions and make,the make the Google sheets application,do interesting things so what is,scripting well we can use scripting for,a few different purposes within Google,sheets we can interact with users we're,gonna get into how you can create custom,functions because if the functions that,are built into Google sheets don't do,what you need you can use custom,functions to do interesting things you,can also use scripting to just extend,the functionality of your application so,as you get more and more into your,Google sheets and building spreadsheets,using scripting allows you to do some,things that might not be readily obvious,you know or might allow you to build you,know more of an environment that you,know you can draw better conclusions,from or make more interactive so the,script editor can be open very easily if,in your spreadsheet if you go to tools,script editor that's gonna open a new,tab and you're gonna be right in the,script environment then and it's gonna,look something like this up at the top,you can see have your project name and,it's gonna start off as untitled project,you have your code file on the Left one,see it's code geass here and it's also,open and showing here so you can see,that in the bottom right area of your,screen you have buttons that you can use,to save so you've got an automatic,indentation button that's just going to,format your code really nicely you've,got a Save button,you've got triggers which we're gonna,get into later you have a Run button a,debug button and then you can select,your function you also have lots of,different menus that are going to,provide you lots of different options so,the one most important thing the very,particular thing that you should know is,that when you're writing code in Apps,Script Apps Script is very particular,about the instructions that you give it,so there's a way to do this there's a,way to do it that is accurate and if you,follow along with what we're doing in,our videos you should be okay but in,general you've got to be very particular,about the way you enter things so I'm,different different different keystrokes,different letters different formatting,just the different ways that you can do,things it can cause the your programs to,not work now you can always start over,you can always do it again it's not,really that big of a deal but in general,when you run into problems a lot of,times it's because there's a problem,with your syntax you know the way you've,entered your program,now we're gonna start off by using lager,and lager is just a really really simple,tool that we can use it's a simple,statement that we can tell the program,to execute and it's just gonna give us,some text back it's just gonna be,outputting something that we need to see,so once we output this text we can use,view logs to view the output pretty,simple then we're also
After seeing the eighth section, I believe you have a general understanding of Script Editor
Continue the next ninth section about Script Editor
hello everyone and welcome to a,beginner's tutorial for Apple script,Apple script is not necessarily a,programming language but it is a,scripting language that's built into the,Mac OS that I think is worth,highlighting the really cool things that,it can do in a series of tutorials like,I said it's built into the operating,system so all you have to do is go to,your Applications folder scroll down to,utilities and double click on Apple,script editor right here pop up in that,nice window there you have your just,main buttons at the top then this area,here is the area where your code will go,and this area on the bottom is just kind,of a results or output section where any,areas will appear and the results of,your script will or the output from your,script will appear I'm just going to,demo a really cool feature right now,okay so many of you who are familiar,with programming our scripting languages,and programming languages in general may,just expect say hello world or hello,this tutorial to print down here in the,results section however you'll be,pleasantly surprised that it does this,instead allow this is a general advice,about petroi I'll write it with a said,to Tory Oh,but as you can see it just pretty much,will say whatever you want even if you,spell it wrong now to compile and run an,Apple script you look a compile button,with that what that will do is they'll,go through and do like syntax,highlighting as well as maybe reveal an,error or two if you spelled something,wrong like say if you spelt that wrong,or just felt a base command wrong and,it's not highlighted that will catch it,instead of you running it and getting an,error so Apple script is just really,useful in a lot of ways like that's a,command you could use that to interface,with the user in a way that most other,applications just lack the ability of,doing or if they do have the ability,they just don't do it so just a really,cool attention-grabbing way to interact,with the user they're all script is also,really neat because it's integrated with,the operating system so you can do,things to the operating system that you,wouldn't normally be allowed to do for,example if we do tell application which,is just the basic way of interfacing,with any application on the computer,then you do an opening quote finder so,this is telling Peter I want to interact,with the program finder to quit,compiled that now everyone knows in a,Mac you can't quit finder you can tell,application finder to quit as you can,see all my icons over here went away and,a little light under finder disappeared,so yes it is indeed possible to quit,finder to relaunch it you just click,click finder like you would any other,application and you're right back up and,running again so you can do that with,the doc as well you can quit your doc,it's a little tricky but you can do it,another thing so that's just kind of the,basics of Apple script here in other,tutorials we will get into other things,like display dialogues which have the,
Congratulation! You bave finally finished reading Script Editor and believe you bave enougb understending Script Editor
Come on and read the rest of the article!
I am a shopify merchant, I am opening several shopify
stores. I use ppspy to find Shopify stores and track competitor stores. PPSPY really helped me a lot, I also
subscribe to PPSPY's service, I hope more people can like
PPSPY! — Ecomvy