Set photo source to RSS?

Up to OS X 10.7, you could point screensaver to an RSS feed as the source of photos to display.  It seems this functionality was removed in OS X 10.8 :-(
I've found some workarounds on the web, mostly scripts that boil down to downloading photos from RSS feed into a folder on local disk (then pointing built in screensaver to that folder).  Which than needs to be re-run every so often to refresh content of the folder...
Is there some simpler way or 3rd party screensaver that would provide functionality of the old one (simply give it an RSS feed, and it displays the photos)?

973239 wrote:
Thanks for the reply. I agree that a package would be the best place to move the code but for the moment I would like to call it from the process. Right, seeing we're agreed on the best solution, why not just do it?
Is it not possible at all?I can think of at least 2 ways to "reuse" the process, but they require more code and run less efficiently. I see no point in pursuing them when a much better, simpler way exists.

Similar Messages

  • The screensaver forgets photo source

    I have recently updated my Macbook Air to Yosemite but it is so full of bugs that I will wait until they fix it all before upgrading my Mac Pro.
    Other than the random hangs and safari crashes that litter what were perfectly normal activities in Mavericks one of the most annoying bugs is in the screensaver, which I would normally have setup as a slide show of one of my iPhoto events.
    But no matter which event or album I choose to be the photo source in the screensaver control panel each time the screensaver starts it has defaulted back to National geographic.
    How do I get it to work properly again?
    Also, I have the desktop set to a random selection from an iPhoto album. Which is more stable than the screensaver, which doesn't work at all, but still seems to randomly forget my settings and return to the picture of some random American cliff.
    The Macbook is generally well maintained and charged or powered so there shouldn't be an issue with the PRAM.
    I hope they fix all these bugs soon.
    They also seem to have greyed out the Mac OS and System Software Community to post this question to. What is going on.

    I went into iphoto preferences and deleted any keywords that had numbers in them.
    imovie now recognizes iphoto.

  • Hard Drive Failing, Need to Move Photo Source Folders

    How does one move photo source folders from one drive to another in PSE11 without loosing the file links?

    General File Recovery
    If you stop using the drive it's possible to recover deleted files that have not been overwritten by using recovery software such as Data Rescue II, File Salvage or TechTool Pro. Each of the preceding come on bootable CDs to enable usage without risk of writing more data to the hard drive.
    The longer the hard drive remains in use and data are written to it, the greater the risk your deleted files will be overwritten.
    Also visit The XLab FAQs and read the FAQ on Data Recovery.

  • How to set image source path in formsweb.cfg file in forms 11g

    Hi,
    I had written HTML code in the formsweb.cfg file in forms 11g. In the below code i am unable to retrive image file(i.e., .gif, .jpeg) from the server or local machine.
    In the below HTML code i set image source in the image tag as below:
    <img src="E:\Oracle\Middleware\Oracle_FRHome1\tools\web\html\agilis-life-new11_04.GIF"
    Is this correct path to fetch the images from the server or local machine .
    Please help me out how to set path for image in html or is there any alternate process to retrive images.
    Here is the code :
    [INDIVIDUALUAT]
    workingDirectory=D:\Aims10dev\Work
    form=LMstartup.fmx
    userid=rmenu/rmenu@RLIFEQA64
    codebase=/forms/java
    imageBase=codebase
    width=1005
    height=750
    WebUtilArchive=/forms/java/frmwebutil.jar,/forms/webutil/jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=webutiljini.htm
    baseHTMLjpi=webutiljpi.htm
    archive_jini=frmall_jinit.jar,life-icons-round.jar,Agilis_Icon.jar,life_Icon.jar,personalize.jar,hyperlink.jar,amazingbutton.jar
    archive=frmall.jar
    separateFrame=False
    lookandfeel=Generic
    EndUserMonitoringURL=True
    usesdi=yes
    #HTMLbeforeForm= <table width="1005" border="0" cellspacing="0" cellpadding="0"><tr><td width="200"><img src="/forms/html/agilis-life-logo.gif" width="200" height="80" /></td><td width="10"><img src="/forms/html/agilis-life-new11_02.gif" width="36" height="80" /></td><td width="805" valign="top" background="/forms/html/agilis-life-new11_03.gif"></td></tr></td></tr></table>
    HTMLbeforeForm=<body topmargin="0" leftmargin="0" > <table width="1005" height="100" border="0" cellspacing="0" cellpadding="0"><tr><td width="200" valign="bottom" ><img src="E:\Oracle\Middleware\Oracle_FRHome1\tools\web\html\agilis-life-logo.gif" width="200" height="80" /></td><td width="10" valign="bottom" ><img src="E:\Oracle\Middleware\Oracle_FRHome1\tools\web\html\agilis-life-new11_02.gif" width="36" height="80" /></td><td width="550" valign="bottom" ><img src="E:\Oracle\Middleware\Oracle_FRHome1\tools\web\html\agilis-life-new11_03.gif" width="550" height="80" /></td><td valign="bottom"><table width="219" height="90" border="0" cellspacing="0" cellpadding="0"><tr><td height="36" valign="bottom" align="center"><img src="E:\Oracle\Middleware\Oracle_FRHome1\tools\web\html\agile-logo.jpg" height="36"></td></tr><tr><td height="10" valign="bottom"> <div align="right"><span style="font-family:Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; text-decoration:none; color:#00000; " >Home | Change Password | Logout</span></div></td></tr><tr><td colspan="3" valign="bottom"><img src="E:\Oracle\Middleware\Oracle_FRHome1\tools\web\html\agilis-life-new11_04.GIF" width="100%" height="39" /></td></tr></table></td></tr></td></tr></table></body>

    AFAIK, this is not the correct way to set the image location.
    We call the working directory as context, so inside the context root along with WEB-INF, maintain a folder with name img and put all the images in that directory.
    You can use either .\<image_folder> or the optimum way would be (if you are using JSPs) to use getContext() method and traverse accordingly.
    FYI,,, using getContext() will give you context root directory, from there it is as simple as accessing any other folder.
    Hope this answers your question.
    Cheers,
    Jeets.

  • STATIC "HTML Data Set Photo Gallery" with CAPTIONS

    Because of search engines and validation I would really like to use the STATIC "HTML Data Set Photo Gallery" http://labs.adobe.com/technologies/spry/demos/gallery_pe/static/china.html.
    But I definitely need captions for the Photos. I found possibilities to add them via XML, but not for the HTML-Version.
    As far as I got I think I have to edit this function from "gallery_hds.js" and add some RegEx, to extract caption text.
    function PhotosFilter(ds, row, rowIndex)
        var tnStr = row.thumbimg;
        if (tnStr)
            row.path = tnStr.replace(/.*<a[^>]*href="?([^"]*)"?.*/i, "$1");
            row.thumbpath = tnStr.replace(/.*<img[^>]*src="?([^"]*)"?.*/i, "$1");
        return row;
    In the following rows within the html-document
    <span class="thumbnail"><a href="../../gallery/galleries/paris/images/paris_02.jpg"><img src="../../gallery/galleries/paris/thumbnails/paris_02.jpg" alt="paris_02.jpg" /></a></span>
    I would insert text before the closing span-tag (or before the closing a-tag?) - like so
    <span class="thumbnail"><a href="../../gallery/galleries/paris/images/paris_02.jpg"><img src="../../gallery/galleries/paris/thumbnails/paris_02.jpg" alt="paris_02.jpg" /></a>Here is some HTML Text</span>
    This text must be extracted via RegEx - similar to the rows within the if-Statement of the upper mentioned function "PhotosFilter". But here my RegEx-knowledge is definitely to short!
    Thank you very much in advance for any help or suggestion.
    Angela Fengler

    Because of search engines and validation I would really like to use the STATIC "HTML Data Set Photo Gallery" http://labs.adobe.com/technologies/spry/demos/gallery_pe/static/china.html.
    But I definitely need captions for the Photos. I found possibilities to add them via XML, but not for the HTML-Version.
    As far as I got I think I have to edit this function from "gallery_hds.js" and add some RegEx, to extract caption text.
    function PhotosFilter(ds, row, rowIndex)
        var tnStr = row.thumbimg;
        if (tnStr)
            row.path = tnStr.replace(/.*<a[^>]*href="?([^"]*)"?.*/i, "$1");
            row.thumbpath = tnStr.replace(/.*<img[^>]*src="?([^"]*)"?.*/i, "$1");
        return row;
    In the following rows within the html-document
    <span class="thumbnail"><a href="../../gallery/galleries/paris/images/paris_02.jpg"><img src="../../gallery/galleries/paris/thumbnails/paris_02.jpg" alt="paris_02.jpg" /></a></span>
    I would insert text before the closing span-tag (or before the closing a-tag?) - like so
    <span class="thumbnail"><a href="../../gallery/galleries/paris/images/paris_02.jpg"><img src="../../gallery/galleries/paris/thumbnails/paris_02.jpg" alt="paris_02.jpg" /></a>Here is some HTML Text</span>
    This text must be extracted via RegEx - similar to the rows within the if-Statement of the upper mentioned function "PhotosFilter". But here my RegEx-knowledge is definitely to short!
    Thank you very much in advance for any help or suggestion.
    Angela Fengler

  • Flex 4.5.1 Setting VideoPlayer source to null when it is already null results in a runtime error

    I moved my project from Flex 4.1 to Flex 4.5.1 and I noticed that setting VideoPlayer source to null when it is already null results in a runtime error. The same thing applies to the case where you specified as a source url some invalid location (no video found there) and then you try to set the source to null.
    Here is the error:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at spark.components::VideoDisplay/cleanUpSource()[E:\dev\4.5.1\frameworks\projects\spark\src \spark\components\VideoDisplay.as:1956]
        at spark.components::VideoDisplay/setUpSource()[E:\dev\4.5.1\frameworks\projects\spark\src\s park\components\VideoDisplay.as:1609]
        at spark.components::VideoDisplay/set source()[E:\dev\4.5.1\frameworks\projects\spark\src\spark\components\VideoDisplay.as:1073 ]
        at spark.components::VideoPlayer/set source()[E:\dev\4.5.1\frameworks\projects\spark\src\spark\components\VideoPlayer.as:1362]
    The problem is that in the VideoDisplay cleanUpSource function, in some of the cases there properties on the videoObject are modified like this:
    videoPlayer.displayObject.visible = true;
    without checking if displayObject is null which is done in the rest of the videoDisplay functions.
    So when it reaches this line: videoPlayer.displayObject.visible = true; it results in a runtime error.
    Is this supposed to work this way now ? I didn't have this problem on Flex 4.1. Not sure if it is a bug, but if it is please report it, I don't have the time right now to be checking in on this.
    I fixed it by checking if the source is set, of course... (that won't help me in cases where I provide a wrong or missing video url by mistake.. so it is important to be fixed!)
    F

    Hi
    I found the same error displaying video on flex !
    in my simple code, i have :
    videoInfoDataVideo.source = videoName;
    the full error is :
    TypeError: Error #1009: Il est impossible d'accéder à la propriété ou à la méthode d'une référence d'objet nul.
              at spark.components::VideoDisplay/cleanUpSource()[E:\dev\4.5.1\frameworks\projects\spark\src \spark\components\VideoDisplay.as:1956]
              at spark.components::VideoDisplay/setUpSource()[E:\dev\4.5.1\frameworks\projects\spark\src\s park\components\VideoDisplay.as:1609]
              at spark.components::VideoDisplay/set source()[E:\dev\4.5.1\frameworks\projects\spark\src\spark\components\VideoDisplay.as:1073 ]
              at spark.components::VideoPlayer/set source()[E:\dev\4.5.1\frameworks\projects\spark\src\spark\components\VideoPlayer.as:1362]
              at Function/item/private:updateVideo/anonymous/resultGetVideo()[C:\Users\randev\Adobe Flash Builder 4.5\visurbaCMS\src\item.mxml:800]
              at flash.events::EventDispatcher/dispatchEventFunction()
              at flash.events::EventDispatcher/dispatchEvent()
              at HTTPOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\rpc\http\HTTPService.as:993]
              at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:318]
              at mx.rpc::Responder/result()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\rpc\Responder.as:5 6]
              at mx.rpc::AsyncRequest/acknowledge()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\rpc\AsyncR equest.as:84]
              at DirectHTTPMessageResponder/completeHandler()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\ messaging\channels\DirectHTTPChannel.as:451]
              at flash.events::EventDispatcher/dispatchEventFunction()
              at flash.events::EventDispatcher/dispatchEvent()
              at flash.net::URLLoader/onComplete()
    did you solve the problem or someone else?
    Thanks

  • Set Paper Source by Page Size for multi files

    I have over 500 pdf files. How can I batch set "Paper Source by Page Size" in Print Dialog Preset for these files.
    Thanks!

    Hi Andrew,
    Apple made some pretty significant changes to the way that printers function when they released 10.6.
    The setting you're looking for is completely controlled by the OS.
    Choose Apple > System Preferences > Print & Fax.
    Click on your printer and use the drop-down menu to change the default page size for your printer.
    -David

  • How to set the source property of image control dynamically?

    Hi,
      I have different fxg files which I want to display in a list. For each row in the List, I define which fxg file to be displayed in my database.
    I need to know how to set the image1.source = (the fxg path) as a string from database?
    Is there any conversion needed in this case? If so, can you please help me how to do this?

    Hi,
      Thank you for your response. I am new to Adobe Flash Builder, Flex and action script. I don't get your answer straight away.
    What I basically need is, I need to set image1.source = strFXG. Right now, this does not show the image. I don't understand fxgObject.pathid.source => how to give this?
    Moreover, when I did google search, there is somethink like fxg converter which converts the fxg to a component. I thought this is a very simple problem on how to convert the fxg string to an object format. But now, it looks like it might be a big problem. Can anyone help me in this?
    import spark.components.Image;
                                  protected function view1_creationCompleteHandler(event:FlexEvent):void
      // TODO Auto-generated method stub
      var strFXG:String = 'assets.DB_Actief_Graphics';
                                            var image1:Image = new Image();
                                            image1.x = 100;
                                            image1.y = 100;
                                            image1.source = strFXG;
                                            addElement(image1);
    Regards,
    Chella

  • Set Image source programmatically

    I am working on a use case, where I have to set image source programmatically based on an input value. Eg: When I have a value of 'House1' in a form field, I have to display House1.png picture from a folder in file system. How can I do this?

    Thanks Timo.
    JDev Ver: 11.1.2.3
    I used the easy solution to have the images in a sub directory under root and accessing them using EL language. It is working fine. I have another question, as to the process to be implemented if I have to update the images. The application that I am working on has a need to update the images frequently. What is the best way to do it? I am thinking of creating a jar file for images and deploying it to web logic server Ishared library). If I have to add a new image, I can just make a jar file and re-deploy it again. I am new to ADF, so I am not sure if my approach is correct. Please advise.
    And, thanks for your blog. It was helpful.
    -Ashok

  • AccessViolationException occurs while setting data source to a datatable

    Dear All,
    I have recently encountered problem while generating Crystal Report (version 11.5) in my VB.NET project and see if you can help to provide a solution for that. In particular, the following access violation exception occurs when setting data source of a report object to a datatable:
    "Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
    Then if i press F10 to step over in VS2008, the exception won't occur again and the report can be printed successfully with data from datatable. So it does not fail all the time but only the first time...
    My code is rather simple and it looks something like this where ds is declared as a dataset filled with data:
    Dim crApp As CRAXDDRT.Application
    Dim crRpt As CRAXDDRT.Report
    crApp = New CRAXDDRT.Application
    crRpt = New CRAXDDRT.Report
    crRpt = crApp.OpenReport("C:\some.rpt")
    crRpt.DisplayProgressDialog = False
    crRpt.DiscardSavedData()
    crRpt.Database.Tables(1).SetDataSource(ds.Tables(0), 3)  <--- exception occurs at this line
    crRpt.PrintOut(False)
    Also, from the exception details, the problem appears to be thrown from the driver crdb_adoplus.dll which I have installed the latest version (11.5.11.1470) with CR XI R2 SP5.
    Kindly reply if you know what's going on... Thx!
    Stephen

    Hi Stephen,
    As I said, craxddrt, embeddable designer control, is not for your use other than designing reports within the .NET IDE. You CAN NOT distribute this dll and it's dependencies. You are NOT licensed to use use it in a runtime application.
    As you say it may possibly work but it is not supported other than designing reports in the IDE and again you are NOT licensed to distribute it.
    Next issue is the RDC ( Either craxdrt.dll or craxddrt.dll ) in version XI R2 ( 11.5 ) is still supported but again only supported in Visual Basic 6. The RDC is COM and was never designed to work in .NET.
    COM and .NET are two completely separate code streams, there is no direct convert from the RDC to .NET. Same functional API's but completely different way of implimenting them.
    For more info on how to use and for sample applications click on this link:
    http://www.sdn.sap.com/irj/boc/samples?rid=/webcontent/uuid/80774579-b086-2b10-db91-ed58c4dda375 [original link is broken]
    So even though it may be partially working there is no point in continuing this post concerning the RDC, it's simply not supported for what you are doing and you are not licensed to deploy it.
    Thanks again
    Don

  • Different EAR file size for 2 exactly the same set of source codes

    Hi All,
    I have 2 exactly the same sets of source codes for my application that were compiled in 2 different environment (say SIT and UAT; both using the same jdk versions), is it possible that the EAR files after build will be different in size too?
    Can you suggest any online reading materials that I can read regarding this?
    Thank you very much
    Eddie

    Hi Arun,
    Thanks for the answer.
    I already did a comparison of the 2 application, they are exactly the same (i only copied the source including the jars from PROD to UAT). I also did a comparison between the 2 EAR files generated (exploded the EAR file and compare each of the files), they are the same. My aim actually is to compile the application in Machine1 and deploy it in Machine2, I am just puzzled why the 2 EAR files generated by the 2 machines are different in size. Does it has something to do with the compression and compiling?
    Thanks,
    Eddie

  • How can I set up source IP routing

    This is on a recent Macbook Pro, OSX 10.8 Mountain Lion. Maybe the question really belongs in a "networking" or "operating system" subforum.
    A Linux example is:
    ip rule add priority 32700 from 10.45.37.70 table 240  
    ip route add default via 10.45.37.69 table 240  
    ip route flush cache  
    It routes all packets with source address 10.45.37.70 via 10.45.37.69 as default gateway, regardless of destination address.
    Why is this needed? --->
    I have a few physically tiny Wifi routers. They can only act as NAT routers, and even block connections between internally connected devices. No problem, if I need a device to act as a server (VNC, sendmail, samba, webserver...) I set up a vtun (actually any VPN would do) between the device and a VPN server on my LAN. This way, the device gets an IP address that is reachable from my entire LAN. I can walk away and access the laptop from a smartphone, for example. And I can move data between 2 laptops while on wlan.
    Outgoing connections should continue to use the normal wlan gateway. If everything would use the vtun gateway, that would cause a lot of unnecessary load on the  server.
    The source IP routing affects only reply packets to connections that come in via vtun VPN. The replies have the above mentioned source address that triggers the special routing. Without the special routing, the replies would be mangled by the NAT router.
    I have, on a different VPN (lets call it "VPN2"), seen an alternative. This different VPN sets an additional default address, and according to a forum post I found, related to Snow Leopard, this would automatically select the best route based on source address and local links. This does not work well for me in the case of my VPN2 (everything goes down VPN2, it shouldn't), but maybe it will help in the vtun problem? Are multiple default gateways ordered in some way that affects routing?

    Yes, you can SPAN multiple ports, or multiple VLANs. This will SPAN ports 5/1 through 5/5. The spaces on either side of the dash are necessary.
    monitor session 1 source interface fastethernet 5/1 - 5/5
    http://www.cisco.com/en/US/products/hw/switches/ps4324/products_configuration_guide_chapter09186a008023401a.html
    Please rate helpful posts.

  • Contract automatically set as source of supply for PR/PO

    Hello MM experts,
    I am thinking about implementing the following scenario and I have 4 questions
    PM service order  that creates a Purchase requisition automatically.
    I will have in the system a MM contract for that material / vendor / plant
    It is possible in SAP that the contract is set automatically as a source of supply in the automatically created purchase requisition?
    If it’s not possible in the PR it’s is possible at the time of PO creation?
    What configuration is needed in the system for this?
    It is possible to automatically create a PO from a PR with no steps for the  user?
    Thanks a lot for your valuable help and regards.

    Dear,
    Here you need to consider two parameters.
    Contract  : Its an yearly or monthly contract with a desired vendor on Quantity(Quantity Contract) or Value(Value contract) based.
    But if you are creating a service P.R using maintenance order for that particular maintenance service.Here system considers the account assignment as "F".
    If you want to capture the service cost of contract,
    Create an AMC for the services of that vendor and create P.O with account assignment as "U-Unknown". At the time of service required by maintenance department, They will create a maintenance order and do service entry with respect to "Maintenance Order". So actual cost will update in maintenance order.
    You can create a "Automatic P.O "with respect to P.R as our friend Jurgen said for supply.This can be done by activating the check box in material master of "Purchasing" view.
    You have an option of assigning the agreement in 'Maintenance Order"At the time of creating a P.R through it.But If your contract "Account assignment" and P.R "Account assignment" Creating through maintenance order will be different.So system will populate an error message as" Account assignment in agreement and Requisition incompatible"
    Regards,
    Pardhu

  • Setting the source-interface in a tcl script for email.

    So once again I am trying to figure this out and failing miserably. The only thin I can think of at the moment is that I need to tell it to source from a specific vrf interface. I've tried looking through possible enviornment variables. Hoping I could set it that way but have yet to find one. I have read varios settings for source-interface and attempted them. But fail every time with:
    vpn_failure.tcl: smtp_send_email: error connecting to mail server:
    EEM Version:
    sho event manager version
    Embedded Event Manager Version 4.00
    Component Versions:
    eem: (rel4)1.0.4
    eem-gold: (rel1)1.0.2
    eem-call-home: (rel2)1.0.0
    Below is the stock format for sending the email from the script. If someone could guide me in the correct way to set this up to source the interface that would be awesome.
    # create mail form
      action_syslog msg "Creating mail header for vpn_failure.tcl script..."
      set body [format "Mailservername: %s" "$_email_server"]
      set body [format "%s\nFrom: %s" "$body" "$_email_from"]
      set body [format "%s\nTo: %s" "$body" "$_email_to"]
      set _email_cc ""
      set body [format "%s\nCc: %s" "$body" ""]
      set body [format "%s\nSubject: %s\n" "$body" "VPN Failure Detected: Router $routername Crypto tunnel is DOWN. Peer $remote_peer"]
      set body [format "%s\n%s" "$body" "Report Summary:"]
      set body [format "%s\n%s" "$body" "   - syslog message"]
      set body [format "%s\n%s" "$body" "   - summary of interface(s) in an up/down state"]
      set body [format "%s\n%s" "$body" "   - show ip route $remote_peer"]
      set body [format "%s\n%s" "$body" "   - show crypto isakmp sa"]
      set body [format "%s\n%s" "$body" "   - show crypto session detail"]
      set body [format "%s\n%s" "$body" "   - show crypto engine connection active"]
      set body [format "%s\n%s" "$body" "   - show ip nhrp detail (DMVPN only)"]
      set body [format "%s\n%s" "$body" "   - show log"]
      set body [format "%s\n\n%s" "$body" "---------- syslog message ----------"]
      set body [format "%s\n%s" "$body" "$syslog_msg"]
      set body [format "%s\n\n%s" "$body" "---------- summary of interface(s) in an up/down state ----------"]
      set body [format "%s\n\n%s" "$body" "$show_ip_interface_brief_up_down"]
      set body [format "%s\n\n%s" "$body" "---------- show ip route $remote_peer ----------"]
      set body [format "%s\n\n%s" "$body" "$show_ip_route"]
      set body [format "%s\n\n%s" "$body" "---------- show crypto isakmp sa ----------"]
      set body [format "%s\n\n%s" "$body" "$show_crypto_isakmp_sa"]
      set body [format "%s\n\n%s" "$body" "---------- show crypto session detail ----------"]
      set body [format "%s\n\n%s" "$body" "$show_crypto_session_detail"]
      set body [format "%s\n\n%s" "$body" "---------- show crypto engine connection active ----------"]
      set body [format "%s\n\n%s" "$body" "$show_crypto_engine_connection_active"]
      set body [format "%s\n\n%s" "$body" "---------- show ip nhrp detail (DMVPN only) ----------"]
      set body [format "%s\n\n%s" "$body" "$show_ip_nhrp_detail"]
      set body [format "%s\n\n%s" "$body" "---------- show log ----------"]
      set body [format "%s\n\n%s" "$body" "$show_log"]
      if [catch {smtp_send_email $body} result] {
        action_syslog msg "smtp_send_email: $result"

    I got this far, saw the MAXRUN error, bumped that out and then turned on debugging. I am still not connecting to the mail server. So I don't think I am reaching the mail server yet. I don't think it is using the sourceinterface. In debugging everyting in the script works except for the mail portion.
    Jul 29 16:01:00.334: %HA_EM-6-LOG: vpn_failure.tcl: Creating mail header for vpn_failure.tcl script...
    Jul 29 16:02:36.464: %HA_EM-6-LOG: vpn_failure.tcl: Process Forced Exit- MAXRUN timer expired.
    Jul 29 16:02:36.464: %HA_EM-6-LOG: vpn_failure.tcl:     while executing
    Jul 29 16:02:36.464: %HA_EM-6-LOG: vpn_failure.tcl: "action_syslog msg "smtp_send_email: $result""
    Jul 29 16:02:36.464: %HA_EM-6-LOG: vpn_failure.tcl:     invoked from within
    Jul 29 16:02:36.464: %HA_EM-6-LOG: vpn_failure.tcl: "$slave eval $Contents"
    Jul 29 16:02:36.464: %HA_EM-6-LOG: vpn_failure.tcl:     (procedure "eval_script" line 7)
    Jul 29 16:02:36.464: %HA_EM-6-LOG: vpn_failure.tcl:     invoked from within
    Jul 29 16:02:36.464: %HA_EM-6-LOG: vpn_failure.tcl: "eval_script slave $scriptname"
    Jul 29 16:02:36.464: %HA_EM-6-LOG: vpn_failure.tcl:     invoked from within
    Jul 29 16:02:36.464: %HA_EM-6-LOG: vpn_failure.tcl: "if {$security_level == 1} {       #untrusted script
    Jul 29 16:02:36.464: %HA_EM-6-LOG: vpn_failure.tcl:      interp create -safe slave
    Jul 29 16:02:36.464: %HA_EM-6-LOG: vpn_failure.tcl:      interp share {} stdin slave
    Jul 29 16:02:36.464: %HA_EM-6-LOG: vpn_failure.tcl:      interp share {} stdout slave
    Jul 29 16:02:36.464: %HA_EM-6-LOG: vpn_failure.tcl: ..."
    Jul 29 16:02:36.464: %HA_EM-6-LOG: vpn_failure.tcl:     (file "tmpsys:/lib/tcl/base.tcl" line 50)
    Jul 29 16:02:36.465: %HA_EM-6-LOG: vpn_failure.tcl: Tcl policy execute failed:
    Jul 29 16:02:36.465: %HA_EM-6-LOG: vpn_failure.tcl: Process Forced Exit- MAXRUN timer expired.
    Debugging On:
    Jul 29 16:28:51.471: [fh_smtp_debug_cmd]
    Jul 29 16:28:51.472: %HA_EM-6-LOG: vpn_failure.tcl : DEBUG(smtp_lib) : smtp_connect : attempt 2
    Jul 29 16:29:24.473: [fh_smtp_debug_cmd]
    Jul 29 16:29:24.473: %HA_EM-6-LOG: vpn_failure.tcl : DEBUG(smtp_lib) : smtp_connect : attempt 3
    Jul 29 16:29:57.475: [fh_smtp_debug_cmd]
    Jul 29 16:29:57.475: %HA_EM-6-LOG: vpn_failure.tcl : DEBUG(smtp_lib) : smtp_connect : attempt 4
    Jul 29 16:30:30.478: [fh_smtp_debug_cmd]
    Jul 29 16:30:30.479: %HA_EM-6-LOG: vpn_failure.tcl : DEBUG(smtp_lib) : smtp_connect : attempt 5
    Jul 29 16:31:00.482: %HA_EM-6-LOG: vpn_failure.tcl: smtp_send_email: error connecting to mail server:
    cannot connect to all the candidate mail servers
    Jul 29 16:31:00.483: %HA_EM-6-LOG: vpn_failure.tcl: vpn_failure.tcl script completed
    event manager environment _email_server 10.79.1.126
    event manager environment _email_from [email protected]
    event manager environment _email_to [email protected]
    interface Port-channel1.101
    description MGMT-1
    encapsulation dot1Q 101
    vrf forwarding MGMT-1
    ip address 10.79.1.252 255.255.255.0
    ip nat inside
    ip virtual-reassembly
    redundancy rii 101
    redundancy group 2 ip 10.79.1.254 exclusive decrement 10
    end
    #----------------------- send mail ----------------------
    # create mail form
      action_syslog msg "Creating mail header for vpn_failure.tcl script..."
      set body [format "Mailservername: %s" "$_email_server"]
      set body [format "%s\nFrom: %s" "$body" "$_email_from"]
      set body [format "%s\nTo: %s" "$body" "$_email_to"]
      set _email_cc ""
      set body [format "%s\nCc: %s" "$body" "[email protected]"]
      set body [format "%s\nSourceintf: %s" "$body" "port-channel1.101"]
      set body [format "%s\nSubject: %s\n" "$body" "VPN Failure Detected: Router $routername Crypto tunnel is DOWN. Peer $remote_peer"]
      set body [format "%s\n%s" "$body" "Report Summary:"]
      set body [format "%s\n%s" "$body" "   - syslog message"]
      set body [format "%s\n%s" "$body" "   - summary of interface(s) in an up/down state"]
      set body [format "%s\n%s" "$body" "   - show ip route $remote_peer"]
      set body [format "%s\n%s" "$body" "   - show crypto isakmp sa"]
      set body [format "%s\n%s" "$body" "   - show crypto session detail"]
      set body [format "%s\n%s" "$body" "   - show crypto engine connection active"]
      set body [format "%s\n%s" "$body" "   - show ip nhrp detail (DMVPN only)"]
      set body [format "%s\n%s" "$body" "   - show log"]
      set body [format "%s\n\n%s" "$body" "---------- syslog message ----------"]
      set body [format "%s\n%s" "$body" "$syslog_msg"]
      set body [format "%s\n\n%s" "$body" "---------- summary of interface(s) in an up/down state ----------"]
      set body [format "%s\n\n%s" "$body" "$show_ip_interface_brief_up_down"]
      set body [format "%s\n\n%s" "$body" "---------- show ip route $remote_peer ----------"]
      set body [format "%s\n\n%s" "$body" "$show_ip_route"]
      set body [format "%s\n\n%s" "$body" "---------- show crypto isakmp sa ----------"]
      set body [format "%s\n\n%s" "$body" "$show_crypto_isakmp_sa"]
      set body [format "%s\n\n%s" "$body" "---------- show crypto session detail ----------"]
      set body [format "%s\n\n%s" "$body" "$show_crypto_session_detail"]
      set body [format "%s\n\n%s" "$body" "---------- show crypto engine connection active ----------"]
      set body [format "%s\n\n%s" "$body" "$show_crypto_engine_connection_active"]
      set body [format "%s\n\n%s" "$body" "---------- show ip nhrp detail (DMVPN only) ----------"]
      set body [format "%s\n\n%s" "$body" "$show_ip_nhrp_detail"]
      set body [format "%s\n\n%s" "$body" "---------- show log ----------"]
      set body [format "%s\n\n%s" "$body" "$show_log"]
      if [catch {smtp_send_email $body} result] {
        action_syslog msg "smtp_send_email: $result"
      action_syslog msg "vpn_failure.tcl script completed"
    #------------------ end of send mail --------------------

  • JMF set video source to S-video/Tuner/Composite during runtime

    Does anyone know how to change Video Source from Video Tuner to Video Composite or S-Video?
    I'm using LifeView card. I can get them to work manually. However, I have no clue how to set them at runtime. I want to have buttons to swith from Tuner to Composite to S-Video at will.
    10 dukees to anyone who answers it!
    Thanks,
    Hiren

    If your code was an SSCCE*, I could run it
    against some images that I have successfully
    used to create MOV's (using my own variant of
    JPEGImagesToMovie).
    It isn't, so I can't.
    The only thing I can suggest (off the top of
    my head) is that the images need to be all
    the same size/width, and the same as
    specified for the MOV, otherwise a corrupted
    MOV will be written.
    * http://www.physci.org/codes/sscce/

Maybe you are looking for

  • Itunes overlapping content on multiple computers?

    Basically I just got a new laptop. I copied over my entire music folder over to the new laptop, and tried to double check it would sync properly with my iphone4s. The problem is I notice that it doesn't sync all the music, only about 200+ of them wit

  • Satellite L-50 can't play audio from multiple sources

    I can't play audio from multiple sources. This is very annoying when I have 2 youtube videos playing, if I start playing something on the media player, there is no sound on media player, it's the same when I have 2 media players open and 1 youtube vi

  • How to get mac to open dialog box before opening specific program?

    Hi I was wondering if there is a way have my computer ask me before opening a spacfic program. I have a program with a limited number of start-ups (demo) and would like a safe-gaurd from opening it unnesscaraly when clicking through files. Can this s

  • Master Detail Form with Report - Referring a column in another table

    I have master detail form with a report option. The master table has a column that also references a look up table. When the report is displayed the lookup column id is displayed. Rather I want to get the look-up value from a lookup table and display

  • Burning to disc

    Is there a way to burn movies that I have purchased from Itunes to a dvd to watch on my tv?? Any assistance would be appreciated. Thanks!