Possible to send files to 3rd party program?

I'm trying to add a "Send to Flickr Uploadr" context menu to bridge, but I've hit a snag in getting the files to the Flickr Uploader program. <br /><br />I've tried using openWith(), but i don't think that it does what I want it to do. But the documentation on openWith() is a bit sparse. If openWith() is indeed the wrong method to use, what is correct way, or is this even possible? <br /><br />Thanks.<br /><br />here's what i've got so far...<br /><br />// path to flickr uploader<br />flickrPath = "/C/Program Files/Flickr Uploadr/Flickr Uploadr.exe";<br /><br />// only have 1 instance of each<br />function checkEl(w){<br />>     var menuEl = MenuElement.find(w);<br />>     if (menuEl != null){<br />>          MenuElement.remove(w);<br />>     }<br />}<br /><br />// send selected files to flickr uploader<br />function send2Flickr(f){<br />>     fName = app.document;<br />>     for (i=0; i<fName.selections.length; i++){<br />>          files = new Thumbnail(File(fName.selections[i].path));<br />>          files.openWith(flickrPath);<br />>     }<br />}<br /><br />// check to see if the menu items exist, and remove and recreate if they do<br />checkEl('send2Flickr');<br /><br />// right click context menu<br />var cntCommand = new MenuElement("command", "Send to Flickr Uploadr", "at the end of Thumbnail", "send2Flickr");<br />cntCommand.onSelect = function (f){<br />>     send2Flickr();<br />}

