Script to get excel to open the last (latest) downloaded file

Here is the plan. I have a script to have safari go download a file. Then I need script to have excel open the latest downloaded file from that folder. There will be other files in the folder and I cant do it by name.
Any help would be much appriciated.

Hi Damo1155,  
Thanks for your post.
Do you mean that you want backup your VSO source files to a local machine folder using script(execute tf get command line)? if yes, we suggest you backup all your VSO source files in a specified local workspace folder on your client machine. Please try below
example steps:
On your client, connect to your VSO using VS, then mapping your VSO DefaultCollection(the root node) to D:\VSO folder in Source Control Explorer.
Open Command Prompt, and execute this command ‘D:\VSO>tf get /version:T /recursive’ to get latest source in D:\VSO folder.
After executed that command successfully, you will find all your VSO source files be got in that D:\VSO folder on your client. Then you can create a script file to run this D:\VSO>tf get /version:T /recursive command on your client periodically, it will
backup all your VSO latest source to this D:\VSO folder on your client.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • What program(s) opens the airport utility download file

    I am installing on PC and have nothing to open a dmg file - any suggestions

    1} do I bypass the router and hook the Airport Extreme directly to the phone line or
    That won't work as the Extreme does not have a built-in modem. Your older router must be a combination modem & router or gateway device.
    2) (as the guide suggests) connect an ethernet cord from the LAN output on the existing router to the WAN input on the Airport - I have tried both with no success so
    This is the correct connection for the Ethernet cable. The key now is to reconfigure the Extreme as a bridge. This will allow the existing router to continue to provide the necessary NAT & DHCP services for network clients connected to either router to gain Internet access.
    To configure the Extreme as a bridge, either connect to the Extreme's wireless network or temporarily connect your computer directly (using an Ethernet cable) to one of the LAN port of the Extreme, and then, using the AirPort Utility, change the following these setting:
    AirPort Utility (v5.x) > Select the Extreme > Manual Setup > Internet > Internet Connection tab
    Connection Sharing: Off (Bridge Mode)
    Click Update to apply the new settings.

  • Why do applications always open the last document or page viewed?

    I love my Mac.  But since I got my new iMac and OS Lion, I've had a hard time with one option and I can't figure out how to turn it off.
    When I open Excel, it opens the last document viewed.  Even when I click on a new document, it still opens the last document.  When I open Safari, it takes me to the last page viewed.  Its very annoying, probably useful to someone other then me. How do I turn this feature off?
    Thanks
    Jim

    That is part of Resume, a feature that re-opens the documents that were open when you quit.
    You can turn it off system-wide in the General System Preferences.
    On a per-app basis, you can only use the cmd-option-q shortcut or menu to close all windows and quit.

  • I get a message saying that "Excel cannot open the file

    Every now and then, when I try opening an Excel file, I get a message saying that "Excel cannot open the file 'file.xlsx' because the file format or the file extension is not valid. Verify that the file has not been corrupted and that the file extension
    matches the format of the file.

    I see this most often when a file has been transferred around a lot and gets corrupted due to bad sectors on hard drives, 
    bad thumb drives, etc...
    Occasionally, I find a repair utility that will....kind of....fix it. You tend to lose all formatting and usually the user 
    would have to spend more time doing than life than simply starting from scratch. If on a file server, shadow copies
    (previous versions) are a god send.
    If it happens completely randomly, does it happen more often to the same group of people? Perhaps an update malfunctioned? 
    Reinstall Office? Try XLSX Open File Tool for recovery your documents (http://www.xlsx.openfiletool.com/)
    There could be so many reasons this could happen, but all the above is where I'd start.
    Also read this
    https://groups.google.com/forum/#!topic/xlsx-viewer-download/Yf8eudHMWv8

  • Getting "safari cannot open the page because the network connection was lost" on a popular UK electrical retailer when trying to click and collect, yet I have excellent 3G and WIFI connections

    When I try and use a click and collect service via a popular electrical retailers website in the UK I get " safari cannot open the page because the network connection was lost"
    I have a superb WIFI connection and have tried it via 3G.
    I am not getting this on other websites, however have recently updated Safari.
    Any ideas?

    Install Chrome and see if the problem lies with Safari...that's where it was with my mini.

  • Excel cannot open the file

    I am trying to build a dashboard in 4.5 Professional.  When I open the Xcelsius file I get the following message "Excel cannot open the file 'im5.xlsx' because the file format or file extention is not valid.  Verify that the file has not been corrupted and that the file extention matches the format of the file"
    I went to Task Master killed Excel and then got a new message "the document 'im5.xlsx' caused a serious error the last time it was open.  Would you like to continue opening it?" If I say "Yes" the message in the first paragraph re-appears.  However, I then cannot find Excel in Task Manager again.  I therefore assume Excel is not running but the problem persist, I cannot openthe Dashboard.  Any ideas how to solve this problem?
    I run XP and Office 2007.  I have build many Dashboards on 4.5 and also run Engage 2008.
    Niel

    Hi Niel
    Can you save the Excel file as 2003 compatible and try again?
    Regards
    Charles

  • Excel Not Opening the 1st Sheet

    When exporting a Discoverer file to Excel, I want Excel to open the Excel file automatically after export. During the export process there is an option at the end to open the 1st exported sheet. I check this, but it doesn't automatically open. I see in the help area, it tells me to do the following:
    Open the first exported sheet
    Use this check box to open the first file in the file list when you close the Export Wizard. For example, if the first file is a HTML file, your Web browser will display the HTML file. Note: If you export to Microsoft Excel format and Microsoft Excel does not open the first exported sheet, check that you have the correct security level for macros. For example, in Microsoft Excel 2000, choose Tools | Macro| Security and set the security level to Medium or Low.
    So I went into Excel and set my macro security setting to Low and saved that Excel document. I exited Discoverer and logged back in. Tried exporting again, but it still won't automatically open. Any ideas?
    Thanks!

    Well I was able to get it working. Both solutions came from Tamir's Metalink tip. I just needed to apply 2 different sets of changes.
    For my Windows 2000 PC, I did the following (from Doc ID: Note:307919.1 )
    Add your site to 'Trusted Sites' in Internet Explorer to make this work.
    1) Go to Tools->Internet Options->Security tab->Trusted Sites->
    Click on 'Sites' button and add your site from which you are launching Plus.
    Make sure you uncheck 'Require server verification (https:) for all sites in this
    zone' and click 'OK'.
    2) Close Internet Explorer, launch Discoverer Plus again and test.
    After adding your site as a 'Trusted Site', you should now be able to
    export to Excel, HTML etc, and the application open up automatically.
    Then, for my user's Windows Xp machine I did the following (from Doc ID: Note:301619.1 )
    Solution
    Caution: Before altering the Windows Registry it is strongly recommended that a backup be taken. If the registry is updated incorrectly the PC may not be able to boot or applications may fail to start or cause errors.
    In the Windows environment:
    1) Start -> Run -> Regedit (to open the registry)
    2) Locate the following key path:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_ZONE_ELEVATION\iexplore.exe
    3) Change the value from '1' to '0'
    4) Ensure that the following settings for the .xls & .html file types are unchecked:
    a) Open Windows Explorer
    b) Goto Tools/Folder Options/File Types tab
    c) Select the Extension 'XLS' (or HTML) and Click on the Advanced button
    d) Un-check the option 'Confirm Open after Download' & 'Browse in same window'
    5) Select 'OK', then 'Apply'
    6) Re-Start the workstation (PC)
    The Windows Login in XP can be setup on the domain or on the local PC. If the login is set up on the domain, please take this additional step. If the login is set up on the PC, skip this step.
    7) In Internet Explorer use the pull down Tools / Internet Options, and go to the Advanced tab. Scroll to the Security section and check the box for "Allow active content to run in files on My Computer".
    I found the solution for my user's XP PC from the original Metalink # Tamir gave me (Note:301619.1). But, I chose to use this one (Note:307919.1) first (on my 2000 PC) because it looked easier to implement. It was, but only for my Win 2000 machine. I had to use the originally recommended Metalink note to get it to work for an XP machine. I just wanted to mention this in case anyone finds themselves in a similar situation.

  • Firefox 4 doesn't open in a homepage, but rather opens the last page I visited, which I HATE!!!!!!!!!!!!!!!!!!

    So far the Firefox upgrades are nothing but trouble to me and my computer. Where is the homepage. Why when I open Firefox from the desktop shortcut do I not get a homepage, but rather the last page I visited. I was doing bills, and finished but couldn't find the log off button, so closed the page, and then closed firefox. When I re-opened, it opened right to the page where I was still signed into my account!!!!!!! A security failure if I ever saw one. There is not one thing I have found to be helpful since Firefox first updated me to 3.6.14, then quit responding completely! So I tried the 4 Beta, and it is so far a disaster.

    If the Cookies window is open and no browser or other Firefox windows are open, opening a new browser window will now still open the last page visited instead of a blank page, even if "Show a blank page" is selected for "When Firefox starts:", and even if the last browser window opened was blank; I tested this by opening a webpage and then opening a blank browser window, closing the browser window with the webpage, then closing the blank browser window, then opening a new browser window while the Cookies window remained open. It is a time waster to have to continually close and reopen the Cookies window and a potential privacy disaster to have your website reopened after you closed your browser. Please, please, fix this.

  • Excel cannot open the file 'file.xlsx' because the file format

    Every now and then, when I try opening an Excel file, I get a message saying that "Excel cannot open the file 'file.xlsx' because the file format or the file extension is not valid. Verify that the file has not been corrupted and that the file extension
    matches the format of the file.

    Hi,
    Which Excel version are you using? As far as I know, this issue is caused by malware on the affected machine.There are now two known variants of malware which causes this problem: Win32/Crilock.A and
    Win32/Buma!rts. They have both been identified as a new family of ransomware.
    We'd better clean your machine, run Microsoft Safety Scanner (http://www.microsoft.com/security/scanner/en-us/default.aspx).
    For more detail information, please refer to the following link:
    http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2013/09/07/quot-cannot-open-the-file-because-the-file-format-or-extension-is-invalid-quot-opening-office-files.aspx
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Went to upgrade and says OS too old. I went back to older version of foxfire. Now I have a circle with a line through it and when I try to open it I get,You cannot open the application "Firefox" because it is not supported on this architecture.

    I have PowerBook G4, running 10.5.8. Went to upgrade and says OS too old. I went back to older version of foxfire. Now I have a circle with a line through it and when I try to open it I get,You cannot open the application “Firefox” because it is not supported on this architecture. Thanks for the help.

    Firefox 3.6.x is the last available from Mozilla for PPC Macs. <br />
    http://www.mozilla.com/en-US/firefox/all-older.html
    For older Macs that aren't supported in Firefox 4+ versions, try TenFourFox for PowerPC's running Mac 10.4.11 & 10.5.8 . <br />
    http://www.floodgap.com/software/tenfourfox/<br />
    http://tenfourfox.blogspot.com/ <br />
    https://code.google.com/p/tenfourfox/wiki/PluginsNoLongerSupported

  • Excel cannot open the new form. The Form contains schema validation errors.

    i am running the approval workflow on a document library, while trying to open Excel
    file i get the error.
    Excel cannot open the new form. The Form contains schema validation errors.
    Detailed error:
    Element '{http://schemas.microsoft.com/office/infopath/2009/WSSList/dataFields}Body' is
    unexpected according to content model of parent element '{http://schemas.microsoft.com/office/infopath/2009/WSSList/dataFields}SharePointListItem_RW'.<o:p></o:p>
    Expecting: {http://schemas.microsoft.com/office/infopath/2009/WSSList/dataFields}WorkflowLink,
    {http://schemas.microsoft.com/office/inf....
    neeraj

    Hi,
    According to your description, my understanding is that when you are running approval workflow and opening the Excel file, then it will occur the error above.
    For a better troubleshooting, I suggest you can try to create a new normal excel file and then run the workflow and open the file to test if it works. It will help to figure out if this is the file itself issue or the SharePoint issue.
    Also, please provide some more detailed information such as screen capture, it will easier to find the root cause of the issue.
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Is there a way to turn off the function in Lion that re-opens the last project you worked on in a given program?

    Is there a way to turn off the function in Lion that re-opens the last project you worked on in a given program?

    Dealing With 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.
    It is possible to completely stop the Resume feature although I'm unconvinced that it is that annoying. Nevertheless see the following:
    If you have not yet done so you must first make your /Home/Library/ folder visible. Open the Terminal application in the Utilities folder. At the prompt paste the following command line:
    chflags nohidden ~/Library
    Press RETURN. Quit the Terminal application.
    In the Finder navigate to the /Home/Library/Saved Application State/ folder. Delete the contents of the folder. Back up to the /Home/Library/ folder. Select the Saved Application State folder. Press COMMAND-I to open the Get Info window. In the Sharing and Permissions panel at the bottom click on the lock icon and authenticate. Set each of the listed entries to Read Only. Close the Get Info window.
    Quit all open programs except the Finder (this is very important.) Next, navigate to the /Home/Library/Preferences/ByHost/ folder. Look for a .plist file with "com.apple.loginwindow." in the file name followed by some numbers in hexadecimal. Select the file. Press COMMAND-I to open the Get Info window and in the Sharing and Permissions panel click on the lock icon and authenticate. Set each of the listed entries to Read Only. Close the Get Info window. If you also find a file with the same filename but with a last extension of ".lockfile," then you should delete it.
    The above should eliminate the Resume feature system-wide. Note that any future system updates or upgrades will likely undo these changes. You will then need to repeat this procedure assuming there are no major changes in OS X related to it.

  • Is there a way to open the last file I used in InDesign/Illustrator/Photoshop when I open the app

    I want to create a shortcut (Win7) that will automatically open the last file I used in the above apps when I open the app. Is there a command line switch like /r or /l that does that?

    Thanks, your point is well taken... It would be nice, though, to have the ability to sort a "Last Used" column in iTunes and select a bunch of apps to remove in one shot.

  • How do I get Muse to remember the last directory when accessing files?

    When I use Muse, I can't get it to remember the last directory or folder I used to access site assets. Every time I go back to access another image or document, explorer has me navigate from the "My Documents" folder to my project folder instead of remembering the last folder I accessed for that Site Project (like most software does).
    How do I set Muse to remember my project's folder within a session instead of having me navigate through the My Documents folder back to the project folder every time I want to access a new asset.
    Thanks.

    Hello,
    This "Adobe Air" bug has been identified and is being currently worked upon for a fix in the upcoming releases: http://forums.adobe.com/message/5612009#5612009#5612009
    Cheers
    Parikshit

  • How to get the last(latest or previous) working day

    hi,
    using sysdate we may be getting today's date and sysdate-1 will be fetching the yesterday's date. but if sysdate-1 turns to be sunday or a holiday then we need to get the previous date to that holiday date .THe list of holidays are in lt_list_holidays. The Holiday date shall be the holiday_date column. I need a query which displays the last (latest or previous) working day ..
    Please advice
    Edited by: vine on Jul 20, 2010 5:30 AM
    Edited by: vine on Jul 20, 2010 5:51 AM

    Hi,
    vine wrote:
    hi ,
    THe queery seems to be fine but in the middle if we have any holidays and the holidays are in lt_list_holidays table . the name of the holiday date is holiday_date in lt_list_holiday.Is the name of the holiday important? I'll assume not. I'll also assume you have a column d (a DATE) that is the date of the holiday.
    >
    Please adviceThat's quite a different problem from what you first posted.
    Instead of posting a question x, waiting for someone to answer it, and then saying that the problem is really y, don't you think it would be better to post question y in the first place?
    You can do something like this:
    WITH     prev_days     AS
         SELECT     TRUNC (SYSDATE) - LEVEL     AS a_date
         FROM     dual
         CONNECT BY     LEVEL <= 4     -- worst case (see below)
    SELECT     MAX (a_date)     AS previous_work_day
    FROM     prev_days
    WHERE     TO_CHAR (a_date, 'Dy', 'NLS_DATE_LANGUAGE=''ENGLISH''')
                   NOT IN ('Sat', 'Sun')
    AND     NOT EXISTS ( SELECT  1
                   FROM    lt_list_holiday
                   WHERE   d     = prev-days.a_date
    ;Where I work, holidays are never consecutive, in fact, they are always at least 7 days apart, so I can be sure that a period of 4 consectuive days will always contain at least one work day. (There may be two weekend days plus one holiday; that's the worst case.) If you can have two or more holidays in a row, or holidays spaced 3 days apart (so that one might fall on a Friday, and the other on Monday), then increase the "magic number" 4 in
         CONNECT BY     LEVEL <= 4     -- worst caseto something appropriate. If you put it too high (say 10), no serious harm is done.

Maybe you are looking for