Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How access ADMItems in Preference dialog added by plugin?

New Here ,
Sep 28, 2008 Sep 28, 2008
SDK provide GetPreferencePanelBaseItemIndex() and GetPreferencePanelItemRef(), how access admitems in preferences panel through them?

Thanks!

hanyang.
TOPICS
SDK
723
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Guide ,
Sep 29, 2008 Sep 29, 2008
I messed around with this a little a few years ago, so my recollections are sketchy. If I'm remembering right though, that API lets you added panels to the Illustrator preference dialog. I believe they're just regular ADM dialogs that you 'index' into the preference set, and functionally they act just as if they were stand alone dialogs.

That said, if you're trying to use it to access built-in Illustrator preferences, I don't think that's the way to go -- I'm not even sure it's possible. If you're just trying to get a preference value you can ask for it using the AIPreferencesSuite -- just look up the name in the AIPrefs file. There are no 'secret' prefs in AI, everything is published in there.

If you're trying to get at items in your own dialog, I'm stumped. Because as I said, my understanding was that it was just like a regular dialog. As I said though, it's been a long time since I looked at this.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 29, 2008 Sep 29, 2008
Thanks a lot, A.Patterson!

I want to get/set/notify items in my won preference dialog, and SDK seem don't provide function to do. Why??

Thanks again!

hanyang.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Sep 30, 2008 Sep 30, 2008
LATEST
I'm afraid I didn't do more than poke around with that interface. I noted there was some weird stuff with regard to layout but it seemed like it was a pretty ordinary dialog other than that -- just 'embedded' in their Preferences framework dialog. Are you saying that you can't use the usual methods & classes to interact with your own items? That seems strange, since I assumed this API meant they were using it themselves!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines