Automatically open in Preview script wont work on 10.6

Trying to take pictures with an Eye-Fi card and have them automatically open full size in Preview upon uploading. The script I have works just fine for my iMac running 10.5, but not at all on my iMac running 10.6. The script works fine if I physically drag a file into the designated folder, but not it uploaded. Same thing when I make folder action scripts in Automator. Please help. Here is the script:
on adding folder items to this_folder after receiving these_items
-- PROCESS EACH OF THE ITEMS ADDED TO THE ATTACHED FOLDER
repeat with i from 1 to number of items in these_items
set this_item to item i of these_items
tell application "Preview"
activate
open this_item
end tell
end repeat
end adding folder items to

Does it change anything if you write the script as follows?
*on adding folder items to this_folder after receiving these_items*
*   tell application "Preview"*
      activate
*      repeat with this_item in these_items*
*         open this_item*
*      end repeat*
*   end tell*
*end adding folder items to*

Similar Messages

  • My Mac air book screen automatic change and automatic open different programs during my working it's move its self and I lost my work and mouse pointer automatic dance. Help me to solve

    My Mac air book screen automatic change and automatic open different programs during my working it's move its self and I lost my work and mouse pointer automatic dance. Help me to solve
    Any one can help me

    Thank you for your response - I'll give it a go.
    Also, just to update, my iMac cursor seems to glitch a little bit less now. It seems that at least ONE of my problems may have been caused by sitting my iPhone upon my WACOM tablet. The tablet must receive some sort of disruption from having my phone on it - and removing it seems to remedy a fraction of my mouse-jumping problems - if only for a meanwhile.
    The mouse cursor still does jump around on its own occasionally, and the other mouse problems do persist - so this must not be the only culprit for my array of problems.

  • Attachment don't open en previewer is not working in Outlook 2013

    When i get office attachments in an e-mail in outlook 2013 on a windows 8.1 pro.
    The attachments don't open. And the previewer of outlook tels me that the content can not be previewed.
    Any one any idea what can be the solution to open and preview these documents?

    Hi,
    Did you get any error message when you try to open attachments?
    What's the file type of the attachments? Can you open and preview a Word or Excel attachment in Outlook? By default, Microsoft Outlook 2013 blocks potentially unsafe attachments (including .bat, .exe, .vbs, and .js files) that can contain
    viruses.
    In addition, please try to clean out the Temporary Outlook Files folder to check if it helps. See:
    http://www.howto-outlook.com/faq/securetemp.htm
    Please let me know the result.
    Regards,
    Steve Fan
    TechNet Community Support

  • Firefox will not open ANY site. Wont work AT ALL. Nothing seems to be working.

    Firefox will not open ANY site. It worked last night, but not today. I uninstalled it many times, didn't worked. It displays the screen that says "unable to connect" yet chrome and explorer both work. I have disconnected and reconnected a few times, restarted my laptop, neither of those worked either. I have also tried turning "safe mode" off after re installing firefox, but again, that did not work. I need help :(.
    Although, before this, firefox was not letting me use voice recording sites or any site that let me watch television online. It would load the commercials, but not play the episode. It wouldn't even let me upload pictures to photobucket. However, it worked using chrome or explorer.

    Looks like a bunch of people have this problem. Anyone got any ideas to fix this???

  • Script wont work after building/burning dvd

    Hi everyone,
    I have a problem with a HUGE dvd-project I'm working on at the moment. It's a compilation dvd with 50 different short videos and approximately 55 menus. a large part of the 50 videos is connected through the menus with 201 unique buttons.
    First I made different stories to be sure the viewer gets directed to the menu he/she came from when a video ends. But because the project became too big (99 tracks and or stories is the maximum) I got into scripting.
    I thought I actually managed to write the right scripts, but now it seems that a stand alone dvd-player doesn't recognize the scripts. Every time a video ends or I use the menu button on the remote control the (first) main menu appears.
    *So my question for all the friendly folks out there on the other end of the glass fiber-cable is: What can I do to make it work? Is this a problem someone recognizes? Is it my scripting? Is there a way to work around scripting?*
    If you need more info please let me know. I wanted to keep it as short as possible at first, but I can elaborate some more if needed.
    thanks in advance
    ciao!

    As already said, the pre-scripting is usually the culprit... and as StudioX said, I \did leave much of the detail out in that article, which was intended to build on from other sources, such as the manual!
    If you remove the setting which puts the scripts as prescripts, and be explicit with the menu jumps (i.e. write them out in full each time and don't rely on 'current item' and dividing by '32'), then the scripting should work.
    Additionally, the script lines you quote in your prescript may not work, depending on where you are in the disc when they are run. The very first script you create will have a value of 63489, which when you divide by 32 gives just over 1984, so will be rounded to either 1984 or 1985. Since this does not equate to any menu item then the jump cannot work, since GPRM3 will never be equal to '1'. As a result the disc reverts to the main menu.
    To make this more reliable you need to work out the value of the last item, which if it is track or story 1 will be 49280. Story 2 in track 1 will be 49408, story 3 49536. This continues even if you then go to a new track. Knowing this the maths then to get to a menu is easier.
    If you 'get last item' and know that you are coming from a track or story then you can subtract 49280 and divide by 128. If you are on track or story 1 then the result is zero. Otherwise it is going to be 1, 2, 3, etc. If you know which clips you access from each menu then you can add a series of 'if' statements, for example:
    Jump menu1 If (GPRM3 <= 20)
    Which would mean anything up to your first 20 clips would send you back to menu1.
    You can then add in the button jump before this statement and you should be getting closer to what you need.

  • Applescript script wont work under Mail's rules

    I have an Applescript that works perfectly for replying to certain incoming emails when it is called on manually yet when I try to set it to run automatically as part of Mail's rules in preferences, it just wont run. The other criteria within the same ruel work perfectly. It's just the Applescript that wont function. Any ideas as to what may be impeding it from working ?

    there is a known bug in apple script which hangs the script if the a mail rule makes an outgoing message. i submitted a bug report about it a couple of months ago and was told that it's a known issue.
    There is a workaround. see the post by Todd laney in [this thread|http://discussions.apple.com/thread.jspa?threadID=1226817&start=0&tstart =0].

  • Make grid script wont work??

    i cant seem to make this work - i create a graphic frame but when i double click the make grid script i get this message - what am i missing?

    Hi,
    Is it modified?
    I cant see "alert" part of code on my side (CS5). Script "do nothing" if cant do something.
    Paste function main() content here
    Jarek

  • Why wont Google Chrome open and says it wont work with this version of mac os 10

    I just bought a macbook and when I went to instal Google Chrome it told me it isnt compatable with mac os 10

    You should be able to update to OS X 10.6, or, if the Macbook is a late-2006 or newer one, to 10.7
    You can still buy 10.6 from the Apple Store - http://store.apple.com/us/product/MC573Z/A/mac-os-x-106-snow-leopard
    OS X 10.7 should be in the Mac App Store and is only available by downloading it from the online Mac App Store, but you will need 10.6 to get the store in the first place (the Mac App Store appeared with iOS 10.6.6).

  • Automatically open pdf with Preview

    I noticed that after upgrading to 10.5, pdf do not automatically open with Preview. I know that in 10.4, I was able to change this in Safari, but this option seems to have vanished in 10.5. Any help?

    Right click to "download" (save) the PDF files to your machine and then use Preview as the "Open With" app.

  • Downloaded PDFs automatically open in Acrobat Readr. How switch to Preview?

    I downloaded Acrobat Reader awhile ago, and since then downloaded PDFs from Firefox have opened in Adobe. I'd like them to automatically open in Preview. If I "Get Info" on a PDF, it still says that it will open in Preview. Do you know what I should do?

    One thing you can check: go to the Firefox preferences and click on the Applications tab. Look in that list to see if there's an entry for PDF files. If there is and it's set to Acrobat Reader, click on the action and select Preview.
    Hope this helps.

  • Force PDFs to open in Preview instead of Safari?

    When I click on a .pdf link in Safari, it opens up in the browser as part of Acrobat Professional. How can I instead have it automatically open in Preview (which is much faster, less bloated)?

    Hi
    First open Acrobat Professional. Open Preferences. Change the PDF viewer default.
    Next, go to the Finder: Internet Plug-ins folder in either the main or User Library. Remove the Adobe PDF plug-in. Restart Safari.
    PDF should now open in Safari. If you want to save or print it, right or control click to access the contextual menu. You can also port the PDF to Preview via the Contextual Menu.

  • Itunes is installed but wont work

    i installed itunes and called the apple store they got it to work but when i shut down my computer then turned it back on and i went to open it and it wont work i mean this is the 5th time i had a problem with this please just fix it onces and for all

    this are all the things i had to disenable for itunes
    to work: aim,aol,aolsp scheduler,aoldial,google
    desktop,aolhostmanager,incd,inkmonitor,backweb-8876480
    ,isstart,logitray,lvcoms,mimboots,mm_tray,msmsgs,
    msnmsgr,mwsoemon,navapw32,cfgwiz,nerocheck,plaxohelper
    ,promon,realplay,jusched,weather,winampa,pyyiia,adobe
    gama loader,epson status mani.....,logitech desktop
    m...., my web search ema...,opph,rddk,my web search
    ema...
    that is all of them
    I am having the same problem, all of a sudden. I have uninstalled and re-installed iTunes several times to no avail. The iTunes set-up goes through the entire process, but when I try to open iTunes, I receive an Error message stating that I need to report it to Microsoft. Again, no problem earlier in the week - problem started yesterday. Any help for me or solution with your issue?

  • Java just wont work on my computer

    i reinstllsd it more then 3 times alredy and tried using diffrent browsers
    i have the newst one instelld right now
    i have windows xp most updated
    but no matter what java applet i am tring to open online it just wont work
    it gives me three eror messges
    on after the ather and then the file just has a red x on it
    first this
    java.security.PrivilegedActionException: java.io.IOException: ???? ?????, ?? ?????? ?? ?????? ?? ????? ????? ?????? ??????
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.deploy.security.CredentialManager$CredentialPersistor.openInputStream(Unknown Source)
         at com.sun.deploy.security.CredentialManager$CredentialPersistor.getAllPersistedCredentials(Unknown Source)
         at com.sun.deploy.security.CredentialManager$CredentialPersistor.access$000(Unknown Source)
         at com.sun.deploy.security.CredentialManager.<init>(Unknown Source)
         at com.sun.deploy.security.MSCredentialManager.<init>(Unknown Source)
         at com.sun.deploy.security.MSCredentialManager.getInstance(Unknown Source)
         at com.sun.deploy.services.WPlatformService.getCredentialManager(Unknown Source)
         at com.sun.deploy.security.DeployAuthenticator.<init>(Unknown Source)
         at sun.plugin.AppletViewer.initEnvironment(Unknown Source)
         at sun.plugin.AppletViewer.initEnvironment(Unknown Source)
    Caused by: java.io.IOException: ???? ?????, ?? ?????? ?? ?????? ?? ????? ????? ?????? ??????
         at java.io.WinNTFileSystem.createFileExclusively(Native Method)
         at java.io.File.createNewFile(Unknown Source)
         at com.sun.deploy.security.CredentialManager$CredentialPersistor$1.run(Unknown Source)
         ... 11 more
    then this one
    java.lang.NullPointerException
         at java.io.ObjectInputStream$PeekInputStream.read(Unknown Source)
         at java.io.ObjectInputStream$PeekInputStream.readFully(Unknown Source)
         at java.io.ObjectInputStream$BlockDataInputStream.readShort(Unknown Source)
         at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
         at java.io.ObjectInputStream.<init>(Unknown Source)
         at com.sun.deploy.security.CredentialManager$CredentialPersistor.getAllPersistedCredentials(Unknown Source)
         at com.sun.deploy.security.CredentialManager$CredentialPersistor.access$000(Unknown Source)
         at com.sun.deploy.security.CredentialManager.<init>(Unknown Source)
         at com.sun.deploy.security.MSCredentialManager.<init>(Unknown Source)
         at com.sun.deploy.security.MSCredentialManager.getInstance(Unknown Source)
         at com.sun.deploy.services.WPlatformService.getCredentialManager(Unknown Source)
         at com.sun.deploy.security.DeployAuthenticator.<init>(Unknown Source)
         at sun.plugin.AppletViewer.initEnvironment(Unknown Source)
    and then this one
    java.lang.NullPointerException
         at java.io.ObjectInputStream$PeekInputStream.read(Unknown Source)
         at java.io.ObjectInputStream$PeekInputStream.readFully(Unknown Source)
         at java.io.ObjectInputStream$BlockDataInputStream.readShort(Unknown Source)
         at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
         at java.io.ObjectInputStream.<init>(Unknown Source)
         at com.sun.deploy.security.CredentialManager$CredentialPersistor.getAllPersistedCredentials(Unknown Source)
         at com.sun.deploy.security.CredentialManager$CredentialPersistor.access$000(Unknown Source)
         at com.sun.deploy.security.CredentialManager.<init>(Unknown Source)
         at com.sun.deploy.security.MSCredentialManager.<init>(Unknown Source)
         at com.sun.deploy.security.MSCredentialManager.getInstance(Unknown Source)
         at com.sun.deploy.services.WPlatformService.getCredentialManager(Unknown Source)
         at com.sun.deploy.security.DeployAuthenticator.<init>(Unknown Source)
         at sun.plugin.AppletViewer.initEnvironment(Unknown Source)
    the a red x where the applet shold be
    agein it happens to every java applet i see online

    Britteney26 wrote:
    i bought a gatway computer with windows 7 on it and the linksys wusb600n wireless adapter-its supposed to be compatible with windows seven but its really not. does anyone know a good adapter that works? i have a linksys router too.
    Brittney26, A Windows Vista Driver should be compatible with the item in the event you cannot obtain a Windows 7 Driver for it. Have you also tried to perform an update through the Windows Update function of your operating system?
    *******DISCLAIMER********
    I am not an employee of BBY in any shape or form. All information presented in my replies or postings is my own opinion. It is up to you , the end user to determine the ultimate validity of any information presented on these forums.

  • How do I make a webpage automatically open when i start up mozilla firefox?

    Currently when I open firefox, certain windows automatically open (ie. gmail, usps, my work website, etc.) these windows were set to open at startup by the person that previously had my job. There are other webpages that I would like to open at startup but I can't figure out how to :) please help!

    On other platforms instead of Tools > Options use:
    *Linux: Edit > Preferences
    *Mac: Firefox > Preferences
    *Windows: Firefox > Options or Tools > Options
    See:
    *https://support.mozilla.org/kb/How+to+set+the+home+page

  • My preview box wont isn't working, and my project won't open

    Not only does the video not play back in the preview box (but it will play back in full screen), but I have a project that wont open at all. Its a seven minute video so far and it suddenly wont let me view it. Its still listed under Project Library but I cant access it. This happened after my iMovie froze while I was playing the project back.
    My system preferences are updated, and I read and followed someones elses directions to delete both "com.apple.iMovieApp.plist" and "com.apple.iApps.plist" but that didnt do anything.  This is all on my desktop so I cant take the whole thing into apple! Lol. Please any suggestions would help. I put so much time into it I would hate to have to start all over again! Especially with no preview box working :/
    This is my first time using iMovie and the computer is only 6 months old.
    Thank you so much!!!

    Ok figured out that my project was corrupt (idk how) and when I removed it out of iMovie projects folder than the preview box started working again... How confusing.

Maybe you are looking for

  • Why is itunes no longer recognizing my iphone 5 on macbook pro?

    My iphone 5 has stopped appearing in my itunes this week. I have tried following the troubleshooting guide on Apple Support but that did not solve the issue. Can anyone please help?

  • [SOLVED]as you can install a printer that is on my LAN on my archlinux

    hi I have the following problem I have a print server with multiple printers connected to it, it packs installed on my archlinux need to use those printers? thanks Last edited by jccl1706 (2010-03-15 23:42:49)

  • Pink Circles in Highlights with Olympus EP-1

    When editing pictures in Lightroom, highlights such as clouds or lights are developing pink fringing, or circles, in the white areas. - This only happens in Lightroom, not in the Olympus Master software. - It does not occur in .jpg files. - It only s

  • Ipad 4 screen freezes or turns blue

    Continues to freeze screen or screen turns blue. Have to do hard reset to get back on. Tried restore but still doing this.

  • Scrolling menu with indpendent static text

    I was hoping someone would be able to help me, im not very experienced, but i learn pretty quickly. This is a screenshot of my menu, it is a horizontal scrolling menu. Upon rollover, the icons glow red. I copied the actionscript from something i foun