Automator service to open file in app only works if app is closed

For my work I frequently need to edit text files that have non-standard extensions (and many have no extension at all). So for convenience when browsing in Finder, I created a simple Automator service that opens selected files TextMate:
It works but the problem is that it only works if TM is initially closed before running the service. If it's open when the service runs, the TM menu bar appears but the file doesn't open. If I close TM and re-run the service, the file opens. How should I modify the service so that it will work whether or not TM is initially open or closed? Thanks!

Thanks! That works, but I had to keep the 'Get Selected Finder Items' as the first action.
Both of these configurations open an empty TextMate window:

Similar Messages

  • Firefox 32 - Download file to external application fails to open the application. Only works if app is used within Firefox as in Acrobat reader.

    Some of my users have started using Firefox 32 and discovered that files on the websites (pdf, xls, doc, etc) will not open fully if the application option is set to a windows application such as Acrobat Viewer, Microsoft Excel, Word, etc. The Download manager shows them listed and "hung" up. The file is downloaded to a temp location but the file is never opened and presented to the user. If the pdf option is set to open within Firefox using the built in Acrobat viewer, that will open within the browser.
    This did not happen with version 31 and installing this on a sandbox desktop reproduced the problem.
    We are running Windows 7 operating systems. Need help to solve this. Anybody?

    hello warnerm, this is a bug in the latest 32 beta 9 version which will be addressed in the release candidate 1 build which should be deployed via auto-updates to beta users tomorrow.
    a workaround for the moment would be to enter '''about:config''' into the firefox address bar (confirm the info message in case it shows up), right-click somewhere on the page and create a new string setting with the name '''browser.safebrowsing.appRepURL''' and value '''https://sb-ssl.google<i></i>.com/safebrowsing/clientreport/download?key=%GOOGLE_API_KEY%'''
    for reference see [https://bugzilla.mozilla.org/show_bug.cgi?id=1057764 bug #1057764] (please don't post in bug reports, but vote for the bug if you want to see it fixed)

  • Open/file in CS6 only shows the blue psd file.  I want to see what it looks like if open.

    Open/file in CS6 only shows the blue psd file.  I want to see what it looks like if open.
    I posted this earlier, but now I can't find it in the forum?

    You could use Bridge, or depending on your operating system, use one of the codec packs that let you view PSD thumbnails in Windows Explorer.  (I don't know OSX)
    This seems like a popular choice for Windows 7
    http://www.softpedia.com/get/System/OS-Enhancements/SageThumbs.shtml
    Personally, I just use Bridge, but I can see how an app like Sage Thumbs would be useful

  • I keep getting the message: "what should firefox do with this file" in Windows XP every time I want to download a file, e.g., adobe, excel, etc. How can this annoying message be deleted? The check box to "open file automatically" does not work!

    I keep getting the message: "what should Firefox do with this file" in Windows XP every time I want to download a file, e.g., adobe, excel, etc. How can this annoying message be deleted? The check box to "open file automatically" does not work!

    cor-el,
    Thanks for your prompt reply. However, the sources you gave do not seem to apply exactly to my situation. I have attached some screenshots that show what the dialogue box looks like for a pdf download, and what my settings in the Apps panel of Options are. You will note in the first screenshot that I have checked the box to handle this file type automatically; however, the next time I try to download a file of that type, the same dialogue box appears looking exactly like the one shown, so checking the "automatic" option appears to do nothing. The files to be downloaded from my Gmail messages are not generic or altered file types - they are shown as pdf, doc, docx, etc. So while your intent was good, your post did not help. Thanks anyway.

  • My faceook app only works when I am connected to wifi all other apps work on 3g except facebook

    I have updated my phone with all the recent updates including the newest facebook version.  All was working fine until one day the facebook app quit working.  I can use all my other apps without fail on 3g or wifi but my facebook app only works while im on a wifi network.  The minute it switches to 3g it fails to load.  I have tried deleting the facebook app and reloading it several times with no success.  Any suggestions?

    I am having the same problem..has your problem been resolved??

  • Why do some of my apps only work ón my iphone and not ón my iPad ?

    Why do some of my apps only work ón my iphone and not ón my iPad ?

    That should work on the iPad. Basic app troubleshooting from Apples support site. Items 1, 2 & 3 should not apply to your situation, but I posted the link at the end if you want to read them.
    4. Restart the application
    If the issue affects only a single app, try closing just that app:
    Press the Home button to return to the Home screen.
    Double-tap the Home button to display recent apps.
    Tap and hold the affected app until the red minus appears.
    Tap the red minus to quit the app.
    Press the Home button, then restart the app.
    5. Restart your device
    Hold the Sleep/Wake button until "slide to power off" appears. Slide to power off your device. When it is off, press the Sleep/Wake button to turn it back on.
    6. Reinstall the affected application
    Remove the application from your device and reinstall it.
    Touch and hold any application icon on the Home Screen until the icons start to wiggle.
    Tap the "x" in the corner of the application you want to delete.
    Tap Delete to remove the application and all of its data from your device.
    Press the Home button.
    Go to the App Store.
    Search for the application and then download it again.
    Note: If it is a paid app, ensure you are using the iTunes account you purchased the app with originally. If it is not, you will be charged for the app again. For more information regarding downloading previously purchased items, see this article.
    7. If the issue is still unresolved
    If you continue to experience the issue, contact the developer of the application for further assistance.
    http://support.apple.com/kb/TS1702

  • Can not open file download prompt in portal web app.

    Hi folks,
    I am migrating existing Struts app into portal web app and currently stuck on the following problem.
    In existing app, Struts action calls servlet that generates excel file, sets response headers:
    response.setContentType("application/vnd.ms-excel");
    response.setHeader("Content-Disposition","attachment;filename=thename.csv");
    that brings up "file download" prompt window.
    In portal app, the same code writes excel file content into browser window instead of the prompt.
    Has anyone had to deal with similar problem? Any help will be greatly appreciated.
    Alex.
    Version of portal used is 8.1 SP5
    Struts - 1.1

    Problem is resolved. For those who might be interested - specifying redirect=true on forward to servlet did the trick.

  • Kids email app only works in Admin acc

    Hi
    (Warning: Tediously long message alert! I'm sorry about the length of this post. It's only about an email program for a 6 yr old, but I've spent so long trying to get it to work that I'm determined to make it work now!)
    iMac G3 DV400 - OS X 10.3.9 - 320MB RAM
    I have downloaded & installed a child friendly mail application called Mail4Kids ( http://www.apple.com/downloads/macosx/email_chat/mail4kids.html ).
    It's a good application but I can only get it to work correctly in my Admin account. (& obviously I don't want to give my 6 yr old an Admin account!)
    The symptons are:
    Admin acc - On start-up Mail4Kids downloads any mail waiting on the server and then deletes it from the server. (I have checked this 'before & after' using Safari to look at my daughters webmail). Replying & sending of mail works correctly.
    My acc (Standard, No Limits) - On start-up Mail4Kids starts to download any mail waiting but only downloads the first message waiting. The download arrows continue to 'revolve'. Checking webmail via Safari show that the message has not been deleted from the server. The message can be read and replied to. Sending of mail works OK.
    If I click on 'Check Mail' the first message is downloaded again. If i click a second time the first message is downloaded a third time and I immediately get an error dialog box that states: "An exception of class NilObjectException was not handled. The application must shut down." Clicking the 'OK' button causes the application to shut down.
    My daughter's acc (Simplified, Simple Finder) - Same as my account.
    I have searched the net but found very little regarding Mail4Kids. I searched again using 'An exception of class NilObjectException was not handled'. Most of the hits (for other apps) seemed to point to a quicktime issue or locked files.
    I opened Mail4Kids and Activity Monitor & did an 'Inspect' - 'Open Files' in the Admin account and my own account. The open files were the same in both cases. I have pasted them at the end of this message. Using terminal I checked the file permissions on each path. They were all rwx for owner (Admin) and r_x for group and others.
    I then did a 'Sample' of the process in Activity Monitor. The results were significantly different for the Admin account and my own account. I better not post the results here as they are quite long.
    Can anyone help?
    Open files: (Admin acc & my own std account show the same (apart from users/ path))
    / (/dev/disk0s10)
    /dev/null
    /dev/console
    /dev/console
    / (/dev/disk0s10)
    0x01a00b7c file struct, ty=0x3, op=0x317820
    0x01a00b58 file struct, ty=0x3, op=0x317820
    /Applications/Mail4Kids.app/Contents/Resources/Mail4Kids.rsrc
    /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fram ework/Versions/A/Resources/HIToolbox.rsrc
    /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fram ework/Versions/A/Resources/English.lproj/Localized.rsrc
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/H IServices.framework/Versions/A/Resources/HIServices.rsrc
    /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fram ework/Versions/A/Resources/Extras.rsrc
    ->0x01c50564
    ->0x01adb860
    /Users/theors/Library/Preferences/DerekSoft.Mail4Kids/Mail4Kids.dat
    /var/tmp/SCDynamicStoreNotifyFileDescriptor-17923
    ->0x01015dc4
    iMac G3 DV400   Mac OS X (10.3.9)   320MB RAM

    Using terminal I checked the file permissions on each path. They were all rwx for owner (Admin) and r_x for group and others.
    Let me start by saying I've never even heard of Mail4Kid, but the above seems to indicate that the program needs to write some temporary files but can't since the program is owned by admin. Try changing the owner of all the files in the Mail4Kids application (it's really folder) to your username, (easily done via the command line with a 'chown -R' command) and then try to run it from your standard account. If that works try changing the ownership to your kids' username and then try running it from their limited account. HTH.
    -NifflerX

  • "open file" vi doesn't work in executable

    I have built an executable that reads a com port and displays the readings in a chart.
    The vi also has a "start logging" button that uses the "open file", "write to file", and "close file" vi's, and it works on the machine with labview installed on it.
    When saving it as an executable and executing it on a clean PC, I can select the com port, I can see the graph working, and when I start logging, I can select a new filename.
    However after closing the file, and opening it in a text editor, there is nothing in the file.  So I think there is a problem with the "write to file" vi.
    I tried this both in LV 8.5 as well as 7.1 with the same results. Any ideas? I have Visa and Run-time running on the clean PC. Are there any other drivers that I need to run on the host PC?

    You have a lot of problems with your VI:
    Lousy architecture. You have 4 loops. That's 3 too many. You only need one loop. The code that does the data logging should be in the main (and only) loop.
    Do not open and close VISA sessions every time you iterate. Open once. Close once.
    Do not open and close files every time you iterate. Open once. Close once.
    You do not need to write to an indicator and to a local variable at the same time. A local variable is not a separate entity from a control/indicator - it's the same thing. Thus, the write of the local variable is superfluous. Besides, if you were to correctly code this to use only one loop you wouldn't need the local variable in the first place.
    Why are you creating dynamic data from a set of 4 floating point values? Use Build Array to create an array. Charts and graphs do not require you to use dynamic data.
    Identical labels. You have four controls called "Current Temp °C". If I mentioned the "Current Temp °C" control, would you know which one I'm talking about? Make your labels distinct. Use captions if you want the text on the front panel to say the same thing. 
    I don't know if that serial stuff is a by-product of you opening an old VI in 8.5, so I don't know what that SetSerialTermChar VI is supposed to be. You should look at the serial port examples that ship with LabVIEW for updated VIs.
    That's it for now....

  • How to open files from old claris works with Appleworks 6 in OS X 10

    Hi,
    I have some claris works files backed up on a zip disk from a G3 with OS 7.X.
    Now I try to open them on another G3 with Appleworks6 in OS X 10.
    In Appleworks, I choose "open file" but those files are grey out so I cannot choose them. Is there anyway I can open those files in OS X 10?

    Kuul, welcome to Apple Discussions.
    MacLinkPlus @ http://www.dataviz.com/products/maclinkplus/ will probably translate the files so you can open them.
     Cheers, Tom

  • How do I create an Application with Automator that will open files in Photoshop Elements 11 and run an action?

    Here's what I'd really like the Script to do when I select one main folder:
    Look through all the subfolders, find all the PNG files and convert them to TIFFs, replacing the original PNG files.
    Open the converted TIFF files in PSE 11.
    Run an action on them in PSE 11 (which I already created that adds a white fill layer below the TIFF file.)
    Save each file in their original location and Close each file.
    Import them into LR.
    Anybody?  Bueller?  Bueller?
    If that's not possible, I'd love an Automator action that can convert the PNG files to TIFFs that can be viewed in LR 4.4.  If I convert them in PSE 11, LR can view them, but if I convert them using Automator, LR cannot.
    Thanks so much for any help you can provide.
    -Jen

    LabVIEW 7 added a property to get a command line argument. For older versions see http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3DA5B56A4E034080020E74861.
    I'm not sure I understand you problem with the Run button. If you set the execution mode to Run When Opened from VI Properties, it should execute once whenever it's called. I think that when building an executable, it changes the property to this if it's not already set. If the application does not have this set, it will not be running at all. I'm assuming that you are talking about the Run button on the toolbar and not a run Boolean that you've created on the front panel.
    Since you have the app builder, your other option is to create a DLL. If you can call a DLL in Matlab, then that would probably be simpler.
    Message Edited by Dennis Knutson on 11-28-2005 02:46 PM

  • Does anyone know how to open file '.balance' which made from 'Balance' app that I downloaded from App Store and now it's discontinue?

    I have my expense file which made by 'Balance' app. Now I cannot find the app in App Store and cannot open the file.
    If anyone has a way to open the file, please share.

    watanasak wrote:
    I cannot find any way to contact the developer.
    I thought only IOS app is back up to iTunes. Mac apps are not, am I right?
    I can't find the app anywhere in my system and all the Mac app download websites.
    I really need the data in the file.
    I'm not sure if any other apps can open '.balance' file extension.
    I'm confused. I thought you were talking about this Balance - it is an iOS-only app. If you are talking about some other app, then you will have to look on your Time Machine backup.
    I am quite certain that only that app will be able to open the data.

  • Office 2013 opens file in read only mode

    I have a client on Windows 8.1 Pro using Office 2013. When he access an office file from a network drive it opens in read only. When he saves the file to his desktop using save as it lets him open the file again in compatibility mode but he is unable to
    then overwrite the file on the network folder. It keeps giving him a permission error. I have deleted his profile, changed settings in office trust center settings and checked folder permisisons. I am out of ideas. Can anyone help me out here.
    Thanks

    Hi,
    Thanks for the reply.
    From the user, "Every file that I open, opens in read-only mode.  It appears that the security is set correctly and I have not changed anything, but, it does not allow it.  I have tried rebooting - not solved.  I tried disconnecting the shared drive and reconnecting - not solved.  However, when I do disconnect the mapped drive, I get a warning saying I have files open.  The problem occurs whether I access the files from the mapped drive or directly by drilling down through the folder structure." 
    When I try to move files over to the drive it says I do not have required permissions to overwrite or move a file. On a different computer he has full access but not on this one. Also the settings in trust center settings for file blocking and trusted locations
    also privacy.

  • Word 2013 COM automation fails to open file when offline

    I'm getting a weird error the I'm guessing may be related to OneDrive integration in Word 2013.
    I've got a Python script that uses COM Automation to get Word to open a .DOC/.DOCX file (the script should then paste something into the very first line, save the document, and close it).  When I'm online everything works great.  While
    using Word 2010 everything worked great, online and offline.  
    When I'm on the bus (and, therefore, offline - there's no WiFi/Clearwire/etc for my laptop) the script fails, and it fails specifically at the  line where I try to do the following:
    wordapp.Documents.Open("path_To_File\file.doc");
    The directory that contains the file is in OneDrive; it is marked as being "Available Offline".  
    My guess is that when Word 2013 is not on a network it's having trouble with the OneDrive integration.  
    I'd love any advice on either fixing this or what to look for next to better diagnose this problem.

    Hi,
    This issue more about Script, if you want more profession suggestion, please post it in TechNet Script Forum.
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Greta Ge CHN
    TechNet Community Support

  • Unable to open file in browser (Microsoft Word Web App, PDFs, etc) after updates

    We just updated with the recent updates, and now are unable to open any documents in the browser in IE. We are using version IE 11. This is not an issue in Firefox or Chrome. Does anyone have any fixes to this? This seems like some sort of compatability
    issue, but we are running our browser in compatability mode.
    Our temporary fix is just to have documents open in the client program, but this really isn't as convenient.

    etoile, can you check the ULS logs on the OWA server at C:\ProgramData\Microsoft\OfficeWebApps\Data\Logs\ULS\, reproduce your error, and see what is captured in the log?
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

Maybe you are looking for

  • Showing image instead of download link

    I am using an interactive report and entered this for the source. I want to show the picture instead of a download link however I don't get the picture I get a Source: select "IMAGE_ID", "SUBJECT", "CREATED_DATE", "CREATED_BY", decode(nvl(dbms_lob.ge

  • How to use accessible highlighting in HTML?

    I developing HTML5 web app and have a case when some parts of sentence should be highlighted. For example, "Your search for blac was adjusted to black". In markup i have something like that: <span> You search for <b>blac</b> was adjusted to <b>black<

  • Mbp stopped reading dvd but stills reading cd, is a damaged drive or an software problem? any solutions?

    the drive was working just fine but today it just reads cd´s , it spits every dvd i insert (burned or not)

  • Bug in CommPortIdentifier.getPortIdentifiers()

    Hi, CommPortIdentifier.getPortIdentifiers() From java communications API, when called again returns resultset twice. After each successive invokation it keeps adding the ports to the last result set. Here is the test code: import javax.comm.*; import

  • Urgent - Safari Issue

    At the bottom of my safari page, there's this bar which is full of URL links and numbers and it tells me how much of the page is loaded and stuff, is there any setting that will get rid of it?