Is there a way for an GP plugin to check if an Effect's parameter is disabled?

Me again!
Does anyone know of a way for a GP plugin to check if an applied effect's parameter is disabled?
I've been banging my head on this one for a couple days with no luck.
It looks like this used to be possible via AEGP_GetDynamicStreamFlags  but the SDK docs specifically states that it no longer works as of CS5:
AEGP_DynStreamFlag_DISABLED A read-only flag. Indicates whether the AEGP_StreamRefH is grayed out in the UI. Note that as of CS5, this flag will not be returned if a parameter is disabled. Instead, check PF_PUI_DISABLEDin ui_flags.
I can't seem to figure out a way to get access to ui_flags from an GP plugin.  The only time I've seen it available in the SDK sample projects is from within an Effect.
Is there a way to get an instance of ui_flags outside of the effect itself?
I also tried using Javascript to do the work, but the call always returns true regardless of the parameter's state:
app.project.item(1).layer(1).property('Effects').property(1).property(1).enabled;
Any suggestions?
thanks!
-Andy

Thanks Shachar. 
I had tried using AEGP_GetEffectParamUnionByIndex and forgot to mention that in the original post, oops!
After you suggested it, I looked over it once again, but still couldn't find any promising/useful attributes.
It seems that the structs returned within the union don't have a parking spot for the ui_flags.  I double checked this in AE_Effect.h, and it matches up with what I'm seeing in the xcode debugger.
Heres one example (Checkbox rom AE_Effect.h):
/** CheckBox -- PF_Param_CHECKBOX
typedef struct {
  /* PARAMETER VALUE */
  PF_ParamValue value;
  /* PARAMETER DESCRIPTION */
  PF_Boolean dephault;
  A_char reserved; /* padding */
  A_short reserved1;
  union {
  const A_char *nameptr;
  } u;
} PF_CheckBoxDef;
So, they have a few attributes (name, default values, and current value) but no ui_flags.  Bummer!
-Andy