Not all 3rd party software will respond to the commands Bridge sends it when you do openWith. Off the top of my head I'm not sure if openWith ends up sending a BridgeTalk message or some flavor or operating system or message or event (or both), but if you can get the 3rd Party application to open the file using the Bridge UI's File > Open With menu item, then I'd expect scripting's openWith to work as well.
One workaround you can try is the command line. If the third-party software has a command line interface, then you can try using app.system() to issue the commands. It's possible (on both Mac and Windows), for example, to run the DNG Converter from Bridge this way, and this is how the ExportToJPEG's "Send To Flickr Uploadr-Mac.jsx" sample script runs some AppleScript that tells the Mac Flickr Uploadr to open files. I believe that the Windows Flickr Uploadr has a command line interface, so you might try something like this...
// Make a file Object using the known path to the uploadr
var command = "\"" + uploadr.fsName + "\" \"" + fileToUpload.fsName + "\"";
app.system( command );
Note that you usually have to quote paths to files for this to work all the time. Also note that app.system() will block your script until the command returns. Finally, when I've used app.system() on windows in the past, sometimes a command that seems to work just fine from the windows Console doesn't seem to do anything via app.system(). In those cases I've found that witting out the command to a temporary .bat file and then sending the path to the .bat file to app.system() does work.
I know that I've tried before to run Flickr Uploadr windows this way from Bridge, but it was months ago, and I don't recall all the details. My recollection is that it basically worked, but the user experience was a bit clunky because of the modal behavior and because a Console window appears on the screen as the commands run, and I had to quit the Uploadr manually after upload to move on. If you are a clever windows batch file scripter (I'm not) maybe you can workaround those issues.
-David

Similar Messages

  • Pc is not recognising PDF file ( icon ) in emails and to open these it is loading a 3rd party program on the web. I have installed Adobe several times. To open my files I need to drag them to my Adobe program. any ideas??

    Pc is not recognize PDF file ( icon ) in emails and to open these it is loading a 3rd party program on the web. I have installed Adobe several times. To open my files I need to drag them to my Adobe program. any ideas??

    Hi aadeshs
    This problem is on my laptop  running Vista ( Business) on Adobe 10.0  ,   for many years I did NOT have a problem with this . No forum Pages on this. 
    Also i would like to know how screen readers can better interact with PDF as my wife has difficultys on some email attachments on her laptop , again there seems no easy avenue for someone in her situation surfing websites and forums  for Hours maybe ok ok for sighted people, but not if you are blind & use a screenreader.  No Support Help from Adobe is available.
    thanks
    oliver654837

  • Would it be possible for time machine to back-up files from 3rd party software such as windows platform using parallel?

    I'm wondering if it would be possible for time machine to back-up files from 3rd party software such as Windows XP using parallel software especially if it is isolated from mac?  Any advise would be greatly aprreciated.

    Short answer - yes Time Machine will backup everything within the Mac OS system.
    Longer answer - Parallels creates a pvm disk image "Parallels Virtual Machine" which Time Machine backs up.
    Due to the changes to the pvm file Time Machine is unable to read the minor changes and will somtimes do a full backup of it each time Time Machine runs and can chew through Back up drive space quite quickly.

  • Is it possible to rip itouch to pc? If not what 3rd party program would you recomend?

    My pc crashed and i lost my music libary. now i have all music still on my itouch but not sure if i can rip off it.  so if theres a 3rd party program that can do this what one would you use?

    To copy the settings and data to your new iTunes library try this:
    Make sure your computer is still authorized in iTunes. Disable autosync in iTunes, connect your iPod, right click on it in the device list and choose backup.
    This will save data, pictures and settings to itunes. See what's included in this backup here: http://support.apple.com/kb/HT4946
    Transfer your purchases the same way to copy all apps and bought media from the Store to your computer.
    Set up at least one contact and event on your computer to be able the merge your calendars and contacts after your iPod got wiped during the first sync.
    The rest of the data can be restored from the backup you made.
    Restoring: http://support.apple.com/kb/HT1414
    Music is one way only, from the computer to your device, unless you bought the songs in iTunes and transferred your purchases.
    There is 3rd party software out there, but not supported by Apple, see this thread: http://discussions.apple.com/thread.jspa?threadID=2013615&tstart=0

  • Running a 3rd Party Program

    All,
    I want to be able to launch and run a 3rd party program via LabView.
    Launching the program via "System Exe.vi" is simple enough.
    But now I want to programatically make all the button pushes. So instead of the user having to navigate the 3rd Party GUI, it would be done via Labview.
    It sounds like I would need a dll and know the entry points but if I only had the exe is it still possible?
    thanks
    Solved!
    Go to Solution.

    If you know the keyboard shortcuts, you could try using send keys:
    http://forums.ni.com/t5/LabVIEW/Anybody-knows-how-​to-do-send-key-function/td-p/348011
    Charles Chickering
    Architecture is art with rules.
    ...and the rules are more like guidelines

  • XML File to 3rd Party Provider w/o any Middleware

    Hi
    I have a requirement wherein we are required to send XML files to 3rd Party Supply chain provided w/o using any middleware in most secured form. The Customer is on ECC5.
    One of options i could think about is as mentioned below.
    -  file based and using SFTP to send the XML file to 3rd Party provider
    Could you please let me know if their's any other alternate approach to meet this strange requirement.
    PS : 3rd party provider can provide webservice. But the question is how do we consume this into ABAP envirnoment and call them into ABAP COde. Any pointers on this as well would be really helpful
    Thanks

    Hi,
    I remember working on ECC5.0 and consuming a web service to create an ABAP Proxy.
    @ Ravi
    Refer the below link for consuming a web service and creating an ABAP proxy.
    http://help.sap.com/saphelp_nw04/helpdata/en/bf/d005244e9d1d4d92b2fe7935556b4c/frameset.htm
    Regards,
    Chen

  • Abort/Exit 3rd party program

    Hi!
    I've developed a test system that flashes a device via a 3rd party flasher (hardware and software).
    Sometimes the 3rd party program freezes or crashes for an unknown reason, can be hardware or software.
    I communicate with the 3rd party program in a separate loop and uses the System Exec.vi to call the 3rd party program via its Command Prompt tool.
    I am pretty sure, without actually having tested, that the rest of my application is responsive and running.
    Question:
    I could implement a timer function that after X milliseconds says "Hey! You havn't completed the flash sequence in the time I gave you, ABORT!'.
    But... is there some way to kill that 3rd party program automatically when a timer indicates a problem? Without the user having to open the Task Manager and end the process manually.
    Or maybe another way to solve the problem.
    Best regards
    Peter

    What is that 3rd party device?
    Funny story:  I was working along side another developer that was having a simillar issue.  Out of the blue the 3rd party flash programmer would just hang up.  This is not desired in high volume automated production test systems.  After a few days of banging on the problem they asked me for ideas.  I immediately whent to the manufactures web-site saw they had a FAQ section and that FAQ#2 was "Is the xxx Device suitable for automated high volume systems?"
    BINGO!  one more mouse click and I found the answer.  "No, this is not an anticipated use case for xxx device.  Every once in a while the device becomes unresponsive requiring a system reboot to restore proper operation."
    This is what I call "Other people funny"  its only funny when it does not happen to you.
    Jeff

  • Unable to open files from 3rd party websites/applications

    Hi all,
    My new macbook arrived with QT 7.0.4, I used it perfectly for a week with no problem, but now after carrying out a 'software upgrade' via system preferences to QT 7.1.1 I now find that Quicktime will not open hardly anything!!!! Not bad considering Apples information at the download window states that 7.1.1 was implemented to fix bugs that prevented QT from opening files in 3rd party applications. Whats going on?.......
    In the mean time I've had to carry out a system reboot to go back to QT 7.0.4 and now its back to how it should be. What version of Quicktime 7 am I going to have to wait for before this issue if rectified?
    Cheers
    Smarteee

    Thanks all

  • Does Photoshop have extras, plug-ins, 3rd party programs, etc to purchase?

    Does Photoshop have extras, plug-ins, 3rd party programs, etc to purchase like music and video editing software can?
    If so, where is the price chart? I need to know these things as I am concidering purchasing Photoshop.
    Thank you.

    I did look at the plug-in page quickly. I noticed the free ones and the pay ones.
    From using producing programs, some photo editing and some video editing programs: I'd rather use what is there and what is inside first. Then look at the extras. I am realizing how deep this can get. But if I bought PS or CS 5 or whatever: I would want to learn.
    I know that some plug-ins, extras, etc are their own and are highly useful. I do understand that it can take longer but in some programs you can do what a plug-in can do though it may require more steps. I'd rather learn the program and then get the short-cuts. But again some are stand alone and highly uselful - these are what I am looking for and want to know about.
    I didn't know there were so many books though, this is new information. I believe that I was told a while ago about a couple or that one comes out with a new release. I like to read and know the who, what, when, where, why and how: but most of my time should be in the program. Eg: I read my photo editing programs manuals. That was important and helped me. I need to know terms, language, some short-cuts/how-to, etc. But getting in there is way more important.
    Any more information is great. Please keep it comming. I am not getting the program in the immediate future, it's the pricing issue right now and that it's way more important for me to use what I have as I am still learning big time. Plus I have to get on my camera a lot more and draw a bit more.
    Thank you.

  • Recommended Plugins, Filters, or 3rd Party Programs for Final Cut Pro?

    Can anyone recommend some of the must have plugins, filters, or 3rd party programs that you use with Final Cut Pro? Even if you do not consider it a "must have," but find it useful, I am interested in hearing about it.
    Thanks in advance!!!!

    try
    www.kenstone.net
    www.nattress.com
    search discussions, there are hundreds of posts

  • SAP BW data in ODS to XML and sending this XML file to 3rd Party

    Hi Gurus,
    We are having a scenario in which we have to convert our data in ODS to XML and need to provide this XML file to our clients so that they can use this XML file in their 3rd party system.
    Now the issue is that i have created ABAP program for converting into XML.
    If I execute this program, since i have given path as my Desktop, the converted XML file gets saved on my Desktop.
    But the problem is how i can provide this XML file to the client.
    Is there any way of converting this XML file to html and send them the URL ......
    plz suggest me.... what can be done......
    my ABAP code u can see in the following link
    Extract SAP BW Data into XML
    thanks and regards,
    P.Madhusudhan Raju

    Hi,
    Pls go through the link below it may help you
    http://www.sdn.sap.com/irj/scn/index;jsessionid=(J2EE3417100)ID1537206350DB01670597797729934632End?rid=/library/uuid/8c10aa90-0201-0010-98a0-f071394bc9ae&overridelayout=true
    Regards,
    Marasa.

  • Is it possible for a 3rd party program to create a list item in sharepoint online 2013?

    I have limited experience with the online version of sp. I've been asked if it's possible for a 3rd party app that our company is beginning to use, to programmatically add items to a list.    I don't have any details about the program yet,
    but I've been told that a batch would run at night and they would like it to create items in a SP list and pass along several fields of metadata.   
    Is this possible in the online version?   I know that Power Shell can do this, but is it possible for an app to get access to run a PS command?   
    thanks,

    Yes.
    There is something known as the Client Side (?) Object Model or CSOM. This allows you to create list items, lists and even sites with .Net code from a non server machine.
    You could run 'classic' Server Object Model  C#/VB.NET or PowerShell to do the same job and it might be easier as there's alot more material out there on how to do it. On the other hand it's probably going to make your solution more complicated and
    harder to maintain over the long run.
    This article introduces you to the CSOM and how to use it and is applicable to O365 as well as on-premise:
    http://msdn.microsoft.com/en-us/library/office/fp179912%28v=office.15%29.aspx
    As an alternative you can look at the REST API which allows you to use web services to interact with SharePoint.
    http://msdn.microsoft.com/en-us/library/office/fp179912%28v=office.15%29.aspx

  • 3rd party programs cannot alter message tones

    Hi, I have installed UltimateSMS and also Symbianon's SMS guard. Both programs could make individual messagetones on my older E50, but not on my E51. Is it not possible to change the message tone through 3rd party applications on E51?

    Hi, I have installed UltimateSMS and also Symbianon's SMS guard. Both programs could make individual messagetones on my older E50, but not on my E51. Is it not possible to change the message tone through 3rd party applications on E51?

  • Anyone know how to upload the HTS files from 3rd party provider to GTS??

    We are having following files provided by 3rd party provider - CUSTOMS Info
    NAFTA ROO
    U.S. HTS
    Per provider, SAP has developed a system so that GTS users can automatically reclassify items that are effected by a change and they have asked us to program the HS data needed.
    Anyone know how to do that?
    Please advise,
    Appreciated.

    Hi Reddy,
    Thanks for your input firstly, and i still need ur advise on the HTS upload.
    1. Below is the HTS files provided by 3rd party company. and I noticed that there is 3 types of files. "DTR" , "Nom" and "Txt". Could you explain what are they? and If I need to upload them seperately?
    2. Follow the procedure your provided - "classification > upload manually HTS codes into GTS system"  Actually, I didn't find upload mannually HTS codes into GTS  IN THE SAP CUSTOM Managment.
    I tried "Load Traiff Code Numbers from XML files" and "Load Commodity code from XML file".
    1) "Load Traiff Code Numbers from XML files"
    2) "Load Commodity code from XML file".
       a)  Select all files.
            - fill in "Data Provider",
            - "XML Files"-All files selected.
            - check " Output list", "simulation mode" "Nomenclature Active" and "Activate All Text Types"
            - no "Alternative Numbering Scheme" selected, and other selected.
            Error msg found:
            - Unable to find any defined structures for tariff assignment rule set "_DHSCN"
            - Incorrect order. Enter the first file(see long text)
        b)   only select "HSCN_Txt_I_00002001001.xml", the other is the same like bove.
              1. prompted to select a "From-Time Zone",   Select "UTC+8"
              2. Simulation was carried out successfully
        c)  only select "HSCN_Nom_I_00002001002.xml", the other is the same like above.
              But I meet error for this file:  "Incorrect order. Enter the first file(see long text)"
        d)  only select "HSCN_DTR_I_00002001007.xml", the other is the same like above.
              meet error msg:
              "Unable to find any defined structures for tariff assignment rule set "_DHSCN""
    HTS xml files of China from  3rd party provider
    +++++++++++++++++++++++++++++++++++++++++++++++++++
    2008-05-02  10:53         7,483,730 HSCN_DTR_I_00002001007.xml
    2008-05-02  10:53         7,980,857 HSCN_DTR_I_00002002007.xml
    2008-05-02  10:53         7,765,896 HSCN_DTR_I_00002003007.xml
    2008-05-02  10:53         7,605,204 HSCN_DTR_I_00002004007.xml
    2008-05-02  10:53         7,743,890 HSCN_DTR_I_00002005007.xml
    2008-05-02  10:54         8,007,036 HSCN_DTR_I_00002006007.xml
    2008-05-02  10:54         3,883,316 HSCN_DTR_I_00002007007.xml
    2008-05-02  10:51         6,087,448 HSCN_Nom_I_00002001002.xml
    2008-05-02  10:51         4,955,900 HSCN_Nom_I_00002002002.xml
    2008-05-02  10:50           260,960 HSCN_Txt_I_00002001001.xml
    +++++++++++++++++++++++++++++++++++++++++++++++++++

  • After 3rd Party Program

    Hi,
    My computer crashed and didn't back up my i-tunes. How exactly do I transfer my songs from my I-pod to my I-Tunes library after downloading all my songs on a third party program software. Please help!
    Thanks so much!

    Connect your iPod to your computer. If it is set to update automatically you'll get a message that it is linked to a different library and asking if you want to link to this one and replace all your songs etc, press "Cancel". Pressing "Erase and Sync" will irretrievably remove all the songs from your iPod. Your iPod should appear in the iTunes source list from where you can change the update setting to manual and use your iPod without the risk of accidentally erasing it. Also when using most of the utilities listed below your iPod needs to be enabled for disc use, changing to manual update will do this by default. Check the "manually manage music and videos" box in Summary then press the Apply button: Managing content manually on iPod
    Once you are safely connected there are a few things you can do to restore your iTunes from the iPod. If you have any iTunes Music Store purchases the transfer of purchased content from the iPod to authorised computers was introduced with iTunes 7. A paragraph on it has been added to this article: Transfer iTunes Store purchases using iPod
    The transfer of content from other sources such as songs imported from CD is designed by default to be one way from iTunes to iPod. However there are a number of third party utilities that you can use to retrieve the music files and playlists from your iPod. You'll find that they have varying degrees of functionality and some will transfer movies, videos, photos, podcasts and games as well. Have a look at the web pages and documentation, this is just a small selection of what's available, they are generally quite straightforward. You can also read reviews of some of them here: Wired News - Rescue Your Stranded Tunes
    TuneJack Windows Only
    iPod2PC Windows Only
    iGadget Windows Only
    iDump Windows Only
    iRepo Windows Only
    iPodRip Mac & Windows
    YamiPod Mac and Windows Versions
    Music Rescue Mac & Windows
    iPodCopy Mac and Windows Versions
    There is also a manual method of accessing the iPod's hard drive and copying songs back to iTunes on Windows or a Mac. The procedure is a bit involved and won't recover playlists but if you're interested it's available at this link: Two-way Street: Moving Music Off the iPod
    Whichever of these retrieval methods you choose, keep your iPod in manual mode until you have reloaded your iTunes and you are happy with your playlists etc then it will be safe to return it auto-sync. I would also advise that you get yourself an external hard drive and back your stuff up, relying on an iPod as your sole backup is not a good idea and external drives are comparatively inexpensive these days, you can get loads of storage for a reasonable outlay.

Maybe you are looking for

  • In Mountain Lion how does OS select between ethernet and WiFi when both are activated??

    In Mountain Lion how does OS select between ethernet and WiFi when both are activated??  How does OS use "both" networl accesses??

  • Playlist shuffle question

    As a new Ipod Nano owner I'm having a problem with the shuffle feature. I currently have three playlist loaded and I can't get the Nano to only shuffle one playlist. If I'm listening to "Blues" I get songs from "Classic" or "Christmas". Is this norma

  • Index coalesce

    hi masters., this is egarding index management. i am facing the problem regarding one sql query with union and order by clause. when i remove order by clause, the query runs faster,than with order by clause. is this the problem regarding index???? i

  • Record pricing conditions report

    Hello experts, My requirement goes like below..... A viewable and/or printable report is needed that will pull all open purchase orders within a time period that has a line item and material number where the price on the PO has been manually changed

  • Compare the differences between the "Insert" option for fluid grid layouts in DW CC6 2014 and DW6 CC

    Their are differences in the "Insert" menu for DW CC6 2014 and DW CC6.  Where can I find training to explain the differences between the "Insert" menu particularly regarding insertion of fluid grid layouts?