How to tell Safari to open and save a web page

While on vacation, I would like to save a daily puzzle that occurs on a web site that uses the same URL for each new puzzle. Using the Energy Saver Preference panel, I can schedule a daily start up and shut down and add Safari to the Login Items. How would I tell Safari to open that URL and then save the web page to the Desktop?

Ralphjh,
An Automator workflow can save the page in a web archive format:
First download the Save Safari Web Archive workflow.
I would add two additional actions at the beginning of the workflow, each from Automator's Safari library, so that your final workflow would look like this:
1) *Get Specified URLs* -- Deselect or use the minus sign to remove the default www.apple.com address. Open your puzzle page in Safari, make it frontmost, and click on the Current Safari Page button.
2) *Display Webpages*
3) *Run AppleScript* -- No need to modify the existing script.
4) *Get Selected Finder Items*
5) *Move Finder Items* -- The desktop is default.
Save the Workflow as File Format: application, and add it to your Login Items.
It all may be for naught however. I suspect that upon your return from vacation, you'll be disappointed to find that opening any one of the saved files will only result in opening the current day's puzzle. For example, on Tuesday April 29th, the puzzle linked from the URL you posted opened the puzzle for +that day,+ Puzzle Number 760. A quick look at the 30 Day Killer archive (scroll down the page) reveals that each day's puzzle has its own URL. The actual URL for Puzzle Number 760 is:
http://www.sudoku.org.uk/DailyKiller.asp?day=29/04/2008
You'll notice that the URLs for the individual days' puzzles in the Killer Archive differ only in the dates appended to them. You would likely need to find a way to incorporate that pattern into an AppleScript -- correlating the current date to the updated URL.
Regards, Andrew99

