Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Where's good Applescript Forum?

Where's good Applescript Forum?
Thread Tools
Professional Poster
Join Date: Feb 2001
Location: always on the sunny side
Status: Offline
Reply With Quote
Nov 12, 2002, 09:49 PM
 
Trying to develop a script to open several URL's when I login. I'm having a little trouble.

Where's a good Applescript forum where I can get some help? Thanks.
     
Mac Elite
Join Date: May 1999
Location: San Jose, CA
Status: Offline
Reply With Quote
Nov 12, 2002, 10:23 PM
 
MacScripter.net tries to be a central repository for all things AppleScript, and it does an OK job, although seems to be more static info (file downloads, etc.) and their discussion forum isn't very active.

On the other hand, you can always post your question here. There's a few AppleScripters here that might be able to help.

What specific tasks are you trying to achieve, and what's not working in your existing script?
Gods don't kill people - people with Gods kill people.
     
vmpaul  (op)
Professional Poster
Join Date: Feb 2001
Location: always on the sunny side
Status: Offline
Reply With Quote
Nov 12, 2002, 10:35 PM
 
Originally posted by Camelot:

On the other hand, you can always post your question here. There's a few AppleScripters here that might be able to help.

What specific tasks are you trying to achieve, and what's not working in your existing script?
Thanks. I saw this example in MacWorld about a script that would open your browser and a specific URL. It works for one window but I'd like to have Explorer open several windows with a different URL in each. The article mentions it but isn't specific enough.

Here's the script:

try
tell application "Internet Explorer"
OpenURL "http://forums.macnn.com/usercp.php?s="
OpenURL "http://maccentral.com/"
Activate
end tell
end try

It just opens each URL serially. One after another in the same window.

Thanks for the help. I'm a real Applescript novice.
     
Professional Poster
Join Date: Oct 2001
Location: London
Status: Offline
Reply With Quote
Nov 15, 2002, 07:29 PM
 
I was going to suggest "make new window with URL…" (or something like that) but looking in IE's dictionary (Project Builder has rather a nice way to do this) gave me this:

OpenURL: Retrieves URL off the Web.
OpenURL string -- Fully-qualified URL
[to file specification] -- Target file for saving downloaded data
[toWindow integer] -- Target window for resource at URL (-1 for top window, 0 for new window)
[Flags integer] -- Valid Flags settings are: 1-Ignore the document cache; 2-Ignore the image cache; 4-Operate in background mode.
[FormData anything] -- data to post
[MIME Type string] -- MIME type of data being posted

so you could use:

"
tell application "internet exploder"

OpenURL http://www.foo.com toWindow 0

end tell
"
You know it makes sense. ☼ ☼ ☼ Growl.
     
vmpaul  (op)
Professional Poster
Join Date: Feb 2001
Location: always on the sunny side
Status: Offline
Reply With Quote
Nov 16, 2002, 11:39 AM
 
Originally posted by Diggory Laycock:

so you could use:

"
tell application "internet exploder"

OpenURL http://www.foo.com toWindow 0

end tell
"
I actually got the same advice on another forum. I looked at the dictionary but I was putting the 'toWindow 0' under the URL. It didn't work that way.

Finally someone straightened me out and I got it working.

Thanks for the reply though.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:20 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2