Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Applications > Mac Applications and Mac App Store

Reply
 
Thread Tools Search this Thread Display Modes
Old Feb 28, 2012, 06:29 AM   #1
LeandrodaFL
macrumors 6502a
 
LeandrodaFL's Avatar
 
Join Date: Apr 2011
How to use Automator or Apple script?

Iheard you may use one or maybe these 2 applications to do things automatically and save time.

For example, everyday when I turn on the computer, the first thing I do is check messages and therefore I open 7 tabs and go to my email webpage, ebay, facebook, forums, and I also check some news webpages.

I dont want to have to type everyday anymore, I want my mac to automatically go to them when it start ups. how do I do that?
LeandrodaFL is offline   0 Reply With Quote
Old Feb 28, 2012, 06:59 AM   #2
Angelo95210
macrumors 6502a
 
Angelo95210's Avatar
 
Join Date: Jan 2009
Location: Paris, France
So Automator is for you. AppleScript is a bit more advanced and complicated. Just program your actions in Automator with drag and drop and this should do it.
__________________
Hackintosh G31M-S2L - Macbook 3,1
Angelo95210 is offline   0 Reply With Quote
Old Feb 28, 2012, 06:59 AM   #3
Ccrew
macrumors 68000
 
Join Date: Feb 2011
Might want to look at an app called Alfred, with the available powerpack. It will do a lot of what you're asking, without having to write scripts...

http://www.alfredapp.com/powerpack/
Ccrew is offline   0 Reply With Quote
Old Feb 28, 2012, 09:18 AM   #4
GGJstudios
macrumors Westmere
 
Join Date: May 2008
Quote:
Originally Posted by LeandrodaFL View Post
For example, everyday when I turn on the computer, the first thing I do is check messages and therefore I open 7 tabs and go to my email webpage, ebay, facebook, forums, and I also check some news webpages.

I dont want to have to type everyday anymore, I want my mac to automatically go to them when it start ups. how do I do that?
Simple. When you have those 7 tabs open, click Bookmarks > Add Bookmark for These 7 Tabs and save the folder to your Bookmarks Bar. Then when you launch Safari, right-click on that folder and select "Open in tabs".
GGJstudios is offline   1 Reply With Quote
Old Feb 28, 2012, 03:52 PM   #5
LeandrodaFL
Thread Starter
macrumors 6502a
 
LeandrodaFL's Avatar
 
Join Date: Apr 2011
Automator is Korean to me

I use firefox, hate safari. I also need to open some open office files, so makiing everything automatic would be great.

Can anyone give me some explanation on how to use it? Are there videos from apple?
LeandrodaFL is offline   0 Reply With Quote
Old Feb 28, 2012, 05:08 PM   #6
Weaselboy
macrumors G5
 
Weaselboy's Avatar
 
Join Date: Jan 2005
Quote:
Originally Posted by LeandrodaFL View Post
Automator is Korean to me

I use firefox, hate safari. I also need to open some open office files, so makiing everything automatic would be great.

Can anyone give me some explanation on how to use it? Are there videos from apple?
You can use Applescript to do this.

Open the Applescript Editor and paste in the below code. Substitute/add whatever web sites you want to visit each morning. Then click save in the menu and save the Applescript as an application in your Applications folder. Then you can put the app in your dock and just click it when you want to open the web pages. Or you could add the new app to your login items and it would open on its own when you login.

Code:
open location "http://www.cnn.com/"
open location "http://www.google.com/"
Weaselboy is offline   -1 Reply With Quote
Old Feb 29, 2012, 06:57 AM   #7
LeandrodaFL
Thread Starter
macrumors 6502a
 
LeandrodaFL's Avatar
 
Join Date: Apr 2011
Quote:
Originally Posted by Weaselboy View Post
You can use Applescript to do this.

Open the Applescript Editor and paste in the below code. Substitute/add whatever web sites you want to visit each morning. Then click save in the menu and save the Applescript as an application in your Applications folder. Then you can put the app in your dock and just click it when you want to open the web pages. Or you could add the new app to your login items and it would open on its own when you login.

Code:
open location "http://www.cnn.com/"
open location "http://www.google.com/"
I larady have Firefox to open at loging, but I want it to automaticaly go to the 8 diferent webpages.

In adition, I would like 3 different text editor documents to open too
LeandrodaFL is offline   0 Reply With Quote
Old Feb 29, 2012, 07:11 AM   #8
Weaselboy
macrumors G5
 
Weaselboy's Avatar
 
Join Date: Jan 2005
Quote:
Originally Posted by LeandrodaFL View Post
I larady have Firefox to open at loging, but I want it to automaticaly go to the 8 diferent webpages.

In adition, I would like 3 different text editor documents to open too
That is fine. Just make sure you go to Safari prefs and set Firefox as your default browser and the Applescript will open the sites from the script. Just add all eight to the list like in my example.

Then add the below code to the same Applescript for your textedit docs. Change "yourname" and "filename1.txt" as needed.

Code:
tell application "TextEdit"
activate
open "Users:yourname:Documents:filename1.txt"
end tell
Weaselboy is offline   -1 Reply With Quote

Reply
MacRumors Forums > Apple Applications > Mac Applications and Mac App Store

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Using Automator / Apple script to run OCR retrospectively duffel7 Mac Basics and Help 3 Jun 21, 2014 06:30 PM
How to ask for variable and pass to shell script in automator? zBernie Mac Programming 1 May 2, 2014 10:58 PM
Automator script not running at every login? Risco OS X Mavericks (10.9) 0 Apr 21, 2014 02:03 PM
Apple automator script nepentanova MacBook Pro 2 Mar 6, 2014 02:06 AM
Need help with Apple Script/Automator ashameer Mac Programming 1 Feb 10, 2013 05:50 PM

Forum Jump

All times are GMT -5. The time now is 05:18 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC