How can I fix this wrong script?

A- Using a script I polpulate filemaker pro with a number of emails
One fo the fields (Attachments) tells the path of the attachment.
This perfectly working Applescript allows me to copy the Attachments to a folder different from the Mail folder where they are naturally located through Applemail
The attachments are in various formats: PDF, RTF. DOC, DOCX and more
However I am always able to select the whole text and copy it.
I created a Filemaker script as follows:
Perform Applescript:
tell application "FileMaker Pro Advanced"
          tell database "Email Archive"
                    tell table 1
                              set Ifile to field "Attachments" -- getpath
                    end tell
          end tell
end tell
tell application "Finder"
  activate
open Ifile as alias
end tell
later thr FMP calls another script with a dialogue asking me if I want to copy the clipboard content to another field in my database or simpy move to the nex record
The attachment folder field contains the path as folows
MAYMAC:Users:D:Desktop:Jobss:D:INBOX:curriculum_vitae_davide_sanna-4d4ef2ada5932 .doc (or ODF or RTF or DOCX)
However I always get this error in Filemaker;
Finder got an error : Can’t make "MAYMAC:Users:D:Desktop:Jobss:D:INBOX:curriculum_vitae_davide_sanna-4d4ef2ada59 32.doc"
into type item.
How can I avoid this error and get the chance to populate the Curri9cul Field in my DB with the content of the clipboard?

Hi,
try this
open item Ifile