Similar Messages

  • Is there a way for the basic ENGLISH spell check dictionary to auto update? Its really annoying to have to update the spellcheck dictionary everytime FF updates

    Every time FF updates, it forces me to download and install the spell check dictionary for English. It makes me just choose to use another browser since more often than not its opening facebook and I like spell check when I use fb. Is there any solution?

    What Firefox locale do you use?
    Is that the en-US version or another locale like the French locale?
    You shouldn't lose installed dictionaries and other installed extensions when you update Firefox unless you would reset Firefox or a new profile got created for other reasons like problem with the profiles.ini file.
    Are there otherwise problems with updating that you notice?
    Note that in case you do not need all four French dictionaries then you can remove others and only keep the ones you need.
    You can find the dictionary files in the dictionaries folder of the extension in the extensions folder in the Firefox profile folder or possibly in the Firefox program folder if you use a French Firefox locale (don't know if that locale includes a dictionary).
    *[email protected]
    You can use this button to go to the currently used Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
    *http://kb.mozillazine.org/Profile_folder_-_Firefox

  • Is there a way to install the plugin for Cuevana or how do i go back to ff4?

    Hello,
    i use to have FF4 and i was able to download the plugin for Cuevana.tv but now that i have updated to FF5 the plugin it no loger compatible. Is there a way for me to force this plugin somehow or how can i go back to FF4 so that I can keep watching Cuevana.tv until they update the plugin.
    Thanks

    So that means that no even with the FF4 will i be able to watch it on my galaxy?
    Thanks for your time

  • I only have the trial version of adobe after effects cc but is there any way I can use plugins on it?

    I only have the trial version of adobe after effects cc but is there any way I can use plugins on it? Specifically trapcode particular cc

    The trial version is in no way different from the full version, except that it only works for 30 days.

  • I am trying to create an outline for a communication class. Is there a way for me to input Roman numerals in pages?

    I am trying to create an outline for a communication class. Is there a way for me to input Roman numerals in pages?

    Only one Bookmarks Toolbar is allowed. You can create Folders on the bookmarks toolbar (named "Sports", "News", etc.) and add or move your bookmarks to those folders.
    *https://support.mozilla.org/en-US/kb/bookmark-folders-organize-your-bookmarks
    **Above demonstrates making folders in Bookmarks Menu in the Library window, but you can do the same under Bookmarks Toolbar in the Library window..
    **You can also create a new folder in Bookmarks Toolbar by right-click on the Bookmarks Toolbar itself and choose New Folder to create a folder on the Bookmark Toolbar.
    *More Bookmarks information - https://support.mozilla.org/en-US/kb/use-bookmarks-to-save-and-organize-websites?redirectlocale=en-US&redirectslug=how-do-i-use-bookmarks
    Other-
    *update Java to 1.6.0_35 or 1.7.0_7 for security issues
    **https://support.mozilla.org/en-US/kb/use-java-plugin-to-view-interactive-content
    *update Shockwave Flash for security issues
    **https://support.mozilla.org/en-US/kb/install-flash-plugin-view-videos-animations-games#w_keeping-flash-up-to-date

  • Is there a way for addresses to be remembered in Adobe Send like we had in Send Now?

    Is there a way for addresses to be remembered in Adobe Send like we had in Send Now?

    Hi macnanday,
    If you log in through Adobe Reader, you can have access to your local address book while sending your files. And, if you're on Windows, the plugin for Microsoft Outlook (2010 and 2013) is another easy way to use Adobe Send in conjunction with your existing address book. You can download the plugin from here: Outlook Plugin
    Best,
    Sara

  • I have multiple devices in my family. Each of us has an iPhone and an iPad. Is there a way for each of us to have our own Apple ID but one account so we can all get the same music, movies, books, etc. I can't see paying twice for something in the same fam

    I have multiple devices in my family. Each of us has an iPhone and an iPad. Is there a way for each of us to have our own Apple ID but one account so we can all get the same music, movies, books, etc. I can't see paying twice for something in the same family.

    Welcome to the world of digital media. Your can't really transfer it. I don't know what the rules are about transferring to your spouse but I do know that in some cases when you die, your heirs cannot inherit your digital media. This is why there is still an advantage to buying the CD since the usage rights belong to whomever holds the physical media.
    A possible workaround is to burn the songs to a music CD with yout account (tracks only without song titles) and then having your wife upload it as a regular music CD onto her account. It's been a while since i've done this so I'm not sure if it would work now.
    Please note that I'm not advocating copyright and/or TOS violations. I'm only suggesting ways to copy music for your own personal use which has traditonally been permitted. I only did this because I wanted to convert iTunes songs to mp3 files so I could burn them onto a data CD for use in my car. It would make sense that since married couples are a joint entity, this would be personal use.
    Also, I'm not a lawyer so don't take this as legal advice.

  • Hello can someone help me I have an iphone 4 and my daughter has an ipod touch we are on the same email address but somehow with in the last 25hrs all of my contacts are gone and only hers on on my phone is there a way for me to get all my contacts back?

    Hello can someone help me I have an iphone 4 and my daughter has an ipod touch we are on the same email address but somehow with in the last 25hrs all of my contacts are gone and only hers on on my phone is there a way for me to get all my contacts back?

    If you need assistance with finding any of your restores or attempting to restore from any that happened prior to his incident follow this article
    http://support.apple.com/kb/ht1766
    IF you do find a backup that has your contacts; I'd /highly/ recommand turning off your wifi network after the restore is finished because if the issue is with your iCloud your contacts may merge back with her's.
    With iCloud you DO NOT want to share the account; bad things happen Evil evil thigns...
    But in all seriousness; if two devices have the same iCloud; iCloud is told to merge and sync infomation between hte two and can't tell that it doesn't belong to the same person

  • Is there a way for me to use airplay on my mid 2010 MacBook Pro ?

    Is there a way for me to use airplay on my mid 2010 MacBook Pro ?

    http://support.apple.com/kb/ht5404

  • HT201272 I purchased an audiobook from iTunes On my iPhone.  I got a new phone and after the back up, the books I downloaded were not there.  iTunes wants me to repurchase the books I downloaded.  Is there a way for me to Redon load my already purchased b

    I purchased an audiobook from iTunes On my iPhone.  I got a new phone and after the back up, the books I downloaded were not there.  iTunes wants me to repurchase the books I downloaded.  Is there a way for me to Redon load my already purchased books?

    Hi..
    On your new iPhone tap Settings > Store.
    Make sure Books is turned ON.
    You shouldn't need to re purchase the book >  Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • HT204053 My wife and I just bought iPhone's, we use to share an account under one Apple ID, is there a way for one of us to share music without sharing the same Apple ID?

    We use to have multiple iPods, now we both have iPhones. When she wants to FaceTime with relatives she has to use my Phone because that's where the Apple ID is "tied" to. Now if we want to FaceTime each other it gets weird.
    We share similar taste in music so the music is not the problem.
    I'd just like her to have her own Apple ID for FaceTime, apps, etc.
    is this possible?

    Sorry... Apple IDs cannot be merged...
    I have multiple Apple IDs. Is there a way for me to merge them into a single Apple ID?
    Apple IDs cannot be merged. You should use your preferred Apple ID from now on, but you can still access your purchased items such as music, movies, or software using your other Apple IDs.
    From Here   http://support.apple.com/kb/HE37

  • Is there a way for me to "gift" or send an album download from my iTunes account to my daughter in another city?

    Is there a way for me to "gift" or send an album download from my iTunes account to my daughter in another city?

    This is not a law forum but technically I think your daughter is supposed to own her own copy, not a second copy of the track you bought.  In that regard it would be best to use Apple's gifting service to give her the track.
    iTunes Gifts - http://www.apple.com/itunes/gifts/

  • I have an iphone and an ipad (which are connected by the same apple id) i broke the phone and sold it but i didnt get to factory reset it because it was broken, is there any way for me to wipe my iphone from my ipad?

    i have an iphone and an ipad (which are connected by the same apple id) i broke the phone and sold it but i didnt get to factory reset it because it was broken, is there any way for me to wipe my iphone from my ipad?

    Try this:
    Open the "Find my iPhone" app on your iPad, fill in your AppleID and password at the start up screen, and you should see a list of all your devices and their current location, if connected to a Wi-Fi or mobile data network. Devices not connected will be shown as "offline". But you can still trap on the icon and hit "erase iPhone" in the right hand window.
    If your iPhone is not listed, you did not activate this feature during the setup of the phone and it can't be erased remotely.
    If the phone is listed, even as offline, tap on "erase" to send the erase command. The next time your device will be connected to any kind of network, the content will be erased.

  • I accidentally formatted my portable hard drive when setting it up for time machine. Is there any way for me to get back my lost files?

    I have an external hard drive of the brand Western Digital.
    Before I got my iMac I moved a lot of my important files from my PC to the hard drive and today I went on and connected it to my iMac to move my files over to it.
    When it had connected a window popped up that asked if I wanted to use this hard drive with the program Time Machine and create backups. Without thinking it trough enough and reading the warning properly (I'm stupid I know) I clicked "yes". I then realised how stupid it was and cancelled the formatting of the hard drive. But somehow the program still managed to delete all my important files and can't find any way to get them back. Neither can I connect the hard drive to my PC anymore so I can't check if the files are still there (which I doubt they are since I can't see them on my iMac either).
    And now I wonder: is there any way for me to get back my lost files or are they lost forever?
    Thank you in advance!
    //Gina

    A data recovery specialist or some data recovery programs should be able to help.  Most format simply rewrite the directory tree saying no files are on this disk.  The bits that represent the files are still flipped appropreiately so they still exists, you just don't have the location info to get at them.  Secure formats and erases rewrite each bit to a zero or 1 or random so the data is then truely gone.  This type of format takes a long time to complete.
    I'm not making a recomendation of a particular program but here is one company that does what you ask:
    http://www.remosoftware.com/mac-recovery  The cost is pretty high but I'm sure they don't sell many copies and need to cover their development costs.
    Good luck and don't write anything on the freshly formatted disk until you decide what to do.

  • I'm trying to downgrade my icloud storage; however, my MAC book will not upgrade pass 10.6.8 and I don't have my iphone anymore.  If there another way for me to do this?

    I'm trying to downgrade my icloud storage; however, my MAC book will not upgrade pass 10.6.8 and I don't have my iphone anymore.  If there another way for me to do this?  I've tried everything I can find online and of course my coverage has expired and can't call the support team.

    Hello Lara,
    have you already called Apple and explained your current situation, because I don't see a way to downgrade your storage plan with a Mac only running Snow Leopard and without a iOS device running at least iOS 5.
    Best regards.

Maybe you are looking for

  • How to delete mobile bookmarks folder?

    I have tried sync, but don't want it. First I unchecked all the boxes so nothing syncs, then I deactivated my computer, and then I deleted my sync account. But there is STILL a mobile bookmarks folder in my Firefox which I can't delete. How to get ri

  • Query taking too much time with dates??

    hello folks, I am trying pull some data using the date condition and for somereason its taking too much time to return the data    and trunc(al.activity_date) = TRUNC (SYSDATE, 'DD') - 1     --If i use this its takes too much time   and al.activity_d

  • Hosting website by Business catalyst

    Why neither Safari nor Firefox can find my website after I made an upgrade for Business catalyst (webBasics )? My website works only with the url: .businesscatalyst.com and not with my site name. Many thanks for the answer.

  • Multiclip angles dissappear

    Help .. Could anyone tell me why my multiclip angles dissappear from the viewer as soon as I hit play. Only the active angle shows. They come back when I stop. Sometimes it all works fine, sometimes it doesn't .. and I don't seem to be doing anything

  • Acrobat crashing with DeviceN

    Acrobat crashes when I try and print, my crop marks are set to DeviceN? Is that no longer supported? We have tried 8, 9, X both on Mac and PC.