Host Adapter DOCUMENT_WRITE_PREPROCESS Event, not enough time

Dear all
I want to do some stuff before the document saves.
I use the Host Adapter with Illustrator
When I register a handler:
AIEventAdapter.getInstance().addEventListener(AIEvent.DOCUMENT_WRITE_PREPROCESS,handler);
the function gets called when saving, but the document is saved before my actions are finished. Can I get Ilustrator to wait till my function has finished?
In my case I want to write some XMP data right before the document is saved. Is this impossible? What the point of this Event  if cannot finish your actions before the actual writing of the document is done?
regards

Or to put it different:
How can I do some action before the actual saving of the document is done. How can I update the XMP data before the data is saved?
How can I make the document saving operation wait for my code to finish?
One hack could be just call the document.save() or document.saveAs() again. But when the user choose some specialised options when he saves a pdf, I don't know this options and will write a pdf with default settings.
thanks

Similar Messages

  • Events not showing time in iCal

    I just lost my hard drive last week and now I'm re-entering everything. I'm trying to put my calendar events back into iCal and it no longer shows the time next to the event on the calendar. It used to say for example: "Dr. Appt-3:15" but now it only shows the event and not the time. Is this a change in the last week or do I have some sort of glitch? I do not want to have to click on an event to see the time, I want to just see it all at a glance. I have done all updates.
    Also, maybe someone could explain to me the difference between "New Calendar" and "New Calendar Group"?

    Hi,
    Welcome to Apple Discussions.
    Is this in Month view? Go to the iCal menu and open Preferences. Under General there is a check box for 'Show time in Month view.'.
    Calendars are how you group events (i.e. make them the same colour). Calendar Groups are how you group calendars (you could have a 'Work' group and a 'Play' group with multiple calendars under each), you can then easily show and hide sets of calendars.
    Best wishes
    John M

  • APPS Adapter / Business Events not visible when BPEL uses non-apps user

    We have BPEL connection using custom oracle user, xx_b2b and when we use APPS adapter in BPEL, I can not see and use any business event.
    If anybody across same requirement, please share your experience.
    Appreciate help on this.
    Thanks,
    Sonartori

    Hi,
    I'm facing the same issue. Were you able to resolve it. Appreciate if you can let me know.
    Thanks
    -Prapoorna

  • Too much Data, not enough Time.

    Alright, So I have a problem...Guess thats why I am here.
    I have a bulk of information after digitizing a few days shoot, the problem is, Its takes so long to transfer the information in HD format and I have multiple transfers I would like set up, however the computer seems to crash when multiple transfers going. Also sometimes I need to set up transfers where the original file needs to be in 2-3 locations. Causing a time issue.
    So what I am looking for, is something along the lines that will allow me to line up a bunch of transfers individually, that can be done while I am not at the office.
    any suggestions?

    In my experience, rsync [http://rsync.samba.org> is by far the best utility for pushing data around quickly. It has a learning curve if you're not too familiar with shell commands, but is well worth the effort to learn.
    Forgot to mention, if you are running 10.4 or later, rsync already comes bundled with your os.
    Message was edited by: Wherrito

  • Have dial-up,cannot sownload,not enough time.can get on disc?

    knowledgable tec advised i eliminate int explorer and use firefox. tried repeatedly to download but dial-up so slow i run out of time and process aborts. no choice but dial-up where i live. can i get firefox on disc which would enable its loading and therefore use?

    Thanks for the Time Machine Troubleshooting link. Apparently things have changed since 10.7.0. Backups.backupdb doesn’t exist. Path now is: Time Capsule/Data/Daru’s iMac.sparsebundle. So I did Terminal (I usually avoid Terminal) using the instruction in B6. It does not appear to be working. It went through looking for backup, preparing backup, and is now stopping backup, and the TMBackup has disappeared from the sidebar.
    Well, just now Time Machine progressed to preparing backup again; the Tiime Machine Backups appeared in sidebar, and with it Backups.backupdb/Daru’s iMac/2012-04-21-112939.inProgress. So it does exist... I’ll let it run, see what happens... But that is a strange date. Today is 28.
    I’ll let you know the outcome.
    Oops. Just ended! Real time report: “Backup too large for disk...“ So it is not recognizing the old backup. I’ll look at those instructions again, see if I can do the Terminal thing with the backup running. I doubt I can damage anything except the existing baackup which I'll lose anywy if I can’t achieve recognition.
    Daru

  • Not enough Time to Sync

    Hi, I have about 2000 songs to upload to my 60G and by the time I reach around 700 (4/5 hours), the Ipod stops as the batteries are low. It is connected via the USB but seems it does not charge. (Ipod is brand new)
    Do I have to set manually 600 songs, they plug a charger and then do another 600 songs and so on ?

    Thanks. I will check on another computer see the results as indeed my computer is not brand new !
    Thanks for the warm welcome and hope I will be able to help as well although at the moment it is me who need more help!

  • Flickering screen and not enough time to write

    My macpro screen flickers about ebery 15 seconds, and sometimes the curser stops and I cannot continue writing wihout relocating it?

    Thanks. I will check on another computer see the results as indeed my computer is not brand new !
    Thanks for the warm welcome and hope I will be able to help as well although at the moment it is me who need more help!

  • Safari Bookmarks problem: Too many subfolders, not enough time!

    Hi people,
    My bookmarks were imported from IE. I have many main folders with many subfolders in each: thus I have always had my bookmarked information very organized and I know where to find anything, by category.
    However now I'm using Safari on my new MacBook. When I want to add a new bookmark, I click the Bookmarks drop-down menu. I click "Add Bookmark..." A box displays that allows me to enter two things: the name of the bookmark, and the folder I want to enter it into. Then, clicking on the arrows next to the folder list, hundreds of folders come up in a huge fast-scrolling stream. Not main folders that I can see at a glance, but ALL of my folders, at once! This is a mess. Finding my main folders takes scrutiny and fiddling, and when I'm trying to work this is a huge distraction.
    It's a visual organization problem: there seems to be no way to CHOOSE which folders I want to display. Safari simply displays ALL of my folders AND subfolders at once. To sort my new bookmark I must scroll through every single folder, (the scroll-speed makes this difficult, and the size of the icons and the tab-indents require leaning and squinting.) Alternatively I can save it in the bookmark bar, then open the bookmark window, then move the new bookmark elsewhere, step by step by step. This is tedious and distracting.
    So can somebody please help me learn to do the following?
    I want to find a way to display only the main category folders in the Add bookmark dropdown menu. I can choose from there which subfolders I want to open, and I don't want every single folder to show. Is there a way to do this??
    If not, is there at least a way to change the color, text, or image of the main folders so that I can locate them easily within the huge list??
    If I can not organize my bookmarks the way I need them using Safari as my main browser becomes an ordeal. I was VERY happy to switch from IE, but this is very discouraging. To continue using it I would have to come up with a completely new organiztional system and reorganize my nearly 3000 bookmarks.
    Ok, thanks in advance to whoever can answer this. You're a lifesaver!
    MacBook   Mac OS X (10.4)   still waiting for arrival

    Hi
    Welcome to Apple Discussions
    Rather than using the Bookmarks drop-down menu, perhaps using the Bookmarks Manager might be an easier approach. To access the Bookmarks Manager, click the "book icon" on the left of the Bookmarks Bar (if you haven't done so, the Bookmarks Bar is enabled in View Menu>Show Bookmarks Bar, or Apple Key/Shift/B).
    When you click on the book icon (or Apple Key/Option/B), a back screen appears showing your various Bookmark collections and History on the left, and the detail inside each collection on the right (clicking on a collection reveals its contents). You can drag the current URL from the Address window down into the folder, which is a faster way to navigate through the Bookmarks. There, you can also create folders etc.
    Go to the Safari Help menu>Safari Help or Apple Key/Shift/? and type Bookmarks. Additional information is provided about how to manage your bookmarks.
    Lastly, 3rd party software exists as an alternative to Safari's Bookmarks. One popular one is URL Manager Pro. Personally, I find Safari's manager sufficient, however, this is something you may want to consider.

  • My drop down menues in yahoo mail only display for a few seconds not enough time to select a value. what is causing this since i started using firefox 4.0

    when moving read mail to folders, or selecting new message as text or message, cannot select options to change settings.
    operating system using windows Vista

    when moving read mail to folders, or selecting new message as text or message, cannot select options to change settings.
    operating system using windows Vista

  • Not giving enough time to update payment method

    i was emailed on thursday about my card not being able to be charged. i've been waiting for my new card to come in the mail. i checked on friday, and my order was still open. checked on sunday, and it was all cancelled. i'm aware that an item in the order was due to be released today, but 2 business days of notice is not enough time. had the order stayed open yesterday, i would have been able to fix the problem. already emailed support, and received generic responses. all i wanted was the order reinstated. i can even see the items in the order still, alongside items that have already been sent. i had a sale/promo on those items that i will now no longer be able to get if i were to simply reorder the items. which i won't even bother doing now.

    Hello dragonborn1227,
    As someone who makes the majority of her purchases online, I’m sorry to hear that your order cancelled without much forewarning. While this can happen if our systems aren’t able to verify your payment method provided on the order, we should notify you via email and ask that your payment method be updated as soon as possible in hopes of avoiding unnecessary cancellation. This is because a valid payment method must be attached to the purchase in order to secure it.
    While we certainly want to consider solutions that make sense for both parties involved, we are not able to accommodate all requests made. Having said that, please know an order cannot be reinstated once cancelled, nor can we honor a sales price for a promotion that has since concluded. I truly apologize for any frustration this may cause.
    Respectfully,

  • Time Machine won't overwrite oldest backup ? ..says not enough space

    Seemed to start sometime after installing Snow Leopard..
    Used Time Machine Buddy, it says:
    Starting standard backup
    Backing up to: /Volumes/LaCie Disk/Backups.backupdb
    Event store UUIDs don't match for volume: Macintosh HD
    Node requires deep traversal:/ reason:must scan subdirs|new event db|
    Starting pre-backup thinning: 56.32 GB requested (including padding), 5.69 GB available
    No expired backups exist - deleting oldest backups to make room
    Error: backup disk is full - all 0 possible backups were removed, but space is still needed.
    Backup Failed: unable to free 56.32 GB needed space
    Backup failed with error: Not enough available disk space on the target volume.

    HI and Welcome to Apple Discussions...
    *"Backup failed with error: Not enough available disk space on the target volume."*
    Make sure you have sufficient disk space on your startup disk to back up to...
    Right or control click the MacintoshHD icon. Click Get Info. In the Get Info window you will see Capacity and Available. Make sure you always have a minimum of 10% to 15% free disk space at all times.
    *"Backup Failed: unable to free 56.32 GB needed space"*
    In this case you need a minimum of 60GB of disk space for that back up.
    Carolyn

  • HT4927 Not enough room to restore iPhoto library from time machine

    my macbook is full. That is why I started trying to transfer files to an external hard drive in the first place. Something happened in the process and I lost my iphoto library. Now when I try to restore from my time machine back i get "not enough room" to restore the library message. Help!!

    Why not restore the library to the EHD and run it from there.  If you need a smaller library to run on your MB create a new one by launching iPhoto with the Option key held down and select the Create button in the window that appears and create a new library in your Pictures folder. 
    If you need to move/copy events or albums between your two libraries use the paid version of iPhoto Library Manager which can copy between libraries and keep keywords, titles, descriptions, places, etc. intact with the photos.

  • My Lacie external hard drive will not back up on Time Machine. Says there's not enough space. This has happened with every single external I've purchased. Thought TM was supposed to delete old backups??

    My Lacie External backed up on Time Machine after the first back up but now says there's not enough room. I thought TM deleted old back ups to save new versions. What am I doing wrong. This happens to me constantly. Every single external hard drive I've purchased for the MacBook Pro (5 of them) has not worked either initially or at the second back up. It either isn't formatted properly so I have to go to Genius bar to help me set up for the first back up, or after the first back up, it says there's not enough space and I have to go back to Genius Bar. Is there a way I can fix this on my own?

    I just purchased 2 external hardrives. a LaCie Minimus and a G Drive. Each 1 TB. The guy at Apple told me that would provide 2 good TM backups for me. My internal HD has 750 GB capacity, of which I'm using 700 GB. Perhaps the ratio is not great enough. I do wish they would have told me this before I purchased the two Bummmmer! I even had them format and get the first back-ups going because of issues I've had in the past. I also just bought a 750 GB for photos.
    So, I won't be able to buy another bigger external since I've just purchased 3. Ugh. Well, I'll just exclude some files and divide things up. Eventually, I just want my 20,000 iphotos on one of the 1TB externals, and a TM back-up on another so that iphoto will function once more. It really hates how many photos I have and is brutally punishing me for it.I seriously need to do some housecleaning!
    Thanks for the advice. Just moved from US to Australia last week and was hoping to upload a few photos and the domino effect has lead me to this. Just went to Genius Bar in Perth today and they told me how to reformat drive to transfer iphoto library over, but I got stuck at trying to back-up my TM.

  • I have a WD My Passport for Mac (2 TB).  It quit backing up my mac mini (8/2013) stating that it needed to be repaired.  Our IT person reformatted it.  Now time machine states that it can't back up 234 GB,  because there's not enough space.

    I have erased the passport for Mac and started all over. When there is ~15 minutes left in the initial backup of the mac mini hard drive (234 GB total), it gets weird and time machine states that it it calculating the time remaining.  24 hours later, it is still backing up but shows that <200 GB of 2 TB are available and it quits backing up stating that there is not enough room.  HELP!  The WD My Passport for Mac and the Mac mini are less than a year old.

    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    The title of the Console window should be All Messages. If it isn't, select
    SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
    View ▹ Show Log List
    from the menu bar at the top of the screen.
    In the top right corner of the Console window, there's a search box labeled Filter. Initially the words "String Matching" are shown in that box. Enter the word "Starting" (without the quotes.) You should now see log messages with the words "Starting * backup," where * represents any of the words "automatic," "manual," or "standard."
    Each message in the log begins with the date and time when it was entered. Note the timestamp of the last "Starting" message that corresponds to the beginning of an an abnormal backup. Now
    CLEAR THE WORD "Starting" FROM THE TEXT FIELD
    so that all messages are showing, and scroll back in the log to the time you noted. Select the messages timestamped from then until the end of the backup, or the end of the log if that's not clear. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    ☞ If all you see are messages that contain the word "Starting," you didn't clear the text field.
    If there are runs of repeated messages, post only one example of each. Don't post many repetitions of the same message.
    ☞ The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    ☞ Some private information, such as your name, may appear in the log. Anonymize before posting.

  • HT201250 I had files stored on a hard drive that were not on my Mac. I used the hard drive for my first Time Machine back up, but it was not enough hard drive space to finish. Now those stored files are gone. Is there any way I can recover them?

    I had files stored on a hard drive that were not on my Mac. I used the hard drive for my first Time Machine back up, but it was not enough hard drive space to finish. Now those stored files are gone. Is there any way I can recover them?  No, they were not part of previous Time Machine backups, and I have checked both the hard drive the documents were lost on and the new one that I now use for backups. Any suggestions would be helpful, as the lost files are old pictures that are gone forever. :[ Thanks!

    1. Yes, if both drives are formatted as Mac OS Extended (Journaled).
    2. Reformat the drives if needed, open the Time Machine pane of System Preferences, and remove the drive with the pictures from the list of items set to be excluded.
    (110331)

Maybe you are looking for

  • Hello, I have a early 2008 Mac Pro and it won't boot even with SL DVD

    My Mac Pro (3.0GHz quad core (dual CPUs) 8GB 667 RAM) won't boot. it gets to the grey screen/ Apple logo and hangs on the logo for a few seconds then flashes either the question mark folder icon or on the circle-slash icon () for about half a second

  • Changes done in ECC 6.0 from 4.6C

    Hi All, Greetings! I would like to know the changes done in the SAP-HCM system or things added in the version ECC6.0 of that compared to 4.6C as I need to analyze the system changes as i have to do an upgrade scenario later for my client.Kindly help

  • Need a sanity check please

    Could I have someone double-check my simple design here attached you will find a drawing. Here is a description - Currently have: 1 Pix 515e 2 3550 24 SMI conneted via 2 sx GBICs and fiber patch. 1 1121 WAP Adding: 2 3550 24 SMI 1 3550 48 SMI 1 3550

  • Can we get row counts when using dbms_datapump?

    When using dbms_datapump, is there a way to get the rows loaded for each table, similar to the log files when using the command line? I can't seem to find anything. I'm trying to import. Database is 10g r2.

  • How to drop an IDOC and stop message type to trigger ?

    Hey Guys, I am creating oubound IDOC for sales order confirmation. Based on storage location values I have to restrict line items which should go in IDOC. I am using program ZXVEDU02 to write the code and achieve this. The problem is that based on th