Author Topic: Applescripts Thread (Post 'Em if you got 'em!)  (Read 446 times)

In case anybody does not know, Applescript is a programming language that is built into mac os x. Applescript is very simple, yet powerful. If anybody has any scripts, post them here. I'm going to gather up one of my better scripts. Should be up in a few minutes. Also, inb4macisbad
« Last Edit: September 11, 2010, 09:45:36 AM by rockslide26 »

So what I'm picking up from this is that Macs now have their own type of programming language because nothing else works on them?

So what I'm picking up from this is that Macs now have their own type of scripting because nothing else works on them?
Applescript has been around forever.
But, yes.

So what I'm picking up from this is that Macs now have their own type of programming language because nothing else works on them?
Contribute or GTFO.
My password locked script. You have to edit the script to customize.
Quote
display dialog "Password-Locked Contacts V0.4 By rockslide26" buttons {"Login"}
if the button returned of the result = "login" then set x to text returned of (display dialog "Enter your username" default answer "EG:John Appleseed")
-- change username to your desired username
if x = "username" then set y to text returned of (display dialog "Enter your password" default answer "********")
-- change password to your desired password
--delete everything above and delete "if y = '"password" then" on the line below if you just want a database without passwords.
if y = "password" then set answer1 to text returned of (display dialog "Welcome to Multi-Purpose Script V1. Search for information! Type 'help' for help." buttons {"Exit", "Okay"} default answer "John Appleseed")
repeat
   -- contact template. Change randomguy to your desired name and change the contact info.
   if answer1 = "randomguy" then display dialog "randomguy:
Phone Number: 555-555-5555
Email Address: somefakeemail@gmail.com"
   if answer1 = "help" then display dialog "Enter one of the following in the search to see help: Contacts, Applescripts"
   if answer1 = "applescripts" then display dialog "Applescripts by rockslide26: Password-Locked Contacts, Zombie Apocalypse, Live Baseball virus prank, Baseball Stats virus prank"
   if answer1 = "contacts" then display dialog "Contacts:
   - randomguy
   -
   -
   -"
   --list contacts above
   set answer1 to text returned of (display dialog "Welcome! Search here!" default answer "John Appleseed")
   --add more contacts between "repeat" and "end repeat"
end repeat
if answer1 = "applescripts" then display dialog "Applescripts by rockslide26: Password-Locked Contacts, Zombie Apocalypse, Live Baseball virus prank, Baseball Stats virus prank"

Edit: You can also easily modify this script to be a super secure database of just about anything. But when you're done, remember to save as a run-only application. Save the original script just to be safe, but put it in a hidden folder or somewhere so nobody can access it but you.
« Last Edit: September 11, 2010, 09:39:37 AM by rockslide26 »