Any way to write code to cache the contents of the scripts menu? (or force ScriptsMenu plugin start)

In the scripting forum I created the thread Adding custom scripts to actions revisited - Partial workaround
Basically, you can create actions with keyboard shortcuts to execute custom javascript/vbscript, etc. and successfully reload them after restarting Illustrator but only if the user manually navigates to File->Scripts before manually loading an actions (.aia) file
Any script menu items added to actions will be stripped from the custom actions when Illustrator is restarted because, I believe, the script menu items are not cached and are therefore invalid when the actions are automatically reloaded.
Obviously, I'd prefer not requiring the user to navigate to the scripts menu and replace the actions every time Illustrator is started.
Does anyone have any ideas on a way to write code so that Illustrator caches the contents of the scripts menu? Preferably this would be before the actions are loaded so they don't get invalidated and need to be reloaded in the first place. A keyboard macro would likely execute to late to be of much help.
If anyone knows anything about the actual mechanism of caching the scripts menu or knows of anything else relevent to this please respond.
Thanks!
Edit: The menu is created in the Scripts Menu plugin (ScriptsMenu.aip). Perhaps there is no "cache" of the menu and the plugin just doesn't perform the startup until you browse to the File->Scripts menu?
AIMenuGroups.h has the global definition of the group:
#define kScriptsMenuGroup         "ScriptsMenuGroup"

Have you looked at stored outlines ? They are for plan stability.
Also you may want to look little deep on where your statistics are going wrong.
I would recommend using below hint and checking where is difference in estimated(E-Rows) and actual number(A-rows) of rows. This may point out some incorrect stats.
e.g.
select /*+ gather_plan_statistics */ * from dual;
D
X
select * from table(dbms_xplan.display_cursor(null,null,'ALLSTATS LAST'));
Plan hash value: 272002086
| Id | Operation | Name | Starts | E-Rows | A-Rows | A-Time | Buffers |
| 1 | TABLE ACCESS FULL| DUAL | 1 | 1 | 1 |00:00:00.01 | 3 |
------------------------------------------------------------------------------------

