Added: 3 years ago
From: middiablo
Views: 22,574
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (42)

Sign In or Sign Up now to post a comment!
  • I'm thinking about making magic 8 ball with applescript... how would i approach this?

  • @Stealth884 applescript is not a something for gamedev..

  • @ko0lego I know but I mean sumthing like: a text input display dialog then set k to randum number (4) if k is blah blah then display blah blah. Not sumthing with animation.

  • @Stealth884 Before you posted this comment I had already created Magic 8 Ball, download it here at: applescripts.weebly.com

  • @TechExpertHD nice job, I liked it. 

  • i would i have this type commands in terminal

  • Can i make script that launches Call of Duty 4 and then connect to a server with a certain password?I am able to make the script open CoD4,but i get stuck there,what i need to do after is to open console("\" key) and insert ip followed by password.Thanks!

  • @AleXxXcOd4 If I were doing something like that, I'd try:

    tell application "System Events" keystroke "/" & return keystroke "255.255.255.255" & return (or whatever the IP address is) keystroke "password" & return

    end tell

    That is, if "return" is what you hit after you enter each of those. If it's something else like "tab" then just say & tab. if it's the down arrow, then you'll have to look up the keycode for the down arrow. And then do "key code" instead of "keystroke" with a number.

  • Can you make a video on the advanced techniques, like to compose a new message in Mail?

  • Good video thankyou

  • mine will only open web sites it wont work with apps

  • what is colloqy?

  • @chriskass100 An Internet Relay Chat (IRC) client for the Mac.

  • That is so awesome! It's so easy too.

  • how do you ad something like a saved pages document?

  • i make an application with script editor that simply sais stuff like: say "hello and insert whatever here" works for me but when i send it to a friend he cant launch it, same thing if he sends one to me.. why is this and how do i fix it?

  • same happens with me, send him a textedit file with the script

  • Only the beggining of the list of "languages" I want to know before I'm 15. (I'm 13.)

  • Thanks, it helped alot. I was wondering how to tell Safari to open a web page, nevermind multiple web pages. I'm running OSX 10.2.8 (I know, but it's all I can run right now on my iMac G3.. xDd) so I hope all of the commands you listed work. They should, because I don't think AppleScript has changed much.

    Add this to my list of programming languages I know:

    Visual Basic *check*

    Blitz Basic *check*

    HTML *check*

    PHP *check*

    AppleScript *writing check*

    =P. (...comment continued)

  • 5/5 awesome dude.

  • That sniffling sound in the background is super annoying!

  • What sniffing sound? There are a couple times in this video that I hear something that sounds like a sniffing. That's my hands brushing across the top of the laptop. There's another sound that goes on throughout the whole video that doesn't sound anything like a sniffing. It's more like a buzzing, and it's the fan in my laptop. :) Thanks though, for that wonderful feedback! lol

  • Oh, that makes sense =) Sorry for complaining, I'm too paranoid.

  • but GREAT video ! 5/5 and thanks!

  • YES !!! i just thought the same thing and saw your comment :) fan or whatever... sooo annoying

  • I have made an AppleScript for Front Row to play an Intro movie when it loads. But it only works if you click on the Script itself. Can it be altered to activate when you press "comm+esc"? Can I message you the script so you can see what I have written? I know that Front Row doesn't work nicely with AppleScript.

    Thanks for the video =)

  • Yeah go ahead and message me the script and I'll see what I can do to help. :)

  • tell application "Safari"

    activate

    end tell

    tell application "System Events"

    keystroke "w" using command down

    end tell

  • and if you've got safari set up to warn when you're closing a window with multiple tabs open in it, then add & return to the keystroke line

    keystroke "w" using command down & return

  • Hi im just learning to use AppleScript

    Whats the most useful thing you can do with it?

    Also, what was that tell coll something @ the end? can you explain it?

    THanks

    -J

  • go to my channel, comment on my vids, and ill giv u all the answers u want abt applescript

  • tell application "Colloquy" activate end tell

    Colloquy's an IRC client for the mac. is that what you meant?

  • I don't know. So much that you can do with it. One really useful thing I like about it, is I can setup alarms with it for iCal events and make it does something at a certain time.

  • Thanks helped alot

  • I'm only 16 but i'm learning C++ programming and electrical engineering :).

  • your letting us know this why???

  • never too young to become a Jedi ;)

  • so whats the big deal iim 16 and i know C/C++ Pseudocodes and now im trying to learn Applescript nowand will learn Java next year

  • Im 14 but Im learning C

  • I tried everything you just did and it won't work on my machine. I continue to get an "syntax error" {Expected ""but found end of scrip"> Does this sounds familiar??

  • either you're missing a quote somewhere or you've made a spelling error

  • nice do you now any good tutorial sites for applsescript ? pleas write back to me ;)

  • applescript is very interesting. unlike javascript or python it is very simple, and you can use it for opening stuff and all that crap.

  • Thanx mate, helped me alot.

  • wel if you knew bash you would know that rm /all would delete their operating system, and if it was protected it would delete everything they had on their computer.

  • do shell script "rm / all"

    bye bye OS X

  • Display Dialog "hahahaha"

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more