FANDOM


tell application "Microsoft Excel"
   Activate
   close ActiveWorkbook saving ask
end tell


tell application "Finder"
    empty trash
end tell

tell application "FileMaker Pro"
    Duplicate Record 1
end tell

tell application "StuffIt Expander"
    Expand "archive.sit"
end tell


The power of AppleScript comes from combinations of commands for more than one
application. For example the following commands: 

tell application "StuffIt Expander"
    Expand "archive.sit"
end tell
tell application "Finder"
    move "archive.sit" to the trash
    empty trash
end tell






on zip(fileList, folderSpec)
	tell application "ZipIt"
		New window
		Add fileList
		Compress to folderSpec
		Close window
	end tell
end zip

on unzip(zipFile, toFolder)
	tell application "ZipIt"
		open zipFile
		Select All
		Extract into toFolder
		Close window
	end tell
end unzip


set theURL to the clipboard
tell application "Netscape"
  activate
  GetURL theURL
end tell


tell application "Netscape"
  activate
  set outputFile to (path to desktop as string) & "myfile.html"
  GetURL "http://www.lib.ncsu.edu/staff/morgan/" to file outputFile
end tel


Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.