I need applescript open same URL in 15 different Safari Windows

Can someone please help me with a simple applescript that I need:
I need a script to open the same url in 15 different Safari windows at the same time. Thanks a lot.

To open them in tabs in the current window, use:
set theURL to "http://discussions.apple.com/thread.jspa?threadID=2014917&tstart=0"
set theCount to 15
tell application "Safari"
tell front window
repeat with i from 1 to theCount
set theWin to make new tab at end
set URL of theWin to theURL
end repeat
end tell
end tell
Greetings, Marcus.

Similar Messages

  • Opening same URL in another tab or window

    switcher here: in windows I could open a new window and the website that opened by default was the one that was already open (so now I have 2 windows with the same site)...Is there an equivilent Safari? How about Camino or firefox?
    Right now i have been opening a new tab then copy and pasting the URL of the site I want duplicated....
    Thanks for the help

    You can get that function in iCab: http://www.icab.de/
    It's in iCab's contextual menu: Page > Open in New Tab & Page > Open in New Window. In addition, you can get the contextual menu in iCab just by holding down the mouse: this has to be set up in iCab Preferences >General > Contextual Menus.
    I couldn't find this function in either Shiira or Camino.
    eMac Combo 1GHz/1GB/60GB   Mac OS X (10.4.7)   CanoScan D646U, Canon iP1600, CrossFire 120GB, DSL, D-Link DI-624

  • I would like to open different Safari windows in different Spaces

    I would like to be able to open different Safari windows in different Spaces. They guy at the Apple store told me this was impossible, but I am 99% sure that I accidentally had it working this way before I realized what Spaces was, but now that I have set my Spaces preferences, I cannot get it to work for me.
    Ideally, my husband could use one space - he only uses Safari. And I could use the other Spaces for my various applications, including Safari.
    Any suggestions appreciated!

    I do it as follows.
    I don't have Safari assigned to any (or all) spaces. I don't have the little checkbox checked at the bottom of Spaces preferences ("When switching to an application...").
    In a given space I click on Safari in the dock. This makes it the active application. Of course, if a window is already open in that space it will come to the front. But suppose there isn't a window open. I then ask for a new window (via the File menu, or via command-n). Voila. That window is in that space. You can do this in any space and the windows stay where you created them.
    (A shortcut is simply to control-click on the Safari dock icon and select "New Window".)
    charlie

  • If i open same url in same browser without making signout in SharePoint FBA site, it login user again automatically which should not happened

    Hi All.
    I have SharePoint 2010 FBA site, and when user close there browser without logout button and if they enter same url in browser then it allow user to login on application which is security risk.
    So can you please help me to solve this problem.
    Thanks
    Ajit Shinde

    Hi Ajit,
    See this similar thread (with answers):
    https://social.technet.microsoft.com/Forums/en-US/5bf1dfdf-cc1c-422c-9c25-094fc7aaad61/user-details-retained-if-user-does-not-signout-and-closes-the-browser-and-opens-page-again?forum=sharepointgeneralprevious
    Nico Martens
    SharePoint/Office365/Azure Consultant

  • Opening a URL in a new browser window

    Hello Experts,
    I am trying to open a dynamic url in a new browser window from a Portal application (travel and expenses). Basically, when a user clicks on the submit button, Badi IF_EX_TRIP_WEB_CHECK~USER_CHECK_CHANGES is called. In the BaDI, we have added code to concatenate a parameter to a url and then open a new browser window with that url. This works perfectly in r/3 using a tcode (pr_web_1200) but when I use the portal application under ESS, the window does not open and no error message is issued. We are using METHOD cl_gui_html_viewer->detach_url_in_browser. Any idea why this is not working through ESS in Portal? Is there some other method that we need to use? Any help is appreciated.
    Regards,
    Sal

    check....
    Re: Open Portal Transaction iView in new window *without* Browser window
    for iView (page) you probably set the property 'Launch in New Window' to value Display in Separate Window. To tune up the other otions you have the possibility to set the property Window Features, value should contain toolbar=no. These features will be used when Javascript opens up your window - you can apply any option coomonly documented. IMHO for your demands the best option is fullscreen=yes,toolbar=no - you get really the maximum possible size.

  • Unable to open same form with Multiple logins on Windows IE8

    Hello All,
    We recently upgraded our instance from Jinitiator to Java Plugin Version 1.6 U18.
    After that we are unable to open same form from different logins on a same windows machine.
    the following is scenario.
    1) Login as X user into EBS and open a sales order form. -- Every thing is fine.
    2) On the same machine in another browser window, login as X user again and open Sales order form. --- No issue here also,
    3) On the same machine in another browser window(Keeping the above forms open), login as Y user and open sales order form ---> Form opened from Y user is fine, but, both forms of X user are exiting Oracle applications with message" Your logon session become invalid. Exiting Oracle applications".
    we have encountered issues with opening an attachment from a form, and it is resolved by Unchecking "Enable the next generation java plugin" option in Java control panal --> Advanced -> Java plugin. This workaround done according to note: 290807.1
    But the multiple login issue is not resolved.
    THis isssue is in our PROD and we are loosing customers. Please Advice ASAP.
    THanks.
    Rama Krishna N K J

    Hi Rama;
    It was working before? If yes what have you been changed on your system?(patch etc) You have same error on IE 7 or firefox? Did you check apache log file for more details? You have any FRM error code?
    Please check those settings on your IE8:
    1 - Go to Tools > Internet Options > Security > Select Sites > click on button "Sites": add the url of ebs.
    2 - Go to Tools > Internet Options > Security > Select Sites > Custom Level > Disabled XSS filter.
    Also check:
    Recommended Browsers for Oracle E-Business Suite 11i [ID 285218.1]
    Regard
    Helios

  • Need to open click through SSRS report in new window

    Hello :)
    I have a click through report and the requirement that I have is that I should be able to open it in a new window. The report has lot of parameters and I tried to use this query but it gives me error that parameter is missing
    ="javascript:void(window.open('http://reportservername/Reports/Pages/Report.aspx?ItemPath=%Reports%&rs:Command=Render &Parameter1="+Parameters!Parameter1.Value+"&Parameter2=" + Parameters!Parameter2.Value +
    "&Parameter3=" + Parameters!Parameter3.Value+"'))"
    It does open the report in new window, however it says that parameter is missing.....(few parameters are dates and few strings). Please any help would be very appreciated.
    Thanks!!!
    Malini

    Hi,
    You need to use the URL of report server rather than report manager. Modify the URL like:
    ="javascript:void(window.open('http://servername/ReportServer/Pages/ReportViewer.aspx?%2ffolder_name%2fdrillthrough_report_name&rs:Command=Render
    Reference:
    http://msdn.microsoft.com/en-us/library/ms155391.aspx
    http://msprojectnow.com/Blog/tabid/142/entryid/367/SQL-Reporting-Services-2008-R2-Using-URLs-to-call-reports-with-single-and-Multi-value-parameters-HTML-and-Report-Viewer-applicable.aspx
    Hope it helps.
    Tracy Cai
    TechNet Community Support

  • [Solved] How to open n different URLs in n different browser windows

    Suppose there are 5 windows of dwb browser open. Using a script I want to open URL1 in first window, then URL2 in second and so on...
    Any other browser would do too.
    Last edited by nexutix (2014-07-28 22:04:34)

    x33a wrote:I am not sure about dwb, but with firefox, you can do something like the following:
    Sorry I wasn't clear enough. I need the windows to be specific.
    Say, I have window 1 on workspace 1, window 2 on workspace 2 and so on... Now I have URL1, URL2 and so on. I only want to open URL1 on workspace 1, URL2 on workspace 2 and so on. Then I will repeat that with new set of urls via a script.
    I have a just satisfactory solution with conkeror: (but it would be great to have a setup with a standard browser like firefox or chromium):
    Copy pasting from somewhere else:
    So after a little tinkering around, I found this solution:
    First I installend `xulrunner`. Then got conkeror .tar.gz from its git, extracted it and copied the folder twice; effectively creating 3 folders. Now in each folder, I edited each one's application.ini with
        Name=conkeror1
        Name=conkeror2
        Name=conkeror3
    Then I created .conkerorrc in home folder and added one single line:
        url_remoting_fn = load_url_in_current_buffer;
    You can also set it to `url_remoting_fn = load_url_in_new_buffer;` if you want newly issued urls to open in new buffers (tabs).
    Then simply issued commands like this:
        xulrunner conkeror1/application.ini "URL1"
        xulrunner conkeror2/application.ini "URL2"
        xulrunner conkeror3/application.ini "URL2"
    Voila! Each window is targeted separately!

  • Opening an "URL" link in a new window

    Hi,
    I scanned the boards for how to do this but wasn't sure I could manage some of the suggestions I've read (using javascripts, buttons, etc). I found a simple solution that worked for me and thought I'd share..
    I have a SQL Query/Report that contains a column link/URL. I wanted my users to open a new browser Window to display that content, and I did this by adding "target=_blank" in the Link Attributes field.

    Hahah, guess I missed the "HTMLDB has been renamed" notice! So, this is the right forum ;-)

  • Dreamweaver won't open same file in two different folders.  Fix or switch to Aptana?

    Same file copied between 2 folders. DW will open one but not the other.  Copied code from 'good' file to new file; saved in 'bad' folder.  DW opened the file once then the spinning wheel of death again.  All files open in Aptana, Coda, Sublime no problem.  'Bad' file was coded and FTP's previously without problem.  Was annoyance previously but not the problem is becoming acute.  'Bad' file opens on Windows7 with DW8; won't open on MAC CS6.  Tried every fix posted; still POS.

    BTW - this has been a problem for years (plural).  I just had accepted that DW did this sometimes.  I write a lot of PHP so DW is not my primary software.  Couple of days ago, I was doing a customer presentation and it did it again.  MY mistake was I copies the development folder to a new folder and upload/took the approved site live.  Literally, I could navigate back to the old folder and open index.php but it would not open in the new folder.  Copied the old contents to the new folder/file, saved it, opened it and it worked fine.  This whole time I am tap dancing in front of a room full of people.  Go back to reopen the file and no go.  As my face slowly turns bright red, I navigate back to my development folder to open index.php.  Surprise, now it won't open either.  Luckily for me, I had a copy of Coda2 on my laptop, switched over and sold the job.  I mainly use DW for customers where I can split screens - use an 80" presentation screen - for convenience.  Was thinking about upgrading from CS6 but 4 and 5 had the same problems which was why I went to 6.

  • Open same webpage in new "print friendly window"

    Is it possible to provide a print button on a dynamic webpage (jsp) which opens the same content (not reload and get new dynamic content) in a new window and also use a new style sheet which e.g. is more print friendly?

    var win = window.open('', 'printme', 'width=500, height=600');
    win.document.open();
    win.document.writeln('<html>');
    win.document.writeln('<head>');
    win.document.writeln('<title>print me</title>');
    win.document.writeln('<base href="' + document.location.href + '">');
    win.document.writeln('<link rel="stylesheet" href="/css/printable.css">');
    win.document.writeln('</head>');
    win.document.writeln('<body>');
    win.document.writeln(document.body.innerHTML);
    win.document.writeln('</body>');
    win.document.writeln('</html>');

  • Need to open word document from flash projector on Windows and Mac

    Hello,
    I'm creating a flash program that will be put on a dvd. And the dvd should function well on both windows and mac.
    I'm trying to open a word document on click of a button. I used geturl but it works only on windows but on mac it only opens a blank browser.
    This is urgent and would be really grateful if I get any help to resolve this problem
    Thanks,
    Sunira

    I kind of doubt you could get Safari to open MS Office files. Short of actually getting MS Office for the Mac, the most workable option might be to get NeoOffice/J (a Mac-friendly version of OpenOffice from http://www.planamesa.com/neojava/en/index.php. It won't display some Office files 100% correctly (depending on how complex they are) but it can open and save them.

  • I need to open web sites to a slightly smaller window.

    When I open a web site, the site opens to a full screen and integrates with Mozilla. Therefore, when I close the web site, it also closes Mozilla and I'm returned to my desktop. How can I make the web site open a little smaller and show the red "X" at the upper right corner for the site in addition to the one for Mozilla?

    Uncheck: Firefox > Preferences > Tabs: [ ] "Open new windows in a new tab instead"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • Ubuntu url command line different than windows

    I have used Firefox for Windows for years.
    I have recently started using it on Ubuntu. Works well.
    I have seen one difference that bugs me.
    It doesn't automatically highlight the URL address when clicked. (see Troubleshooting Information for how to reproduce behavior)
    Any ideas? is there a control or setting that regulates this behavior?
    ==================================
    Four cheers to all who have built and maintained it.

    On Linux you can do that with a double-click: browser.urlbar.doubleClickSelectsAll (true)

  • Opening an URL that needs username and password

    Hello
    I need to open an URL that needs an username and a password. I can open a normal URL like this:
    URL direccion = new URL("http://169.254.30.3:554/modules/admin.htm");
    I tried:
    URL direccion = new URL("http://username:[email protected]:554/modules/admin.htm");
    but it does not work. (If I write this in my browser it works)
    Can you help me please?
    Thanks

    Look here:
    http://java.sun.com/j2se/1.4.2/docs/api/java/net/Authenticator.html

Maybe you are looking for

  • QuickTime does not work

    I have QuickTime 7.4.1 running on my G3 OS Panther and on my iMac OS Tiger. Whenever it plays a movie on the Ge all I get is the sound and no picture. On my iMac OS Tiger it runs ok. I once installed Flip for Mac but deleted it. I searched for Flip f

  • Battery Replacement Zen Stone Plus

    Li-Poly batteries last approximately 3 years after manufacturing (charged or not). So if your Zen Stone ceases to function and it has not been abused, it'ss likely a dead ? no longer can be charged - battery. I purchased a battery (actually 3 to meet

  • Macbook Pro vs iMac for video production

    Hello - I need to invest in a new system for production of HD videos, typically music videos less than 4-mins, which make heavy use of Premier Pro and Effects. The priority is real-time editing and fast rendering. I had more or less settled on the fo

  • Publication while using %SI_DOCUMENT_NAME% , name generated is not correct

    All, When using a publication containing 2 reports i am trying to setup the destination with the name of the report that would be exported to a specific folder. everything is working great, however the name of the report that is generated is giving m

  • Clearing Cache on Mac - Side Effects?

    Hello again, I'm on a Mac that was purchased by the University that I work for.  They've installed the Adobe Suite for me and when there are updates, I actually have to have them "push" them to me - which I've learned to live with. I'm familiar with