Fortyn9n3 said "...how do i make i dialog box pop up when i launch a certain program" on idle if application "Safari" is running then display dialog "Click button OK to open iPhoto." buttons {"Cancel", "OK"} if the button returned of the result is "OK" then tell application "iPhoto" to activate end if return 5 end if end idle Save as a Stay open Application. Add to Login Items.
Paste this into ScriptEditor. on idle if application "Safari" is running then tell application "iPhoto" to activate return 5 end if end idle (The number "5" is seconds the script checks Safari.) Save this as an Application in ScriptEditor, put a tick the box "Stay Open" in the save dialog box. Add it to Login Items for your home account in Accounts => System Preferences. if you Quit iPhoto but not Safari, iPhoto will continue to re-launch until you Quit Safari or the applescript app.
So if I have a script that allows me to play a certain song on itunes, do you know how I can make that into a speakable command?
eROCtele 4 months ago
the intro looked like 2012
BlueZews 5 months ago
it wasnt a good idea to run that:
beep 4000
Ludavid121 7 months ago
Can I make a character aoutowalk or something in games? and can i use it liek a keylogger?
tibiaowned1 10 months ago
i accidently put the number of beeps to 11111. Oh the agony D:
shakeymoomoo 1 year ago
how do you make the scrip open at a time like every 30 min and how do you make a application close thanks so much great video
thebob7255 1 year ago
why does everybody just show the basics of applescript
AtomicPhotography 1 year ago
how do you utilize the computer's camera and microphone?
Euphemic 1 year ago
Macs are sweet but they dont compare to batch :D
indago9 1 year ago
how do i make a box which i can type in appear in a dialog box?
skullnbonesquid 1 year ago
golden0cards0 1 year ago
i have an apple computer at school do u know how i can get into it without permission of a teacher?
lebronbush5 2 years ago
sneak...
supern00b25 2 years ago
Would anyone know how to make the mouse click at specific intervals in a certain spot multiple times?
ettium 2 years ago
How do I make a script in apple script that makes one program when another is opened
ex: when safari is opened, run iphoto
Fortyn9n3 2 years ago
if you mean close safari and open iphoto use this:
Activate app "safari"
quit app "safari"
activate app "iPhoto"
end tell
macmaster4848 2 years ago
Lol for a little fun do:
say "Hello World"
display dialog "" buttons {"Hi"}
say "hi"
fruitdoodproductions 2 years ago
THANKS
L1veToW1n 3 years ago
thanks for the tutorial. Its hard to find these.
firewolf34 3 years ago
could you copy the code's in the description please :$ i can't read it and i speak dutch so i can't understand wich characters you use,, thanks
bengoevaerts 3 years ago
The code I used is:
(*
This is a multiline
comment
*)
-- This is a single line comment
beep 3
display dialog "hello world"
beep 3
osxnerd 3 years ago
how do i make a program launch when another program launches like when safari runs, then run iphoto
and also how do i make i dialog box pop up when i launch a certain program
can you give me the code for this?
thanks
Fortyn9n3 2 years ago
golden0cards0 1 year ago
This has been flagged as spam show
heres some dutch for you! FUCK YOU
PkVidSaver 3 years ago
@bengoevaerts I'm dutch too and i understand it :S but i've been looking at many many many tutorials so i understand what people try to say
lofhy 1 year ago
iShowU has been used to do the screen recording.
osxnerd 3 years ago
THX. Great job on the movie. :)
dbflyboy917 3 years ago
You should try the program Screenflow. I have been using it and it is very good :)
chadt4 3 years ago 2
The lound music at the beginning, made me lower the volume. After that, I had to raise it again, to understand you.
YTMrVulcan 3 years ago 4
you can use a single line comment by (* fdgsdafg *) its just more common
applesnumber1fanboy 3 years ago
nice planet explode at the beginning ;)
assassin3004 3 years ago
Hey - nice job - but is there any chance of doing some advanced applescript sharing ideas ? in particular - any interaction with microsoft word ?
thanks
markmorgan10 3 years ago