Similar Messages

  • How can I get the "Open" and "Save As" dialog boxes to open at larger than their default size?

    How can I get the "Open" and "Save As" dialog boxes to open at larger than their default size?  I would like them to open at the size they were previously resized like they used to in previous operating systems.  They currently open at a very small size and the first colum is only a few letters wide necessitating a resize practically every time one wants to use it.  Any help would be appreciated.

    hi Prasanth,
    select werks matnr from ZVSCHDRUN into table it_plant.
    sort it_plant by matnr werks.
    select
            vbeln
            posnr
            matnr
            werks
            erdat
            kbmeng
            vrkme
            from vbap
            into table it_vbap
            for all entries in it_plant
            where matnr = it_plant-matnr and
                  werks = it_plant-werks.
    and again i have to write one more select query for vbup.
    am i right?

  • HAVE ONE WEB PAGE OPEN AND SUDDENLY ANOTHER WEB PAGE OPENS

    I can have one web page open and suddenly another web page will pop up. Why? It doesn't happen all the time. Like I said suddenly.

    Another thing you can try doing is scanning for Malware:
    Download and Install MalwareBytes Anti-Malware, run a full Scan. [http://www.malwarebytes.org/ http://www.malwarebytes.org/]
    Download and Run TDSSKiller [http://support.kaspersky.com/faq/?qid=208283363 http://support.kaspersky.com/faq/?qid=208283363]
    Download and Install Microsoft Security Essentials [http://windows.microsoft.com/en-US/windows/products/security-essentials http://windows.microsoft.com/en-US/windows/products/security-essentials] (not an official endorsement, but I personally recommend MSE as an awesome permanent anti-virus)
    Double check for all Windows Updates.
    What is the website that opens up? Is it always the same, always different, one of a few, etc?

  • How to withdraw a wrong open and save of a structured fm file in unstructured mode?

    I opened a structured fm file wrongly in unstructured mode and saved it. When I opened this fm file again in structured mode, the structure view has been blank. Does anyone no how to withdraw this?

    Dragon,
       To expand slightly on what Alex and Russ have said, whenever you delete content from a FrameMaker document  and save the result, the deleted content is gone. It doesn't matter whether the deleted content is the element hierarchy or text and graphics in the document. A recent backup, whether a version of the file that you explicitly saved or one created by FrameMaker's automatic backup, is
       Alex mentioned that a conversion table might help recreate the document's element structure. His comment assumed that a conversion table was used somewhere in the history of this document. Whether or not that is the case, you can create a new conversion table specifically for this document. If you haven't looked at conversion tables yet, a conversion table is a FrameMaker table that describes how to use tagging in an unstructured document to create an equivalent structured document. How successfully it creates the desired structure depends very much on the nature of the tags used in the unstructured document and the desired element structure.
        --Lynne

  • Safari always opens at the last web page viewed. How can I make google the default opening page?

    On my iphone 4, safari always opens at the last page viewed. Does anyone know how I can set it to always open at google?

    You can't but you can navigate to Google and add that to your homescreen as a shortcut.  Press the arrow on the bottom.

  • Since upgrading to Lion, Safari always opens to the last web page opened regardless of the preference settings.

    Since the upgrade I cannot get Safari to open to the page selected in preferences.  I also find that all previously opened windows reopen when Safari is reopened.  How do I fix this?

    Open General preferences and uncheck the option to "Restore windows when quitting and re-opening apps."
    Applications will resume after restarts. If you wish you can change that behavior:
    It's the Resume feature of Lion:
    Managing Mac OS X Lion's application resume feature.
    If you shutdown your computer you should get a dialog asking if you want applications to resume on the next startup. Simply uncheck the box to prevent that from occurring. Open General preferences and uncheck the option to Restore windows when quitting and re-opening apps. You can also install a third-party utility to control resume features on individual applications: RestoreMeNot or Application State Cleaner.

  • How to set Links to Folders and Users in Web Page Composer???

    Hello,
    With the Link List editor in the WPC you can create Links to documents. This is great because the link lists work with GUI-IDs. This means if the object moves within the KM to another location the link still points to the correct object.
    However, so far I didn´t manage to make links to folders or to users profiles. I tried, but in the Web Content Browser there is no option to select a folder or a user. You can only point to documents so far.
    Is this a configuration issue or still not a feature of WPC in SPS14?
    If it´s a configuration issue, any proposals how to manage it.
    Thanks in advance.
    Thomas
    Edited by: Thomas Krynicki on Feb 19, 2008 7:46 PM
    Edited by: Thomas Krynicki on Feb 20, 2008 12:59 PM

    I was also really irritated by this problem. I ended up inputting the link to foldes as external urls. Fine on the major folders that never change. A pain in the *** for any others.

  • How to tell SAFARI to select especific mail service

    Does any one know, how to tell SAFARI to use for example, YAHOO web mail serivice instead of MAC MAIL, when selecting the option MAIL LINK TO THIS PAGE.
    Tks in advanced from México

    Ralphjh,
    An Automator workflow can save the page in a web archive format:
    First download the Save Safari Web Archive workflow.
    I would add two additional actions at the beginning of the workflow, each from Automator's Safari library, so that your final workflow would look like this:
    1) *Get Specified URLs* -- Deselect or use the minus sign to remove the default www.apple.com address. Open your puzzle page in Safari, make it frontmost, and click on the Current Safari Page button.
    2) *Display Webpages*
    3) *Run AppleScript* -- No need to modify the existing script.
    4) *Get Selected Finder Items*
    5) *Move Finder Items* -- The desktop is default.
    Save the Workflow as File Format: application, and add it to your Login Items.
    It all may be for naught however. I suspect that upon your return from vacation, you'll be disappointed to find that opening any one of the saved files will only result in opening the current day's puzzle. For example, on Tuesday April 29th, the puzzle linked from the URL you posted opened the puzzle for +that day,+ Puzzle Number 760. A quick look at the 30 Day Killer archive (scroll down the page) reveals that each day's puzzle has its own URL. The actual URL for Puzzle Number 760 is:
    http://www.sudoku.org.uk/DailyKiller.asp?day=29/04/2008
    You'll notice that the URLs for the individual days' puzzles in the Killer Archive differ only in the dates appended to them. You would likely need to find a way to incorporate that pattern into an AppleScript -- correlating the current date to the updated URL.
    Regards, Andrew99

  • I saved web page as html file, but can't open saved file as web page

    I did a FILE, SAVE PAGE AS, then chose 'WEB PAGE COMPLETE' - and a directory is created on my hard drive - with the directory name, for example - "c:\....\Ask a Question _ Mozilla Support.htm". (for this web page).
    When I try to open the saved web page from Firefox, using FILE, OPEN, I see a new window that looks like a file manager window, I then select that saved .html file and click OPEN, and a new window opens that looks like file manager - displaying with all the files in that directory - "Ask a Question _ Mozilla Support.htm". That is, it does not open and dislpay the web page as I expect it should (that I saved earlier).
    However, if I go to the file manager, I can see that directory is saved, and has the Windows Explorer icon associated with the directory "ask a question ....html", and also has a file type of HTML listed. If I double click that directory in file manager, Windows Explorer will open that directory and dis[play it as a web page, as I expected.
    I would like to know why Firefox does not open the directory name as a web page from the FILE, OPEN command, but instead shows me the directory contents(all the files in that directory)?
    BTW, if I try FILE, OPEN, using Windows Explorer the same thing happens - it opens a new window listing all the files in that directory.
    Is this the way the FILE, OPEN is supposed to work?
    It seems confusing, because if I am in any other program, for example WinWord, and do a FILE, OPEN command on a Word file, it opens the file as a Word Document - it does not just show the file in a "file manager window.
    But when I click FILE, OPEN on an HTML file(directory using Firefox, it does not open that html directory as a web page?

    I am in the Windows Explorer 'Details' view, and I see the folder with 'Type' of FILE FOLDER. In that folder are all the .js and .css and .png files - as cor-el said.
    ''But now I also see'' that there is also an htm file - ''with the exact same name ''as the folder, but it has a 'Type' of 'HTML Document'. When I have Firefox do a File, Open on the HTML Document - it does open the web page that I saved and does display it as a web page.
    I did not realize that Firefox saves both:
    1) a Directory '''(Type 'File Folder') '''''', and,
    2) an html file''' (Type 'HTML Document')
    ... '''and that they are the exact same names! '''
    I was clicking on the wrong one! Instead of clicking in the .html file, I was incorrectly clicking on the folder!
    (The archive add on looks interesting, but shouldn't I be able to open the saved web page, from the browser, using File, Open File) ?

  • How to open and save file like the Notepad Demo do?

    I am a newer to Java Web Start. I found that in the Notepad Demo, when user try to open or save file, a message box appear and give the user some security suggestions.
    In my application, I used a JFileChooser and set the <security> element to <j2ee-application-client-permissions/> in the jnlp file. But the application will thow an exception:
    access denied (java.io.FilePermission C:\Documents and Settings\Administrator\desktop\Java Web Start.lnk read)
    Can someone tell me how to solve this problem. By the way, where can I find the source of the Notepad Demo. I want my application to open and save file just like the Notepad Demo do.

    The Notpad demo uses the JNLP api to read and write files. The api doc can be found at:
    http://java.sun.com/products/javawebstart/docs/javadoc/index.html
    Although the Notpad demo source is not available, there is other sample code available at:
    http://developer.java.sun.com/developer/releases/javawebstart/
    Included here is the webpad demo, which uses the FileOpenService and
    FileSaveService API's.

  • How can I use Automator to open and save Word docs with links?

    Hi-
    I'm having trouble building a Workflow to open and save Word docs with links.
    My Workflow so far:
    1. Get Finder items
    2. Copy Finder items (to new folder)
    3. Rename selected items
    4. Open selected items (Word docs)
    Three problems occur.
    The first is a Word 2004 problem -- I can't get the warning "This document has links in it; do you want to open it with/without updating the links" to go away (Unilke the Macro warning toggle capability, there is nothing in the Preferences for Word 2004 that addresses the links warning, as far as I can tell; any insight you can shed on this would be terrific.)
    The second problem happens with Automator: if I manually accept the update of the first document's links, Automator opens that document but then halts completely, even though I've instructed it to open multiple documents.
    The third problem I have is that there's no Finder action in Automator that allows me to save the document that's now open (as far as I can see).
    Any suggestions for how to fix? If I can get this to work, and scheduled in iCal, it will be an unbelievable time saver.
    Thanks,
    Jeremy
    PowerPC G5   Mac OS X (10.4.6)  

    Hi there Jeremy,
    to do this you are going to have to add in some Run AppleScript steps...
    These will rely on GUI Scripting. So first you need to activate GUI Scripting.
    Now we need to add in a Run AppleScript action to the end of your workflow...
    This will replace your current number 4 in the workflow (Open Selected...)
    click here to open this script in your editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">on run {input, parameters}
    set allItems to every item of input
    repeat with currItem in allItems
    tell application "TextWrangler"
    open currItem
    end tell
    activate application "TextWrangler"
    tell application "System Events"
    tell process "TextWrangler"
    delay 2
    --when the Word document is opened I have told it to press okay !
    --I don't know what key you want it to press in the dialog box
    keystroke return
    delay 2
    --save the doc
    keystroke "s" using command down
    delay 5
    --close the doc
    keystroke "w" using command down
    end tell
    end tell
    end repeat
    return input
    end run</pre>
    The above script should open each Word Document, press a button in the dialog box then do a save and then close the doc...then loop through the rest of them.
    You need to replace the name Text Wrangler with Microsoft Word (or whatever it is called!), I don't have it on my Mac.
    You will have to let me know what button needs pressing in the first dialog, if it isn't the 'highlighted ' one then we will have to amend the script...
    regards
    Ric

  • How to tell Safari to save as a Web Archive

    The default "Save" when using a script is to save as "Page Source." How would one write a script to Save as "Web Archive."

    01. In 'Safari' - manually, select the 'File, Save As...' menu item. A drop down sheet will appear.
    02. Select the 'Format:' Web Archive' menu item.
    03. Click on the 'Save' button.
    04. Locate the just saved web page, trash it, and empty the trash.
    You have now set 'Safari' to save all future 'Save As...'es in the 'Web Archive' format.
    05. Use the code (which is supplied with no error trapping) below.
    -- Code starts here --
    property tURL : "http://www.badcopnews.com/"
    tell application "Safari"
    activate
    make new document at end of documents
    set URL of document 1 to tURL
    get document 1
    end tell
    delay 3
    tell application "System Events" to tell process "Safari"
    keystroke "s" using command down -- 'Command S' - 'Save As...'
    delay 1 -- Pause for 1 second.
    keystroke "d" using command down -- 'Command D' - Go to 'Desktop'.
    delay 1 -- Pause for 1 second.
    keystroke "c" using command down -- 'Command C' - Go copy highlighted text.
    set the clipboard to ((do shell script ("date +%Y%m%d%H%M%S")) & (the clipboard))
    keystroke "v" using command down -- 'Command V' - 'Paste'.
    delay 1 -- Pause for 1 second.
    click button "Save" of sheet 1 of window 1 -- Click on 'Save' button.
    end tell
    -- Code ends here --

  • How to Open and Save files

    I have a problem to open and save the files.here is my code. can anyone help me to open the files.
    public void actionPerformed(ActionEvent e) {
    if ("open".equals(e.getActionCommand())) {
    FileDialog fdopen=new FileDialog(this, "Load File", FileDialog.LOAD);
    fdopen.show();
    Thanks for ur time

    Hi fbnmir or who ever can answer my question,
    My problem is similar to the code you wrote. I'm trying to make (or rather complete a half done) editor for text files. For opening and saving files I have so far:
    public void actionPerformed(ActionEvent ae){
    FileDialog filedialog;
    final SearchDialog searchDialog;
    String arg = (String)ae.getActionCommand();
    // the Open ... case
    if(arg.equals(Editor.fileLabels[0])){ 
    if(Editor.VERBOSE)
    System.err.println(Editor.fileLabels[0] +
                        " has been selected");
    filedialog = new FileDialog(editor, "Open File Dialog", FileDialog.LOAD);
    filedialog.show();
    if(Editor.VERBOSE){  
    System.err.println("Exited filedialog.setVisible(true);");
    System.err.println("Open file = " + filedialog.getFile());
    System.err.println("Open directory = " + filedialog.getDirectory());
    //the Save ... case
    if(arg.equals(Editor.fileLabels[1])){ 
    if(Editor.VERBOSE)
    System.err.println(Editor.fileLabels[1] + " has been selected");
    filedialog = new FileDialog(editor, "Save File Dialog", FileDialog.SAVE);
    filedialog.show();
    if(Editor.VERBOSE){ 
    System.err.println("Exited filedialog.setVisible(true);");
    System.err.println("Save file = " + filedialog.getFile());
    System.err.println("Save directory = " + filedialog.getDirectory());
    These are two components of a MenuHandler class. The problem with this code is that in the text editor window, even if the Open button is pressed the file I want to open isn't displayed. Although the System.err (I think that's what it is called) says:
    Open ... has been selected
    Exited filedialog.setVisible(true);
    Open file = tutorial_01.rtf
    Open directory = C:\dhruba\epgy_2006\tutorial\
    Save ... has been selected
    Exited filedialog.setVisible(true);
    Save file = test.txt
    Save directory = C:\dhruba\epgy_2006\tutorial\
    How can I actually display the file I want to open, or save some text I've written?
    I would appreciate any help, thanks.

  • How to get rid of "Computer" in Open and Save dialogs

    Is this new? I don't remember that before the last or second-last OS update the computer's name appeared, above the mounted volumes, in the left panel of the Open and Save dialogs.
    Note that in the Finder windows, the computer doesn't appear, as set in the Finder's Preferences.
    So obviously my question is: How to remove the computer's name from the Open and Save dialogs' left panel?
    TIA,
    JL

    You can most often just take the default action by pressing the "joystick" center button (without going through the menus).

  • How to add My Documents to Open and Save as

    Hi,
    How can I add My Documents to the list of places under File ->"Open" and "Save as" in Office 2013 applications?
    Users in my organization are truly frustrated by having to click on "Computer" and then choosing the "My Documents" folder every time they need to access their My Documents.  Any suggestions?
    Thanks!
    -sul.

    Can you make a screen capture, or diagram showing exactly what you want to do?  I just can't picture it.
    If what you want to do is place it directly under the Open command in the File menu it would not be easy.  The only slight possibility I can think of would be to create custom ribbon XML code to modify the "Backstage Pane".  I
    How do I change Backstage(File) view in Excel 2010
    Customize the Office User Interface in Office 2010
    http://technet.microsoft.com/en-us/library/ff468686.aspx
    Updated: September 9, 2010
    This article lists resources that will help you customize the Microsoft Office Fluent user interface (UI) in Microsoft Office 2010 applications.
    Microsoft introduced the ribbon extensibility model in the 2007 Microsoft Office system as part of the Office Fluent UI. This was a new way to customize the user interface and create custom tabs and groups that
    were specific to users’ needs. Office 2010 extends the span of the UI extensibility platform by providing support for customization of the new Microsoft Office Backstage view.
    Customize the Backstage view
    In Office 2010, the Microsoft Office button is replaced by the
    File tab. The File tab brings you to the Backstage view. The Backstage view is customizable and lets organizations customize the UI to suit their needs.
    For information about how to use and customize the Backstage view, see the following resources:
    Introduction to the Office 2010 Backstage View for Developers (http://go.microsoft.com/fwlink/?LinkId=182189
     http://msdn.microsoft.com/en-us/library/ee691833%28v=office.14%29.aspx
    Customizing the Office 2010 Backstage View for Developers (http://go.microsoft.com/fwlink/?LinkId=184245
    Change the Ribbon in Excel 2007 or Excel 2010
    http://www.rondebruin.nl/ribbon.htm
    Ron de Bruin (last updated 6-Oct-2010
    <snip >
    More RibbonX examples
    You can download 8 Excel files here with basic RibbonX examples for Excel 2007 and Excel 2010.
    Download Example Excel files Last Updated : 27-June-2010
    Add custom group in built-in tab.xlsm
    Add menu and buttons to Backstage or Office Button.xlsm
    </snip>
    I haven't seen any documentation about customizing the 2013 backstage.

Maybe you are looking for

  • How to connect an acoustic electric guitar to macbook pro

    whats to best way to use an acoustic electric guitar with garage band without a buying additional gear, macbook pro. thanks

  • Line Weights in Acrobat X Pro

    Hi People, When  I opened a pdf attachment in email (Outlook) the "Line Weight" is very very small.  When I save the attachment and then open it in the free reader the line weights are all OK. I have tried toggling the "Line Weight" option in "View,

  • Trouble saving edited PDF

    I am editing a multi-page PDF.  I occasionally need to replace existing pages with updated pages.  However, after I open the document, insert the replacement and go to save, I get a message telling me I can't save the file, that it's already open.  N

  • Backup- Satellite L505-S6959 thinks it's in safe mode

    I have attempted to perform a backup from my Toshiba Satellite L505-S6959 laptop to my DVD drive & to a USB drive and continue to receive error messages: The last backup did not complete successfully. Check your backup- This service cannot be started

  • I can't add transitions between clips, but between generated media?!

    I can't add transitions between clips, but between generated media?! Any ideas?