Similar Messages

  • When I go to my iMessage it has me log in, and I never logged out, but it takes me to where it says verifying and then will take me back to where I sign in with it saying nothing is wrong. how can I fix this?

    When I go to my iMessage, it has me long in. I never logged out, but I can get to the part where it says "next" and I click that. then it will say verifying, but then take me back to the log in page and it doesn't tell my my username or password is wrong. how can I fix this?

    iOS: Troubleshooting FaceTime and iMessage activation
    FaceTime, Game Center, Messages: Troubleshooting sign in issues

  • I have a really old Itunes account.  I no longer have the email and when I go to put in my birthday it is coming up wrong because the birthday on the account does not have a year.  How can I fix this?

    I have a really old Itunes account.  I no longer have the email and when I go to put in my birthday it is coming up wrong because the birthday on the account does not have a year.  How can I fix this?  I have about 70 downloaded songs on this log in that I would like to get back.
    Thank you in advance.

    Contact iTunes customer support.

  • Since I downloaded version 4 of Firefox, I'm having the following problems: Extremely slow at loading all web sites, can't view PDF files from web sites, and lots of unresponsive script messages. How can I fix this?

    I downloaded version 4 of Firefox this week and have been having problems since. Firefox is now extremely slow at loading all web sites. Trying to view PDF files from web sites crashes Firefox. I'm getting lots of unresponsive script messages. How can I fix this?

    I downloaded version 4 of Firefox this week and have been having problems since. Firefox is now extremely slow at loading all web sites. Trying to view PDF files from web sites crashes Firefox. I'm getting lots of unresponsive script messages. How can I fix this?

  • The wrong personal and contact information comes up when I google "Anita Rich" in Firefox, how can I fix this?

    When I google my supervisor's name "Anita Rich" in Internet Explorer, the right person and contact information pops up. However, when I google "Anita Rich" in FIREFOX, the wrong person and contact information comes up instead. How can I fix this and get the correct person and contact info to pop up on Firefox??

    See Google support.

  • A prompt that says "Could not use the clone stamp because the are to clone has not been defined (option-click to define a source point), appears EVERY time I try to use the clone stamp. What is wrong and how can I fix this

    A prompt that says "Could not use the clone stamp because the are to clone has not been defined (option-click to define a source point), appears EVERY time I try to use the clone stamp. What is wrong and how can I fix this?

    If a tool is acting up, one suggestion is to reset the tool.
    Ctrl-click on the clone tool icon in the Options bar and select Reset Tool.

  • Firefox downloads a file with the wrong file extension. How can I fix this?

    The title says it all. When I download files, it comes out with the wrong extension, not sure what extension it comes out as.
    It actually just comes out as "file."
    How can I fix this? Is there something in about:config I can tweak to eliminate this error?

    Hi dartz!
    This type of problems are not related with the browser you are using, in this case, Firefox. This issues are the consequence of the way that the website "packed" the file.
    What you should do is download the file, locate the file, give right click on the file and select "Rename". Now, don't change the name!!! Just add "." and then the extension that you wanted. Example, you download the file "norwegianwood", after renaming it, it should read "norwegianwood.srt".
    Hope this works for you, take care!

  • Ok I forgot my Apple ID questions I went to try to change them but my rescue email is wrong how can I fix this

    Ok I forgot my Apple ID questions I went to try to change them but my rescue email is wrong how can I fix this???

    You need to ask Apple to reset your security questions; this can be done by phoning AppleCare and asking for the Account Security team, or clicking here and picking a method, or if your country isn't listed in either article, filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (107400)

  • My iPad when plugged in says not charging. What could be wrong or how can I fix this?

    My iPad when plugged in says not charging.....how can I fix this?

    Some USB 2.0 ports and accessories do not provide enough power to charge iPad. When this occurs the message "Not Charging" appears in the status bar next to the battery icon.
    Hence it is always recommended to use the iPad charger.
    Refer www.support.apple.com/HT4060

  • How can I put my mp3 files into my iTunes library? Every time I download a song from a website and try to drag it to my library, it won't add on. How can I fix this?

    Back then when I had the older update with iTunes i never had this problem with trying to put my mp3 files of music into my iTunes library. Now it doesn't want to be put into the library. Once I try to drag the music file to the iTunes library nothing happens, it just keeps showing a cancellation sign with my mouse. So how can I fix this?

    Hi William.
    The problem is probably that the index is corrupt and you need to completely re-create it rather than rebuilding individual mailboxes. I have no idea what the situation really is now after having tinkered with the contents of ~/Library/Mail/, though, so the following procedure may or may not work.
    Verify/repair the startup disk (not just permissions), as described here:
    The Repair functions of Disk Utility: what's it all about?
    After having fixed all filesystem issues, if any, and making sure that there’s enough space available on the startup disk (a few GB, plus the space needed to make a backup copy of the Mail folder), try this:
    1. Quit Mail if it’s running.
    2. In the Finder, go to ~/Library/Mail/. Make a backup copy of this folder, just in case something goes wrong -- e.g. by dragging it to the Desktop while holding the Option (Alt) key down.
    3. Locate Envelope Index and move it to the Trash. If you see an Envelope Index-journal file there, delete it as well.
    4. Open Mail. It will tell you that your mail needs to be “imported”. Click Continue and Mail will proceed to re-create Envelope Index -- Mail says it’s “importing”, but it just re-creates the index if the mailboxes are already in Mail 2.x format.
    Note: For those not familiarized with the ~/ notation, it refers to the user’s home folder, i.e. ~/Library is the Library folder within the user’s home folder.

  • My Outlook/iCloud calendar invites to others appear to work on my end and sync with my PC and mobile, but when other people "accept" the invite, it will not populate/add in to their calendar. How can i fix this without turning off iCloud?

    My Outlook/iCloud calendar invites to others appear to work on my end and sync with my PC and mobile, but when other people "accept" the invite, it will not populate/add in to their calendar. How can I fix this without turning off iCloud?
    I am at a new office that uses Outlook (not Outlook Exchange) which does not sync with my mobile... I just got iCloud set up on my PC to sync my contacts, calendar, reminders, etc... The sync worked (not without flaws, but the other issues seem solvable... I think), so that i can now see all my appointments on both my phone and on my PC. The problem I am having is that iCloud moved all of my calendar items from Outlook into iCloud calendar and now when I send out meeting/calendar invites the recipients may accept them, but the meeting does not get added to their calendar. This is a huge problem and may mean that i need to turn off iCloud.
    Does anyone know how to fix this?
    Thanks!

    I am replying to my own post here as I seem to have fixed the problem.
    I do have some calendars that are shared. Some of those are shared with users who have time zone support turned on. So i activated time zone support on my iphone, then deleted my icloud subscription. I then signed in to icloud again and voila... problem solved.
    It is a weird one as the other calendar views were always fine and when you opened an event that appeared in the wrong day (on list view), the correct date of the event was shown in the information...
    one more bug in a complicated system I guess

  • "Error: Could not complete your request because it is not a valid Photoshop document." How can I fix this on a mac?

    I was working on a project and I closed it after saving and closed photoshop. Then later when I came to make another adjustment to my PSD I opened the file and it said "Could not complete your request because it is not a valid Photoshop document." How can I fix this? I didn't shut off my mac while saving it. Someone please help

    Okay, I just talked to the person that originated the document.
    When this usually happens to me, it's because I've done something stupid like saved a .jpeg as a .psd. So that's what I tried. I tried a few other extensions as well, so I thought that it was not an extension problem. Well, the originator told me it had originally been a TIFF, which was the ONE FILE EXTENSION I DIDN'T TRY. :\
    Anyway, that fixed it. Usually this error indicates either a corrupt file or the wrong extension, just in case anyone ever digs this convo up later.

  • After upgrading my iPhone 4S to iOS6, my Find My Friends app no longer links to my Contacts and does not show contact names. It only shows e-mail addresses and does not link up to the corresponding email address in my Contacts. How can I fix this?

    After upgrading my iPhone 4S to iOS6, my Find My Friends app no longer links to my Contacts and does not show contact names. It only shows e-mail addresses and does not link up to the corresponding email address in my Contacts. How can I fix this?

    I am also having problems with a site I am building. No matter what websafe font I use it displays as New Times Roman in FireFox. The correct fonts show in both IE9 and Chrome.
    In addition, text shifts in FireFox. I have to position other text objects farther and farther apart as I go down the page or they start to overlap. Nav buttons and other images also have to be positioned in the wrong place for them to be in the correct place when the page is opened in FireFox. FireFox should display pages correctly by default. I can't expect th average user to have to tweek his/her settings to display my site.
    I have been recommending FireFox on my website as the best browser. I might have to change that and abandon FireFox myself.

  • Using Mavericks Spelling and Grammar in Pages document causes Pages to freeze. Must Force Quit. Mavericks spell checker works OK in Text and Emails. How can I fix this problem?

    Using Mavericks' Spelling and Grammar in a Pages document causes Pages to freeze, Must Force Quit. How can I fix this problem?
    Mavericlks Spelling and Grammar works in Pages when used manually. And it works automatically in Text and email.

    Another autocorrect bug:
    I type a lot of lyrics, which tend to cotain words like ’cause and ’em instead of because and them.
    I've set up autocorrect instances to change a plain apostrophe with an ending, single curly quote for these words, but they are invariably changed to a beginning, single curly quote mark by Pages. The only way I can get the correct curly quote is to type over the wrong quote manually and hope that I don't have to edit the rest of the word again, as this would cause autocorrect to kick in again and change the quote to the wrong, beginning curly mark again.
    Does anyone know how to get around this tedious problem?

  • I'm trying to uninstall firefox and reinstall it as it keeps freezing, but it wont close and so I cant reinstall it. How can I fix this?

    For the last fortnight or so, firefox kept freezing, but it would always fix itself within a minute or so. I did a computer scan and everything was clean and I reduced the number of tabs I had open to try and speed things up, but even when I had only one tab open, it would freeze. Today, it froze and hasnt fixed itself even after 5 hours, and after ive restarted my laptop. A message keeps popping up about 'a script has stopped working' and whatever I press makes no change (stop script, or continue). Im trying to uninstall and reinstall firefox, but I can't uninstall it until the programme is closed. But I cant close it as it is completely frozen. How can I fix this?
    Thanks in advcance.

    Usually uninstalling and reinstalling only helps if the program files are damaged. When the issue if an add-on or setting, then you wouldn't expect to see any change. (I am assuming that you do not remove all your personal data, as that would blow away your bookmarks.)
    If this started after you installed Firefox 27, do you want to test whether Firefox 26 still works smoothly? This article has a link to download the installer from Firefox 26 (you need to visit using Firefox 27 to get the link): [[Install an older version of Firefox]].

