0
How access ADMItems in Preference dialog added by plugin?
New Here
,
/t5/illustrator-discussions/how-access-admitems-in-preference-dialog-added-by-plugin/td-p/1254595
Sep 28, 2008
Sep 28, 2008
Copy link to clipboard
Copied
SDK provide GetPreferencePanelBaseItemIndex() and GetPreferencePanelItemRef(), how access admitems in preferences panel through them?
Thanks!
hanyang.
Thanks!
hanyang.
TOPICS
SDK
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Explore related tutorials & articles
Guide
,
/t5/illustrator-discussions/how-access-admitems-in-preference-dialog-added-by-plugin/m-p/1254596#M238467
Sep 29, 2008
Sep 29, 2008
Copy link to clipboard
Copied
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.
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.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
jdyyz
AUTHOR
New Here
,
/t5/illustrator-discussions/how-access-admitems-in-preference-dialog-added-by-plugin/m-p/1254597#M238468
Sep 29, 2008
Sep 29, 2008
Copy link to clipboard
Copied
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.
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.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Guide
,
LATEST
/t5/illustrator-discussions/how-access-admitems-in-preference-dialog-added-by-plugin/m-p/1254598#M238469
Sep 30, 2008
Sep 30, 2008
Copy link to clipboard
Copied
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!
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

