Any help with picking POSIX file to display

So I ran this script to read out a text file
set examplefile to {}
set linesf to paragraphs of (read POSIX file (choose file))
repeat with nextline in linesf
          if length of nextline > 0 then
                    copy nextline to the end of linesf
          end if
end repeat
set textfileread to result
display alert textfileread
But I get this error
error "Can’t make POSIX file (alias \"Macintosh HD:Users:Stephen:Desktop:encrypt.txt\") into type file." number -1700 from POSIX file (alias "Macintosh HD:Users:Stephen:Desktop:encrypt.txt") to file
Any Ideas on how I can fix this problem?

Use:
set linesf to paragraphs of (read (choose file))
You don't need to get the POSIX path of something if you're not going to use it in a do shell script command.
(71173)

Similar Messages

  • I need help with a PDF file that is an image, the "Read Out Loud' option does not work, please help!

    I need help with a PDF file that is an image, the "Read Out Loud' option does not work, please help!

    You mean an image such as a scanned document?
    If that is the case, the file doesn't contain any text for Reader Out Loud to read. In order to fix that, you would need an application such as Adobe Acrobat that does Optical Character Recognition to convert the images to actual text.
    You can also try to export the file as a Word document or something else using ExportPDF which I believe offers OCR and is cheaper than Acrobat.

  • Begging for help with podcast xml file

    Hey All,
    I have a podcast on iTunes.  I am hosting the xml file and podcast mp3s on a friends server so Im not using any service.  Everything is working and Ive sucessfully added 4 podcasts so far, and it shows up correctly in iTunes on my PC.
    However my podcasts do not showup correct in the iTunes store website, or on idevices.  Meaning, I number my shows 001_"NAME" 002_"NAME" etc.  Yet in the iTunes store they show up out of order.  So my last show is not at the top its at the bottom, and they are all mixed up (like 002, 001, 004, 003 instead of  4,3,2,1)  Also the publish date is the same on two of them (and not what i have in the xml file) and doesnt show up at all on the other two.  I assume this is a problem with the xml file, yet I dont see any problems with it.  But it seems odd that it all works correctly in the actual iTunes program.  Ive tried different code, but im very much a noob at it, and everything i find online is from 5 - 10 years ago or wants you to host your podcasts with their site and I dont need that. 
    Here is the link to the show on the iTunes website so you can see what i mean:  http://itunes.apple.com/us/podcast/your-reality-recap/id501295325
    If anybody can, would you mind checking out the code in my xml file and letting me know if you see anything thats causing this issue?
    I zipped the xml file and put it here:  http://www.ericcurto.com/podcast/YRR.zip
    I would be truly greatfuly for any help with this.  Ive been trying to fix this for days and dont know what else to do. 
    Thanks!
    Eric

    Your feed is at http://www.ericcurto.com/podcast/YourRealityRecap.xml (please always post the feed URL, not its contents or a copy).
    I don't see the issues you mention. The order in the Store and when subscribing is what I would expect:
    The order in the Store depends on clicking the header to the column: the default is the first one. Some of the dates are a day out - this is quite commmon and is probably a time zone issue (it may be different where you are - I'm in the UK). I don't know why you are seeing a garbled order unless you've clicked on one of the other columns in the Store.

  • HT1766 I have an I pad Mini. Since i down loaded the new update ISO 7, my I Pad is not running certain media files either from Chrome or Safari browser. I called technical support but they failed to provide any help stating the media files may not be comp

    I have an I pad Mini. Since i down loaded the new update ISO 7, my I Pad is not running certain media files either from Chrome or Safari browser. I called technical support but they failed to provide any help stating the media files may not be compctable with new soft ware. I do bnot agree with their finding because i have I phone with ISO 7 updated soft ware and same files run on my I phone but not on I Pad. This was working fine before updating new software. This device is useless for me if i can not watch the program that i bought this for. I want device to replaced or taken back by the company. Thank you

    Here are the iPad Mini specifications:
    iPad mini - Technical SpecificationsNov 1, 2012
    The specifications explain exactly what types of files are supported under "TV and Video".

  • I am trying to update the extension manager 6.0.8 i am getting an error u44m1p7  any help with that pls

    i am trying to update the extension manager 6.0,8 i get an error (u44m1p7) any help with this issue please

    That the CS6 version
    Extension Manager 6.0.8 update
    December 10, 2013
    Macintosh | Windows
    Photoshop: Basic Troubleshooting steps to fix most issues
    Troubleshoot Update Errors
    Many update errors are caused by missing or modified files required by Photoshop, typically by a disk cleanup utility (Ex: CleanMyMac, MacKeeper, etc). Make sure you have the latest updates for your clean-up utilities or discontinue use.
    Explanations of error codes:
    U = Updater.
    44 = Install Update Error
    M1 = Automatic
    M2 = Standalone mode
    P = Patcher
    6 = Done With Errors
    7 = Installation Failed
    ISSUE: Installation failed. Error Code: U44M1P7, U44M2P7, U44M1P6
    SOLUTION: Run the installer. Reinstall Photoshop CS6 to repair/replace the missing/modified file. Select Help>Updates… to run the updater again. http://helpx.adobe.com/creative-suite/kb/error-u44m1p7-installing-updates-ccm.html

  • My iPod touch was stolen and recovered.  I can use my Apple id for this site but the theif changed the Apple id needed to update apps etc and I do not know how to delete his acct. Any help with this will be greatly

    My iPod touch was stolen and recovered.  I can use my Apple id for this site but the theif changed the Apple id needed to update apps etc and I do not know how to delete his acct. Any help with this will be greatly appreciate

    If the thief enabled activation lock on the device, then there is nothing that can be done.  Only the password for the Apple ID that it is locked with can disable activation lock.

  • HT4208 When I tap the Apple store, youtube and the itunes apps on my iPad they do not open. Any help with this please?

    When I tap the Apple store, YouTube and the iTunes apps, they don' launch. Any help with this?

    1. Double-click the Home button to close all Inactive Apps in Task Bar
    2. Hold the Apps in Task Bar down for a second or two until you see the minus sign
    3. Tap the minus sign to close App
    4. Tap center of screen to return to Home Screen
    5. Reset iPad. Hold the Sleep and Home button down for about 10 second until you see the Apple logo. Ignore the red slider

  • I just installed Lightroom 5 but can't import photos, there is no import option anywhere. Get pop-up saying error attempting to change modules  ?? Any help with this??

    I just installed Lightroom 5 but can't import photos, there is no import option anywhere. Get pop up saying error attempting to change modules.
    I had this with the trial , then I purchased license and still happens.  Any help with this ??

    <moved from Downloading, Installing, Setting Up to Photoshop Lightroom>

  • I'm having trouble with my clone tool. When I am cloning it appears OK (the image within the brush circles is the correct colours) however once the cloning is done, it processes leaving me with a darkened blur. Any help with what's going on would be appre

    I'm having trouble with my clone tool. When I am cloning it appears OK (the image within the brush circles is the correct colours) however once the cloning is done, it processes leaving me with a darkened blur. Any help with what's going on would be appreciated.

    Which tool in Camera Raw, exactly? The Spot Removal Tool? Adjustment Brush?

  • I have a 19 digit Adobe Photoshop Elements 12 Serial number.  It should be 24.  Any help with this?

    I have a 19 digit Adobe Photoshop Elements 12 Serial number.  It should be 24.  Any help with this?

    Where are you looking for the serial number?
    If you have the disks, the number commencing 1057 is usually inside the packaging. It’s necessary to pull out the white inner box.
    If you purchased this some while ago and the product, the serial number should be in your Adobe account. Click on the red Adobe logo (top left on this web page) sign-in with your Adobe ID (email & password) and choose Manage Account. You should be able to browse your purchase history and registered products.

  • My iMessage screen is locked horizontally and will not rotate. When I access the camera through iMessage it will not rotate either. Any help with this will be very much appreciated.

    My iMessage screen is locked horizontally and will not rotate. When I access the camera through iMessage it will not rotate either. Any help with this will be very much appreciated.

    Hi MikeyGway,
    If you are having rotation issues on your iPad, you may find the following articles helpful:
    iOS: Screen does not rotate
    http://support.apple.com/kb/ts3805
    iPad: Understanding the side switch
    http://support.apple.com/kb/HT4085
    Regards,
    - Brenden

  • I have Adobe 8 Pro and until recently when i open up a document it closes on its own in 5 secs. Any help with this?

    I have Adobe 8 Pro and until recently when i open up a document it closes on its own in 5 secs. Any help with this?

    What OS? Did it ever work. From what you say, it seems it has never worked. Has it always been on this OS?

  • TS2446 Hello, I'm Bethany and I'm having trouble with my apple ID I tried to buy something from he app store and they assed me some questions and anyway i have locked my account and don't know how to unlock any help with be very helpful thanks.

    Hello, I'm Bethany and I'm having trouble with my apple ID I tried to buy something from he app store and they assed me some questions and anyway i have locked my account and don't know how to unlock any help with be very helpful thanks.

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • When I attempt to send an email it goes to my trash folder. Any help with this?

    When I attempt to send an email it goes to my to my trash folder. Any help with this?

    you are a genius! i have been going mad with this, i have done everything o2, aol, and every 'expert' has suggested.
    the strange thing is that it was only one aol account that was affected, the other aol account on my phone was fine???
    any ideas on how to get rid of the primary smtp server that was causing the problem?
    thanks again!
    just ike to add if theres any relevance, my phone is a standard iphone4. BUT..... i think it was fine until everything synced with i cloud, through my Ipad2... i dont think its a ios 5 problem, as i didnt update to that until last weekend when i had run out of answers and tried to restore, whch didnt fix it either.

  • I can send iMessage's but cannot receive them. Any help with fixing it?

    I can send iMessage's but cannot receive them. Any help with fixing these?

    Is this happening on cellular or Wi-Fi, or both?

Maybe you are looking for

  • Web.show_document() with javascript

    Hi Guys, I'v been searched this forum about web.show_document() with javascript. I saw some threads said I can do like WEB.SHOW_DOCUMENT ('javascript:window.open("http://www.google.com","","fullscreen=no,titlebar=no,location=no,toolbar=no,menubar=no,

  • Setting tab order in Acrobat 9

    This is the first time I'm trying to set the tab order in a PDF created in Acrobat 9. I am used to the previous versions where all you had to do was click through the fields to set their order, Adobe seems to have changed it to be much more cumbersom

  • Mail: cannot delete unsent messages

    Hey! I have the following problem: 1. Added my Imap server to the Mail App. 2. Used the wrong number for the Smtp server 3. wrote my first mail and pressed sent -> mail could not pass of course 4. trying it a second time because I first thought it is

  • Low latency mode doesn t work?

    If I enable "Low latency Mode" nothing happens, Ioaded tons of Plugins and set the limit to 1 ms....Shouldnt it bypass some plugins? Someone who knows the problem

  • Trouble about inherited property icon

    Hi, I think the answer to this question is wrong: http://www.shiaupload.ir/images/05580302874684517163.jpg (here is the image sample) But the answer shouldn't have been C? Because an inherited property that has been changed is displayed with a red cr