Similar Messages

  • Is there any way to use flash without all the bloated code?

    I  want to put a flash player on my site, however with dreamweaver the  "insert movie" option puts a ton code in my markup to the point where i  cant even tell what im looking at. Is there any way to use flash without  all the bloat?

    Yes and no.  Some bloat as you call it is necessary to support all browsers.  That said, this on-line tool takes your Flash code and converts it to valid XHTML Strict standards.  In the process, the code is minimized a bit.  Be sure to test in an XHTML Strict doc type page.
    http://www.validifier.com/
    Nancy O.
    Alt-Web Design & A
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Is there a way to prevent AnyConnect from caching the username of the last person who connected to the VPN?

    Is there a way to prevent AnyConnect from caching the username of the last  person who connected to the VPN?

    This can be done via specifying the "RestrictPreferenceCaching" parameter as described in the Anyconnect Admin Guide here:
    By design, AnyConnect does not cache sensitive information to disk. Enabling this parameter extends this policy to any type of user information stored in the AnyConnect preferences.
    •Credentials—The user name and second user name are not cached.
    •Thumbprints—The client and server certificate thumbprints are not cached.
    •CredentialsAndThumbprints—Certificate thumbprints and user names are not cached.
    •All—No automatic preferences are cached.
    •false—All preferences are written to disk (default—behavior consistent with AnyConnect 2.3 and earlier).

  • Tell me please, is there any way to unlock my iPhone, if the contract is ended and I moved to Ukraine

    Tell me please, is there any way to unlock my iPhone, if the contract is ended and I moved to Ukraine

    1. Try doing a hard reset:
    Press and hold both the Home button and the Sleep/wake button simultaneously for about 15 seconds and release when the Apple logo appears.
    2. If that doesn't solve the issue, backup the device and restore it as new.
    In that case, use: http://support.apple.com/kb/HT4137
    NB: set up as a NEW device because a software issue will be in the backup. If the issue persists after restoring as new, you should offer the device for service.
    If you get specific error messages/codes in iTunes when updating/restoring, check this: http://support.apple.com/kb/ts3694 for causes and solutions
    Good luck
    Stijn

  • Is there any way to write to a socket after shutting it down?

    Guys is there any way to write to a socket after using the shutdownOutput() method?
    I get this complain at runtime
    java.net.SocketException: Cannot send after socket shutdown: socket write error

    Your question embodies a contradiction in terms. Shutting down the socket means that you're telling the other end there is no more data. So you can't send more data. And even if you could, the other end wouldn't read it, because it would think it had already reached end of stream. Because that's what you told it.
    If you don't want HTTP keep-alive, turn it off via the appropriate HTTP header.
    You should be using HttpURLConnection for this, not a Socket. That takes care of your reading problem: it knows how to process the content-length header.

  • Is their any way to restrict user from overriding  the graphs in SAP APO?

    Dear All,
    As we know, we can copy the graphs to other users using /n/sapapo/sdp_graph. But is their any way to restrict user from overriding the graph to particular user.
    Scenarios:
    In a project we have super user and semi-super user, whenever super user uses above t-code to copy graph to all users (he has included semi-super user id to target user list) but semi-super user does not want to override his graph by super user.
    Do we have such function in APO to restrict?
    Hope it is clear to understand.
    Regards,
    Pravin Tikar

    Hi Amol,
    thanks,
    I have checked SP Note 400434 - Authorizations in APO demand planning Also.
    Will check the authorization and will update the same.
    regards,
    Pravin Tikar

  • Is there any way to write a Java prg without main()

    I would like to know Is there any way to write a Java program without using main() function.

    > i am unable to execute the program ..............i
    think there must be a main method through with the
    program starts
    The program can be compiled and run. After running it, you'll see "They'll kill you for that" followed by something like "java.lang.NoSuchMethodError: main" and finally someone with a big Volvo will burst into your room and runs you over.

  • Is there any way of undoing a shuffle? The CDs I downloaded to iTunes have all been shuffled. As most of these are classical, it is inappropriate to have them separated into songs that play any old time. Can I restore them to the original albums?

    Is there any way of undoing a shuffle? The CDs I downloaded to iTunes have all been shuffled into individual 'songs'. As most of these are classical and folk, it is inappropriate to have them separated into songs that play any old time (ie, a movement from Beethoven's 5th symphony followed by a folk song followed by one excerpt from Vivaldi's Four Seasons, etc. Can I restore them all to the original albums and make sure the shuffle doesn't happen again?
    Thanks!

    goldberry wrote:
    Thanks! That has worked, but only partially - there are still some Beethovens mixed in with the Vivaldis. I'm sure I installed these as total albums.
    I have noticed that too from time to time, I generally move the files into the correct folder and fix the index in itunes when one won't open, occasionally.

  • My itunes account was disabled for some reason.  I changed password in iforgot and still didn't work.  I could log in but not make purchases from the store so I set up a new login/account .  Is there any way to move my music to the new account?

    My itunes account was disabled for some reason.  I changed password in iforgot and still didn't work.  I could log in and see my music but not make purchases from the store or even redeem an itunes gift card so I set up a new login/account with another email account of mine. On the new account I can redeem my gift card and download items onto my ipad2.  Is there any way to move my music to the new account?

    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.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

  • Any way to play two clips at the same time one over the other? (transprent)

    Any way to play two clips at the same time one over the other? (transprent)

    Yes.
    See the information here for a variety of ways to do this:
    http://discussions.apple.com/thread.jspa?threadID=933500&tstart=50
    http://discussions.apple.com/thread.jspa?threadID=903151&tstart=0
    http://karsten.schluter.googlepages.com/jackiechancredit
    http://www.geethree.com/slick/V_04.html

  • I sent in my iPod nano to the replacement program about two weeks back. However, I checked the status of the repair and it still says it has not been received yet. Is there any way to follow up on where the nano could be? I sent it via FedEx.

    I sent in my iPod nano to the replacement program about two weeks back. However, I checked the status of the repair and it still says it has not been received yet. However, my boyfriend sent in his the same time I did and his repair status says repair being diagnosed. I still have the "receipt" of the package when they first sent it to me. I sent it via FedEx. Is there any way to follow up on where the nano could be or maybe find out if I can still get a replacement even though my nano might be lost in transit?

    I sent it via FedEx. 
    Call FedEx.  They will be able to track their own packages.  They will let you know if your iPod Nano was delivered and to who!

  • The CC control panel use to show my 4 applications CC, CS6, LR5 and Bridge, now LR5 is no longer showing up. I pay for the photographer bundle, which includes LR5 and CC, why has it been dropped off? Is there any way to bring it back in the panel, because

    The CC control panel use to show my 4 applications CC, CS6, LR5 and Bridge, now LR5 is no longer showing up. I pay for the photographer bundle, which includes LR5 and CC, why has it been dropped off? Is there any way to bring it back in the panel, because in the listed applications which can be added below it is not listed.  Thanks!

    If you're a paying Creative Cloud member, you may not see Lightroom in the Creative Cloud if your computer doesn't meet the minimum system requirements. Check to make sure that your system meets the minimum requirements for the latest release of Lightroom.
    If you're using a trial version of Creative Cloud, the Lightroom trial is not available through Creative Cloud. It is, however, available as a stand-alone trial. See Install Lightroom trial | Creative Cloud membership. 
    Please refer to : Lightroom and Creative Cloud FAQ
    Regards
    Rajshree

  • Is there any way to get my reminders (from the new iPhone app) to sync with something on my laptop (Mail, iCal, some other desktop app)?

    Is there any way to get my reminders (from the new iPhone app) to sync with something on my laptop (Mail, iCal, some other desktop app)?

    Yes, if you have iCloud set up on your phone and computer, then reminders will be synced through iCal.

  • Is there any way to buy tv shows from the uk iTunes when I live in Ireland?

    is there any way to buy tv shows from the uk iTunes when I live in Ireland?

    And according to iTunes / Help...
    The iTunes Store may not be available in all countries or regions, and iTunes Store content may vary by country or region.

  • I have an Iphone 4, I have music files that appear on my phone that I want to delete, when I link it to my computer the songs on the phone will not appear in Itunes so I can delete them, Is there any way to delete these song off the phone without going th

    I have an Iphone 4, I have music files that appear on my phone that I want to delete, when I link it to my computer the songs on the phone will not appear in Itunes so I can delete them, Is there any way to delete these song off the phone without going through Itunes?

    Nope, it either needs to be plugged in or turned on with the power button.
    A replacement iPhone 4 is $149, but at least the whole phone is replaced.

Maybe you are looking for

  • Access to ITunes Home Page and Music Stores in Other Countries

    In the past two days, I haven't been able to access any other ITunes music store except the US and only when I press music and not the little house (home) symbol. As I am an independent musician and my tracks sell on ITunes in US and abroad, I've bee

  • Line Terminator

    The preference change for line terminator in the environmental settings doesn't seem to change the line terminator for table file exports (for example INSERT). I don't get separate lines when viewed by MS Notepad no matter which setting I use, there

  • Unable to run Hello World

    Hi, I am new to OA Framework and trying to learn this thing. I have developed Hello World Tutorial but it is giving following error on execution; Exception Details. oracle.apps.fnd.framework.OAException: No data found for region (/oracle/apps/ak/hell

  • Sign In Required for Cloud based software

    I'm a cloud subscriber for all my creative software (Id, Ps, Ai, Mu, Eg, Br) and I'm being prompted to register my products upon opening and provide a serial number. Shouldn't my products already be registered? How can I fix this problem?

  • Animation - How to add?

    How do I add animation - Like fading stuff, or make it move accross the screen? I'm using Photoshop Elements 6 with Windows XP (Laptop)......Someone please help..... Also, where the hell do I get Imageready - Everyone says that is the only program th