Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

quietbamboo

macrumors newbie
Original poster
Oct 11, 2008
8
0
I want to write a script to launch safari with different urls automatically.
How can I do that in the terminal?
Currently, when I directly call mobilesafari in the terminal, it just hangs there?

What is the parameter format of safari app?
 
1. Open safari
2. Go to the web page you want.
3. Hit the + key at the bottom of the screen.
4. Select the Add to Home Screen option.
5. Move the new icon to whichever screen you want it on.
 
1. Open safari
2. Go to the web page you want.
3. Hit the + key at the bottom of the screen.
4. Select the Add to Home Screen option.
5. Move the new icon to whichever screen you want it on.
Are you sure you understand what I mean?
 
Maybe spell out what you're trying to do more clearly..... It sounds like you want a way to open Safari on different pages. Making shortcuts to those pages is the easiest way. If that's not what you're looking to do, then please clarify.
 
Maybe spell out what you're trying to do more clearly..... It sounds like you want a way to open Safari on different pages. Making shortcuts to those pages is the easiest way. If that's not what you're looking to do, then please clarify.
I want to have a script to launch safari 100 times with different URLs once in a minute.

Another question, where is your shortcuts stored?
I tried to "find / -iname blabla" but can't find the shortcuts in the iphone's file system
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.