Save custom Preferences on Indesign Plugin

Hi
I would like to know what is the best or easy way to save some info the user entered on my text box, so that when he close the InDesign and reopen, he typed text will be there.
I put this text box in a window inside the Preferences.
What should I look for?
I am trying with persistent data, but I do not know if is the right approach.
I am using Indesign CS6 and Xcode 3.2.6 and dolly
Regards,

Hi Ricardo,
You are on the right track to consider persistence. The basic idea of persistence is to add a persistent interface to a boss class. Like in your case you could add your interface in the kDocBoss so that you could have individual data for each doc, or you could add it to the kWorkspaceBoss class. You need to implement the ReadWrite method in your persistent interface and implement command to write your persistent data.
Have a look at the programming guide to read about these concepts and also have a look at the BasicPersistInterface plugin to get an idea of how to implement persistent interfaces.
Thanks
Manan

Similar Messages

  • How can I save my interface preference in InDesign CC?

    I'm working in InDesign CC and I prefer to have my interface set at "Light" instead of the new dark interface that is the default. I made sure no documents were open, went to Edit/Preferences/Interface and selected my choice. But whenever I start InDesign (say, each morning when I get to work), I has gone back to default dark interface. It saves my other preference changes and other changes to the workspace, but not the choice of interface. Everyone at my office prefers the light interface so we're wondering if there's a way to make InDesign save this preference. Thanks!

    The other preferences I changed seem to have saved just fine. I don't change a ton of stuff...just the units and now the interface.

  • How do I save my EXPORT custom preferences

    I want to make a custom preference for exporting MOV files*.
    There seems to be no SAVE PRESET... option so I have to keep entering in the details every time I want to do a custom export.
    Is there a way of saving custom export presets?
    *File->Export...->Quicktime Movie...

    It's a feature that we've been screaming about for several years, put it in the FCP Feedback folder, if youcan find it.
    What you really want to do is export a reference movie and use a droplet that you create in Compressor. the small extra steps of locating the ref file and plopping it on the droplet are insignificant if you do this often. The Compressor droplet can be set to do all kinds of interesting and scriptable things.
    bogiesan

  • Reset preferences by InDesign while installing a new version of plugin

    Hello,
    Our company developed a Plug-In for InDesign.
    This works on InDesign CS5.5 und CS6 for Mac OSX and Windows.
    Currently we have developed a new version of this Plug-In.
    Old version 1.6 and new version 2.0.
    On an InDesign with Plug-In version 1.6 we have trouble if we trying to install version 2.0.
    Here will be reset the preferences by InDesign after successfully installation version 2.0 and at start the InDesign.
    After some experiments i have found out, that in “InDesign Defaults” and “InDesign Saved” files exists an entry regarding the plug-In.
    After starting my Plug-In 1.6 in InDesign the entry will be added to these files. If i uninstall the Plug-In and start/stop the InDesign i find still the plug-in entry in “InDesign Defaults” and “InDesign Saved” files.
    While starting the InDesign after installation the Plug-In 2.0 detect the InDesign a conflict in “InDesign Defaults” and reset the Preferences. See below image
    Can i cleanup these files after uninstalling the old Plug-In without losing my Preferences?
    Can i prevent the input of the Plug-In entry to these files?

    I suggest you re-post this over in the InDesign SDK forum. I'll leave it here as well, but it's very unlikely anyone here will have an answer for you.

  • Unable to Save new documents in InDesign CS5

    I just upgraded from CS3 toCS5. I'm able to open old InDesign files and save but am not able to save a new document in CS5. I'm also not able to Undo. Any suggestions? Hoping this is an easy fix.

    Hi,
    Try re-creating the preferences.
    For windows Xp:
    Drag the "Version 6.0" folder from C:\Documents and Settings\[user name]\Application Data\Adobe\InDesign\ to the desktop.
    Drag  the "Caches" folder from C:\Documents and Settings\[user name]\Local  Settings\Application Data\Adobe\InDesign\Version 6.0 to the desktop.
    For Windows Vista:
    Drag the "Version 6.0" folder from C:\Users\[user name]\AppData\Roaming\Adobe\InDesign\ to the desktop.
    Drag the "Version 6.0" folder from C:\Users\[user name]\AppData\Local\Adobe\InDesign\.
    For MAC:
    Drag the "Version 6.0" folder from Users/[user name]/Library/Preferences/Adobe InDesign/ to the desktop.
    Drag the "Version 6.0" folder from Users/[user name]/Library/Caches/Adobe InDesign/ to the desktop.
    If this dosen't work tried creating new user account with Admin rights.
    Regards,
    Swapnil

  • Missing  SMD Channel Model.sdk.InDesign Plugin

    Hello everybody!
    I got an InDesign file from a print office today. When I try to open it, I get a message that advises me to not open the file because the SMD Channel.sdk.InDesign Plugin isn't available on my system.
    Like a good girl I googled the problem and yes there are already some posts about that problem. Also in this forum there's already an existing discussion about it: Link InDesign Discussion
    But for the solutions they offer I should open the document but I simply can't. Because when I press "OK" only
    another warning appears that says that I can't open the document and that I should update my modules or  update to the current verison
    of InDesign. When I press "OK" again nothing further happens. (Pictures below)
    Operating System: Windows Vista
    InDesign Version: CS 5
    Sorry that the screenshots are in german. I hope you can use them anyway.
    Thanks for your help! -- Jannie

    Hi Jannie,
    This is not a big issue, it seems that the document you are using was created from a later version of InDesign than the one you are using to open it. Since you are using CS5 the document is probably created using CS5.5 or CS6, and you cannot open a doc of later version in a previous version of InDesign for obvious reasons.
    And for the reason this problem(your first screenshot) occurs is that every plugin in InDesign can save some persistent data on the document and if it does so then whenver you open such a document and the plugin is not loaded then this prompt occurs. However if the developer coding the plugin has some foresight he can avoid such alerts to the user by using Ignoretags resource in the plugin code.
    Hope my explanation cleared out the confusions you had on this behavior of InDesign
    Thanks
    -Manan

  • Access custom metadata from another plugin

    I was wondering if it would be possible to access the custom metadata from one plugin from another plugin.
    I know you use the _PLUGIN object when you read or write the metadata with a plugin.Is there any way to pass the varible to another plugin, maybe stored in a xml or text file in the modules folder? I also see where you can use the "unique identifying string" or plugin.id. Is this id differant for every installation of Lightroom?

    Allen, I'm pretty sure the answer is no - you can't access another plug-in's custom fields.
    I'm sure I have read this limitation somewhere - even if I can't now see it stated explicitly in the documentation. If anything, the docs imply getPropertyForPlugin can do so by specifying the LrToolkitIdentifier value (which you may be able to pass as a preference). So this doesn't work:
         getData = photo:getPropertyForPlugin("uk.co.beardsworth.missing", jbMissing )
    It is an important point though that one plug-in should be able to access another's custom fields. Obviously one can think of many ordinary circumstances where it would be handy, but I'm more worried about the longer term DAM viability of custom metadata. Let's say I decided to release a plug-in based around custom fields and users entered metadata which had some value to them - whether that's just input time or business data (eg client or agency account number). Now move on to LR3 and the plug-in no longer works - I've disappeared, driven mad by SDK changes, or you're unwilling to pay my extortionate plug-in upgrade fee.
    Now what happens to that valuable metadata? The data is still in the database but you can't read it because the original plug-in's unavailable, and Adobe's built-in "All" Plugin Metadata panel only shows data from enabled plug-ins. It's not in the XMP either. You're stuffed - unless you're resourceful enough to reverse engineer chunks of the plug-in. Assuming that I encrypted my plug-in's code, that means you're going to have to dig around the SQL to figure out my plug-in's ID and its field names. Only then can you create a plug-in to rescue your custom data. And you've got to hope to hell that my plug-in didn't encrypt or obscure the values you entered.
    For me what this shows is
    1) You're taking a big risk if you store valuable custom metadata - if you can't sort it out yourself, should you do it?
    2) You should ensure any plug-in with custom metadata stores its field definitions in unencrypted files
    3) The All Plug-in Metadata panel needs to show all plug-in metadata
    4) The SDK should allow you to get custom metadata from other plug-ins
    4) Custom fields should be mapped to XMP
    Short answer - No.
    John

  • Kindle indesign plugin affecting epub exports??

    I am having an issue that I can't find discussed anywhere so here goes. I have been exporting epubs for about two weeks now. Three days ago I downloaded the kindle plugin so I could get my ebook converted to a mobi file. After finally accepting the kindle limitations with fonts, spacing, etc. I finally created an acceptable kindle version of my book. BUT now whenever I generate an epub my output looks like a mobi. (lost all my fancy fonts, spacing, etc that used to work before I added the plugin) HELP....has anyone else experienced this issue? And yes, I do have seperated files and folders creating the two book files. I did this intentionally because of the limited font issue with the kindle. (btw, I am very new to all this so please keep suggestions simple)

    I do have the latest Kindle plug-in installed and haven't had any problems exporting EPUB in InDesign CS5. I'd make sure you update your Kindle plug-in. I checked a week or two ago, and I had to redownload a later version. Also make sure InDesign is patched to the latest version 7.0.3. You could also try to restore your preferences in InDesign: http://forums.adobe.com/thread/526990

  • Flex Indesign plugin

    Hi guys,
    I am trying to build an Indesign plugin with flex and CreativeSuiteSDK.
    When trying to execute this statement in a shell:
    java -jar ucf.jar -package -storetype PKCS12 -keystore myCert.pfx -storepass mypasswd
    myExtension.zxp -C "./myExtension"
    I get this error:
    not enough arguments
    usage:
      ucf -package ( -storetype <type> ( -keystore <store> )? ( -storepass <pass> )? ( -keypass <pass> )? ( -providerName <name> )? ( -tsa <url> )? )? <ucf-file> <fileOrDir>* (( -C <dir> <fileOrDir>+ ) | ( -e <file> <path> ))*
      ucf -help
    I am working with this tutorial: http://www.google.com/url?sa=t&source=web&cd=1&ved=0CBkQFjAA&url=http%3A%2F%2Fwww.adobe.co m%2Fcontent%2Fdam%2FAdobe%2Fen%2Fdevnet%2Fcreativesuite%2Fpdfs%2FCS_SDK_Guide.pdf&rct=j&q= Using%20the%20Adobe%20Creative%20Suite%205%20SDK&ei=Lw40TZS6BIe_4gbRlLWJDw&usg=AFQjCNHLg2F xFL7DVPiQkErqqhQnB8zMPg&cad=rja
    Thanks for your help

    Similar bug(#3710667) was exist in CC before 9.2.2 update as you can see in release notes of 9.2.2(CC last update) here. before fix simple selected text drag & drop did not work from any application except TextEdit .I have also spent hours before this update to find out bug I used ClipBoardViewer sample App to find out current Drop flavour and its content it may help you and before fix I find some workAround first is add flavour in your drop which Indesign understand even if you are not adding any data for that flavour so that you start receiving couldAcceptType() and under this call parse your actual data from PasteBoard and remove all data from pasteBoard so that another next helper will not consume it. as you mention even after adding text flavour your couldAcceptType() not hit so may be this WorkAround not work for you but it worked for me.
    second is just a finding  i.e before doing drag and drop on indesign create one new document (from Indesign UI not programmatically ) save it on disk close it and reopen it after it every drag & drop will start working work .

  • Lost preferences when InDesign CS6 crashes or force-quits

    For the most part InD CS6 is pretty stable although I've had a few crashes. On occasion InDesign will hang up when I click to sign out of a Folio Builder account. Eventually I just have to force-quit InD. When I relaunch InD CS6 all my user preferences are lost, including all my Print Presets and Document Presets and InDesign restarts as though I'm launching it for the very first time. This has happened often enough now that I keep a good copy of my InDesign Defaults preference file on my desktop so I can copy it back to User/Library/Preferences/Adobe InDesign/Version 8.0/en_US folder before I relaunch. Sometimes I have to do this twice before InD will recognize my user preference file.
    This never happened with older version of InDesign. If InDesign CS5 crashed or require a force-quit it would always relaunch with the last saved preference version. InDesign CS6 is actually updating the preference file each time I legitimately quit the application and everything is as it should be except when there is a crash or force-quit -- then it simply ignores the last-saved preference file and reverts to some "first-launch" preference. I have no idea why this is happening.
    I'm hoping if someone there at Adobe can tell me if this is a bug that will be addressed in a future update, because I don't know what I can do other than keep my backup pref file handy. It's either that, or reload all the Saved Print Presets, Save Document Presets, and then go through the list of Preferences each time there is a crash or I have to force-quit.
    I'm using an iMac 3.06 GHz Intel Core i3 with 4GB RAM, running Lion 10.7.5

    Finally figured it out. Cache files were interferring. I went to User/Library/Caches/Adobe InDesign/Version 8.0/en_US folder and noticed tons of cache files. I opened another user account on my computer, which I rarely use, and noticed that account had a small handful of folders and files and never had the problem of losing preferences. So I went back to my main user account, deleted all the cach files, figuring that InDesign would recreate new ones anyway.
    Now when InDesign crashes (which is less frequent now) at least my preferences aren't all lost.
    Hope this helps.

  • FCP wont save custom transitions or filters...

    i was having problems with an audio render prblm and i dled FCP rescue.. .. ran it and it fixed the probl... NOW... fcp wont save my custom transitions or filters when i pu t them in the favortis bin in the effects window.. any word? thanks for ur help

    hi Jerry.. i did as u suggested... saved those favorits in a seprate project.. but now it seems FCP isnt saving any of my preferences at all...
    I work with about 5 different external HD's... each of these has a folder named "Final Cut Pro Documents"... i maed these folders just to keep everything organized and so i wont have to be looking for files everywhere.....i never had a problem switching bakc and forth from theses HDs and just selecting that foldder asn the the scratch disk... everything worked fine until a couple weeks ago i had a audio render problem where my video that was at 47.9999k would have to rendered and im tlaking about 2- 3 hrs of audio.... and someone suggested i should use FCP resuce and that this would solve that problem... it did solve that problem.. so it seems.. that FCP wont save ANY preference i choose.... wheter it be fav transitions/filters.. or even asking me about the missing capture device.. or aborting on dropped frames.. i keep having to REDO all of these setting almost every project i open. .. i have nooooo IDEA what is going on.. and would love some input.. thanks in advance you guys ahve been great!

  • How to load and save custom workspaces in PE7

    I've written a little utility which allows PE7 users to load and save custom workspaces. It's attached to post #1 of this thread.
    System requirements
    The utility has been tested with Windows XP Pro SP3 only. It might or might not run under Vista. It will only work with PE7 installations where the executable files are in the default places.
    Installation
    When you have downloaded the utility (it's only 199KB) you can run it from any convenient place in your system - it doesn't need to be installed as such.
    Usage
    It's pretty self-explanatory in use but here's the manual!
    Run the downloaded utility "PE7WS.exe".
    A file selection dialog appears. Choose the workspace layout file you wish to use. "LastUsed.layout" is the last used workspace (that's all you will be offered the first time you run the program). If you press Cancel at this point, the program will exit and nothing will happen.
    Once you have selected the workspace, click "Open" and Premiere Elements 7 will run, using the workspace layout you chose.
    After you exit from Premiere Elements 7, a workspace layout file save dialog will appear. If you made changes to the workspace during your Premiere Elements 7 session, you can now give the revised workspace a name and save it.
    Do not save the workspace in a different directory from that which the dialog offers!
    If you have changed an existing custom workspace, and you want to update the version previously stored, just select the name and over-write the saved workspace layout with the new one.
    If you don't want to save the workspace at all, just click "Cancel" - next time you run Premiere Elements, you can choose the "LastUsed.layout" workspace to use that last used unsaved workspace in any event.
    If you use the PE7WS utility to run Premiere Elements 7, and then you use the menu option "Window > Restore Workspace", then exit, you can either cancel the workspace saving stage, (which will mean that "LastUsed.layout" will contain that default workspace), or you could give that default workspace a name like "PE7 Default" so you can start a future Premiere Elements 7 session with the default workspace, even though you last used a custom workspace.
    If you run Premiere Elements 7 in the usual way without using PE7WS.exe, the workspace that appears will be the last used one.
    The usual disclaimer...
    The utility should be entirely safe in use, but I can't accept responsibility for any loss or damage it might cause. However, the only file manipulation is does is to workspace files in the directory that Premiere Elements 7 uses purely for the purpose - the utility doesn't go anywhere near your precious project files.

    I'm finding it very handy on my particular twin 22" monitor setup to sometimes use a one-screen layout and sometimes a two screen layout. I 'discovered' that having the timeline on the second monitor enables me to tweak edits there while having the playback full size after pressing the "full screen" button on the first monitor. Where the timeline would normally be I have the history, mixer, and other windows always open. As the second monitor is also used by another PC (the one I have the net and email etc on) using "Maxivista" monitor sharing software, I revert to single screen layout when doing stuff like exporting to DVD so I can see what is going on with the render while typing stuff like this.
    Selectable workspaces are dead handy!

  • Updated Firefox won't save my preferences; reverts to original settings.

    A few days ago, Firefox updated itself to the 18.0.1 version. Now, each time Firefox updates itself, I tend to lose some of my preferences, those being: opening new tabs as a blank page, tabs being on the bottom, and showing my windows and tabs from last time. Usually, though, once I go and change these things back to the way I like them, they stay like that and I have no further problems.
    However, this time Firefox won't save my preferences. The tabs go back to being on top, the tabs I last closed aren't there, and these tool bars I don't want keep appearing. Instead, three tabs are always there upon opening Firefox: Welcome to Firefox, Mozilla Firefox Start Page, and Yahoo! Toolbar. Also, when opening a new tab, the page says, "page does not exist" or something, and the URL is not even comprehensible, just random letters like someone bashed their head into the keyboard, something like: "jkfui87$^&%$$09."
    I've tried resetting Firefox like it says in the "How to fix preferences that won't save" page, but it didn't help. As for deleting certain files from the profile folder, before I resetted Firefox, I only had "user" and "prefs" and "Invalidprefs" which weren't exactly what that self-helping page asked for so I didn't delete them. After I resetted Firefox I lost the "user" file, but I still have the other two. Should I try deleting them even if they're not exactly like the page describes? They are missing the ".js" part so I haven't felt comfortable messing with them.
    Please give me some advice. I'm tired of having to go change my settings in "about:config" each time I open Firefox. But I really don't want to try anything that would delete my bookmarks or history, as I'm very dependent of them.

    Obviously no one here actually READS these things, I tried all of that even did a clean install, even uninstalled all user data and THE PROBLEM IS STILL THERE!
    Your help is completely useless, All you people do is copy and paste the same thing over and over. If it didn't work the first 20 times it's still not going to work no matter how many times you copy and paste the same fucking link.
    You have lost a die hard fan of Firefox, I am switching to another browser.
    Unfortunately I tried older versions of Firefox and had to go all the way back to Firefox 4 and now the problem is fixed.

  • Download Error - Contact customer support. Indesign wont load application have gone from the control panel. CS photoshop loads and wants a serial number - and my serial number dosent work?

    Download Error - Contact customer support. Indesign wont load application have gone from the control panel. CS photoshop loads and wants a serial number - and my serial number dosent work?

    Hello Bradley,
    sometimes the "opm.db file" is the culprit. In this case you should delete it.
    But as much as I regret it and as strange as it may seem I fear it's a challenge for Adobe's Creative Cloud Cleaner Tool.
    Sometimes - for whatever reasons - CC doesn't "want" to work. In this case you should CC completely delete and reinstall by help of Adobe Creative Cloud Cleaner Tool. (A try to uninstall by own resources is not enough!)
    I quote: ... helps resolve installation problems for Adobe Creative Cloud and Adobe Creative Suite (CS3-CS6) applications. The tool removes installation records for prerelease installations of Creative Cloud or Creative Suite applications. It does not affect existing installations of previous versions of Creative Cloud or Creative Suite applications.
    Please use: http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html   and follow the prescribed sequence of operations
    If necessary and for further questions click through http://helpx.adobe.com/contact.html or http://helpx.adobe.com/de/contact.html and if "open" please use chat, I had the best experiences.
    Good luck!
    Hans-Günter

  • How can I save the preferences in Adobe Acrobat Standard XI?

    Hello,
    I'm not able to save any preferences in Acrobat. (like Units, display preferences, the locations of the tools...)
    Each time I exit and open again Acrobat, the preferences are not saved, which is very annoying
    Kind regards,
    Nicolas

    Try the forum for Adobe Acrobat.

Maybe you are looking for

  • Error message during recovery reformatting hp mini 110-3030nr

    ordered the recovery usb for my hp mini 110-3030nr trying to format but when its trys to write recovery files I get this error message. copy file fails From: D:\preload\base.wim  To: C:\RM\Image\base.wim   Please help product number WQ809UA#ABA

  • Can't create an instance

    I got the below error on Solaris 10. Do you have any ideas? # ./dsadm create /users/lab/dsee/dsins1 ld.so.1: dsadm: fatal: libsasl.so: version `SUNWprivate1.1' not found (required by file /users/lab/dsee/ds6/bin/../../dsee6/private/lib/libldap60.so)

  • Multiple issues with wireless after update to 10.8.3

    My wireless connectivity was never an issue until recently, probably after my update to 10.8.3. Now I see this... - After turning on my mbp, it can't see any wireless networks. If I go to network preferences and use the Network Name dropdown, I see a

  • Need help in Insertion

    Hi, I am facing some problem in insertion. I have a table Organization which holds which has around 100 columns ORG1, ORG2-.... ORG3. This tables gets it data from another table ORGANIZATION_OLD. This is done by CTAS method and then again recreating

  • Apple TV mirroring feature not working

    I have a brand new macbook air and an apple tv (3rd generation) and the mirroring function was working earlier but is now not even showing up in my displays option. How can I use my mirroring feature again? I have restarted both my computer and my Ap