Maybe you are looking for

  • Netweaver 2004s EP: Portal keeps dropping?

    We have rather recently installed NW04s EP and are having some real issues with it. Main issue being, after we get the portal up and running, after about 10 mins it drops completely. Initially (after SPS06 install) the problem was that the Portal wou

  • Getting an error when running OPENROWSET on remote SSMS

    Hi! I'm getting an error when I execute OPENROWSET command from a remote SQL Server Management studio. But has no problem when directly execute the command on our database server. Msg 7303, Level 16, State 1, Line 2 Cannot initialize the data source

  • Selecting data dynamically

    Hi all, I have a table ZADDRESS which has fields like MOLGA,FIELD1, FIELD2, FILED3, FIELD4, FIELD5---FIELD8. Based on MOLGA, the values stored in the table would be names of the fields of infotype 6. Say STRAS is sotred in FIELD1, LOCAT in FIELD2. Fo

  • 1603 fatal error during installation-L7680 all in one printer

    I continue to get this error because the installation finds newer software and quits.  I have completed the MSI error 1603 solution 16 page paper for windows XP and was unsuccessful.  I then used CCleaner to clean all registry errors, and that still

  • Use Regular Expressions to remove open/close anchor tags but leave the text contained within alone

    I have a large file with lots of anchor tags.  Many of the anchor tags have no HREF specified and do nothing.  They aren't hurting anything, either, but I'd like to get rid of them, leaving the anchor tags that do have HREF alone, and leaving the tex