I have an issue with a script that places multiple page PDF files...

I'm using a version of "PlaceMultipagePDF.jsx" that I modified to use Media Box when placing the PDF file pages.
That part was easy and works perfectly.
The issue I'm having it that every time it places a PDF page, InDesign pops up a dialog saying that it's Importing pages from "file" and Creating preview with a progress bar. This dialog pops up once for each page, and the UI time it takes to do this is slowing down the import.
So is there any way to turn off this feedback dialog?
Note: I still need to see the dialogs to choose the PDF file and pick the document and page to start placing. I just want the one that displays for each page to not display...

I found this in the Developer KB.
But I can't find any of the functions in the Scripting Ref...
How To: Suppress the progress bar when processing a command.
Summary
You can suppress progress bar display by turning it off before processing the command.
Issue
I use the IImportFileCmdData interface and pass kSuppressUI (do not display any UI) as UIFlags. When processing the command, I get a progress bar, which is called "Adobe InDesign Tagged Text Import Filter", whereas I expect no UI.
Solution
To suppress progress bars you should explicitly turn them off before you process the command (or commands).
1. Get the interface IProgressBarManager (it's on kAppBoss, which you can get from gSession).
2. Use IProgressBarManager::SuppressProgressBarDisplay() to turn off the progress bars.
3 .Process the place command(s).
4. Turn the progress bars back on when you're done.
In InDesign 2.x and above, you can also use the SuppressProgressBarDisplay class (ProgressBar.h) class to achieve this. In order to use this class you just need to create an instance of the class on the stack as shown here:
SuppressProgressBarDisplay suppress(kFalse);

Similar Messages

  • I am using pages designing a flow chart, question "I seem to have an issue with the arrows that you can add text to, it appears I can not move the point of the arrows up or down they only switch from left to right.

    I am using pages designing a flow chart, question "I seem to have an issue with the arrows that you can add text to, it appears I can not move the point of the arrows up or down they only switch from left to right.

    Last point...who archives? On my regular email page I now have the Archive icon to the left of my Delete icon which I would prefer was to the left, first in the line as this is the icon I use mostly. With Folders, my Sent and Trash lists, who needs to archive?
    I can help you only with the placement of the icon placement -- if you right-mouse click on the toolbar, then select Customize Toolbar, you can move an icon to where you want it to be.

  • Place multiple page PDF script no longer runs correctly

    I have place multiple PDFs into ID java script. Recently, when running the script, I'm no longer prompted to use current doc or new doc. I also don't get a prompt to place PDF starting on page x. It just opens a new 8.5 x 11 doc and places the PDF pages.
    I haven't deleted my prefs yet (haven't made a note of what they are). Nor have I deleted the script. Thought I'd check here first before nuking prefs or script. I get a lot of PP presentations as PDFs for printing so I need the ability to place into an 11 x 8.5 file.
    AFAIK, I haven't added anything new to my workstation which is running CS3 on Dual G5 with OS10.4.11. I have a tendency to troubleshoot after a 12 hour day and I've found out after the fact I did a lot of unneeded busy work by not thinking on it out more or asking around beforehand.
    Thanks in advance for any help.

    Does any other script show any dialog at all?
    If not, some rogue (or interrupted) script switched off User Interaction. You can enable it again with this one line javascript:
    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.INTERACT_WITH_ALL;

  • For those people that have a issue with MSI DVD that won't work right

    I  have an MSI K9 SLI Platium 7250 w/ an AMD Athlon X2 4600+ 2.4 GHz. I have MSIDVD that originaly came with my old Motherboard MS-680E AMD Atlon XP 1700+ 1.4GHz. When I upgraded MSIDVD wouldn't work right and every time I Would insert a a DVD MSIDVD would give a wierd error. But here a hint how to bypass. As long as you have MSIDVD installed you should be able to play DVD's through Windows Media Player without any problems, thats what I was able to do. Or if you still want to use MSIDVD, you need to download a program from AMD, here are the detales, I also done this too
    The Program is called "AMD Dual-Core Optimizer"
    The AMD Dual-Core Optimizer can help improve some PC gaming video performance by compensating for those applications that bypass the Windows API for timing by directly using the RDTSC (Read Time Stamp Counter) instruction. Applications that rely on RDTSC do not benefit from the logic in the operating system to properly account for the affect of power management mechanisms on the rate at which a processor core's
    Time Stamp Counter (TSC) is incremented. The AMD Dual-Core Optimizer helps to correct the resulting video performance effects or other incorrect timing effects that these applications may experience on dual-core processor systems, by periodically adjusting the core time-stamp-counters, so that they are synchronized.
    Heres the link http://www.amd.com/us-en/Processors/TechnicalResources/0,,30_182_871_13118,00.html

    OK, well - I installed Tiger back on a separate disk and will reboot into that when I want to watch a movie. Cheers, all.

  • Hi, I have an issue with a program that needs Windows Access for, it to run, any Ideas on how to make it work, the program I need to run is sbem (a building calculation software)

    Hi
    I have a mac book pro, I need to run a software package that requires Windows Access for it to work
    The software is SBEM (A building calculation software)
    Any ideas
    Many Thanks

    Direct you to the proper forum for MacBook :
    MacBook Series Forumshttps://discussions.apple.com/community/notebooks?view=discussions
    Mac OS X Forums
    https://discussions.apple.com/community/mac_os?view=discussions 
    http://www.apple.com/support/macbookpro
    Mac 101: Using Windows on your Mac via Boot Camp
    https://support.apple.com/kb/HT1461
    Helpful Apple Support Resources (Forum Overview)
    Boot Camp Support 
    Boot Camp Manuals
    Community
    https://discussions.apple.com/community/windows_software/boot_camp
    Boot Camp 4.0, OS X Lion: Frequently asked question
    http://support.apple.com/kb/HT4818

  • I don't have time to look through answers other users have posted when i have an issue with your product. that's poor technical support. I downloaded the update and now my "go back one page" button doesn't work. you need to improve your support options.

    Are you kidding me that your response is I need to create an account?

    Call Apple Customer Relations - 1-800-275-2273.  Ask politely & firmly that you want to be transferred to Customer Relations.  Tell them exactly what you stated in your post.
    GOOD LUCK!
    These are user-to-user forums where everyday folk (volunteers) post questions and offer answers (technical support) to each other.  

  • Alignmnet Issues with SAP Script

    Hi All i have an issue with SAP script i have few columns in the script where in the values in the column changes dynamically.For example the value of second column in the first row can be 5 characters and the value of the same in the 2nd row can be of 10 characters and it keeps varying for every row but the max length of it would be 20 characters.
    Now the issues is with the second column as the text in this column keep varying the text in the same row after the second column keep moving either towards right or towards left depending on the text in the second column,Can any one help me as how  can i fix this issue.
    Looking for your valuable inputs.
    Regards
    Hari Krishna.

    Hari,
    http://help.sap.com/saphelp_47x200/helpdata/en/d1/802d91454211d189710000e8322d00/frameset.htm
    Even though it is not the solution,I guess this link will be helpful.
    K.Kiran.

  • I have a ipad 1. I seem to be having a lot of connectivity issues. It takes a long time to load and sometimes will not load a page at all. I seem to be having issues with streaming in that it will play a song and just stop.

    I seem to be having a lot of connectivity issues my iPad. It takes a long time to load and sometimes will not load a page at all. I seem to be having issues with streaming in that it will play a song and just stop. It seems I have to turn it completely off and restart.
    Anyone had these issues?

    Settings > General > Reset > Reset network settings

  • Since I updated Firefox (around 3/8/11) I have had issues with logging in to my Comcast email. Comcast says that it is a software incompatibility, perhaps Firefox.

    I received an automated download of a new FF version around March 8. I immediately began having issues with my email accounts on Comcast.net using my desktop (Windows 7). I do not have these issues with my laptop (FF 3.6.3, 4/29/10). Comcast spent almost 2 hours with me on several sessions, and demostrated that I can reach the email account through a work around, but not directly. They said that this was a software issue with some software package interfering with my login. Comcast reps could enter my email with no issues, so it has to be at my end. I removed a recent version of Adobe Flashplayer which had autoloaded around the same time as FF; when I tried to reload Flashplayer today, it told me that it was incompatible with FF.

    Clear the cache and the cookies from sites that cause problems.
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"

  • I have v10.8.2 os on my mac. i use an external drive for backup which is on whenever the mac is on. whenever the mac wakes up i get the reminder that the drive was not properly ejected. i did not have this issue with snow leopard?

    since i have upgraded to mountain lion i get a popup whenever my system wakes up telling me that my external drive was not ejected properly. i did not have this issue with snowleopard. i leave my hard drive on and connected for use with time machine.

    Message was edited by: leroydouglas
    better yet, try this solution:
    https://discussions.apple.com/message/12351186#12351186

  • I have iPhone 4.  I don't want to upgrade to iOS 7 because people have had issues with that.  Is there a way I can just upgrade to iOS 6?

    I have iPhone 4.  I don't want to upgrade to iOS 7 because people have had issues with that.  Is there a way I can just upgrade to iOS 6?

    No, it is not possible. When upgrading the iOS on the phone, the only one you can install is the latest version, which for the iPhone 4 is iOS 7.0.4.

  • Ever since I upgraded to IOS 7 on my iPad, it does not remember my passwords, even though I check "keep me signed on".  Is there a setting somewhere that I am missing?  I did not have this issue with the previous OS.  Thank you.

    Ever since I upgraded to IOS 7 on my iPad2, it does not remember my passwords, even though I check "keep me signed on".  Is there a setting somewhere that I am missing?  I did not have this issue with the previous OS.  Thank you.

    Thank you, James, but I do have a WiFi connection on the iPad mini. The Numbers files update on my iPad third generation and iPhone just fine when connected to the same network.
    Do you have any other suggestions?
    Thank you!

  • I started to have connectivity issues with a linksys router.  The linksys rep suggested ...Check from Apple if they have some particular ports for the Apple TV that we might need to open on the router, anyone have any suggestions for this?

    I started to have connectivity issues with a linksys router.  The linksys rep suggested ...Check from Apple if they have some particular ports for the Apple TV that we might need to open on the router, anyone have any suggestions for this?

    Hi RonWM,
    Thanks for visiting Apple Support Communities.
    This article lists the ports that are used by the Apple TV:
    Apple TV: TCP and UDP ports and protocols used
    http://support.apple.com/kb/HT2463
    Best Regards,
    Jeremy

  • 163;  There seems to be an issue with the template that the site is using as there is a code to replace the pricing.

    163;
    There seems to be an issue with the template that the site is using as there is a code to replace the pricing.
    <script>
    // Script to extract the currency and decimals from the price
    var price = "{tag_saleprice}";
    var priceWithoutCurrency = price.replace( /^\D+/g, '')
    var decimals = priceWithoutCurrency.substring(priceWithoutCurrency.length - 2, priceWithoutCurrency.length);
    var roundedPrice = priceWithoutCurrency.substring(0, priceWithoutCurrency.length - 3);
    $('.image-with-price.big span').html(roundedPrice+'<sup>'+decimals+'</sup>');

    Here are the screenshots for what it's worth.
    Not sure why I can't post them in the original post.<br>
    <sub><b>Mod edit: See [https://bugzilla.mozilla.org/show_bug.cgi?id=718813 bug 718813]</b></sub>
    '''Again, when I set my DNS server to automatically detect the servers both problems disappear and I have no issues at all.'''
    IMO opendns is either doing this on purpose (unlikely) or they're under some sort of attack/being used to attack the specific torrent sites although I'm open to other explanations. I believe using the automatic setting for DNS is using my own ISP's DNS servers (which again, work fine... but still...)
    I'd rather not use Google's public DNS servers as Google is to commercial these days and I think there's potential privacy issues.
    '''Again I have changed the setting for DNS servers back and forth several times to duplicate/verify the issue(s)... and the issues only happen with the opendns servers.'''

  • I have three issues with Creative Cloud

    I have three issues with CC:
    1. I want to be able to EDIT my work when I don't have income. The desktop model supported this. The cloud model does not, and that is unacceptable.
    2. Adobe can keep raising the price, because they will be holding us all hostage. Sure at some point a percentage of CC users would drop off, but all that means is that Adobe can milk the absolute most from us using this model. It's not a vehicle for innovation, it's a vehicle for exploitation.
    3. F--- the cloud. I'll be keeping my work on my laptop, thank you very much.

    what's your home version (click help>about) and was that just a warning so you were able to open the file?

Maybe you are looking for

  • Apple TV and full episodes of Smithsonian are not playing

    Is anyone else having problems viewing full episodes for the Smithsonian channel?

  • JCK Compliant VMS

    Hi... Where can I get a hold of the list of JCK compliant implementations for the various specification versions? Does SUN publish this somewhere? Or do I have to contact each vendor? Also, in order to list in one vendor's docs as compatible, must th

  • The problem Deficit of PU GR quantity 4 PC : P-109 1000 0020

    Hi, I have finished the scenario stock transfer from plant 1000 to another plant 1100 with type UB. both are in the same company code and sales org. but why can I carry out the return sto from plant 1100 to plant 1000? plant 1100 has enough stock for

  • OTN is in a mess

    Can someone at Oracle PLEASE sort OTN out. Many links are broken and it's very difficult to find useful information. This website is not a good advert for your company, guys!

  • Sum of time formate

    id time 1 1.20 2 2.30 3 4.20 4 5.30 5 1.00 result expected = 14:40 or (if AM/PM so result=???) how can i calculate the sum of time ??? please give me some fast tricks of handling date/time formate in oracle....