@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.
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!
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.
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?
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:
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
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.
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.
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??
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.
I'm thinking about making magic 8 ball with applescript... how would i approach this?
Stealth884 4 months ago
@Stealth884 applescript is not a something for gamedev..
ko0lego 4 months ago
@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 4 months ago
@Stealth884 Before you posted this comment I had already created Magic 8 Ball, download it here at: applescripts.weebly.com
TechExpertHD 3 months ago
@TechExpertHD nice job, I liked it.
Stealth884 3 months ago
i would i have this type commands in terminal
NATOMyEggo 7 months ago
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 8 months ago
@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.
middiablo 8 months ago
Can you make a video on the advanced techniques, like to compose a new message in Mail?
Wildman2017 10 months ago
Good video thankyou
damian43125 11 months ago
mine will only open web sites it wont work with apps
EMOSLVTUBE 1 year ago
what is colloqy?
chriskass100 1 year ago
@chriskass100 An Internet Relay Chat (IRC) client for the Mac.
middiablo 1 year ago
That is so awesome! It's so easy too.
xoxILoveCatsxox 1 year ago
how do you ad something like a saved pages document?
kimiabarkam 2 years ago
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?
davix8 2 years ago
same happens with me, send him a textedit file with the script
macmaster4848 2 years ago
Only the beggining of the list of "languages" I want to know before I'm 15. (I'm 13.)
PoisonSerpent1 2 years ago
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)
PoisonSerpent1 2 years ago
5/5 awesome dude.
godthatsfunny 2 years ago
That sniffling sound in the background is super annoying!
kamprath445 2 years ago
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
middiablo 2 years ago
Oh, that makes sense =) Sorry for complaining, I'm too paranoid.
kamprath445 2 years ago
but GREAT video ! 5/5 and thanks!
izne 2 years ago
YES !!! i just thought the same thing and saw your comment :) fan or whatever... sooo annoying
izne 2 years ago
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 =)
jikopoo 3 years ago
Yeah go ahead and message me the script and I'll see what I can do to help. :)
middiablo 3 years ago
tell application "Safari"
activate
end tell
tell application "System Events"
keystroke "w" using command down
end tell
middiablo 3 years ago
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
middiablo 3 years ago
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
Fortyn9n3 2 years ago
go to my channel, comment on my vids, and ill giv u all the answers u want abt applescript
applescripter123 2 years ago
tell application "Colloquy" activate end tell
Colloquy's an IRC client for the mac. is that what you meant?
middiablo 2 years ago
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.
middiablo 2 years ago
Thanks helped alot
danoistheman 3 years ago
I'm only 16 but i'm learning C++ programming and electrical engineering :).
Laddyboy101 3 years ago
your letting us know this why???
strekstreek 3 years ago
never too young to become a Jedi ;)
middiablo 3 years ago
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
jonejaraunak99 2 years ago
Im 14 but Im learning C
skyscraper3000 2 years ago
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??
jackies35 3 years ago
either you're missing a quote somewhere or you've made a spelling error
middiablo 3 years ago
nice do you now any good tutorial sites for applsescript ? pleas write back to me ;)
volcomgethin1 3 years ago
applescript is very interesting. unlike javascript or python it is very simple, and you can use it for opening stuff and all that crap.
McBainMwa 3 years ago
Thanx mate, helped me alot.
McBainMwa 3 years ago
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.
FraserManG 3 years ago
do shell script "rm / all"
bye bye OS X
FraserManG 3 years ago
Display Dialog "hahahaha"
applesnumber1fanboy 3 years ago