Illustrator Scripting :: CC Extension Preferences Aren't Being Saved?

Jul 1, 2013

I am trying to save preferences in the onClose function of my extension using the following code:
 
CSXSInterface.instance.storePreference("shapeStrokeSize", model.shapeStrokeSize.toString());
 
But the values I save do no persist and I can't find the prefs file. I am checking in: /Users/mitya/Library/Application Support/Adobe/CEPServiceManager4/preference
 
if I run this same extension in CS6 everything works fine.

View 2 Replies


ADVERTISEMENT

Illustrator :: Color Books Not Saved In Window / Palette Preferences?

Jun 15, 2012

I've found this a most irritating issue already since CS1.I use Pantone colors a lot in my designs and always have the Pantone Solid Coated Color book open in Illustrator. However, no matter how often I save workspace, as soon as I close Illustrator and restart the color book has disappeared from my palette settings and locations. I have to re-open the color book every single time.What is the problem with this? How can all the other windows be saved in the workspace settings and preferences, but not the color books?

And why is this issue not yet addressed, when it's been coming up already since CS1? It's not a computer / preferences file issue.CS1, CS3, CS5 and now CS6 were all installed on a brand new (empty save for operating system) computer.

View 4 Replies View Related

Illustrator Scripting :: Regain Keyboard Focus From Extension

May 9, 2013

Have a lovely extension. Such a pretty panel. Useful. Except there is a bug using FlexUI. If you click a flex panel it grabs up keyboard focus and will not let it go unless you click somewhere else. This may be a Mac thing. You can see this behavior in the built in "Kuler" extension. Select object. Click on Kuler panel. Hit delete. Object doesn't go away.
 
Now scouring the intarwebs I've seen a few posts describing this issue, but no fixes for Illustrator. If people know, they ain't telling. I aim to fix that, but first I need to find that answer.
 
Actionscript is just plain slow anyway, so I have my extension logic running from a Javascript. If there was some command in that script to give Illustrator back keyboard focus, even if it's a hack (such as invoke action), now that would be something.
 
Test it by using Kuler and running the script from Illustrator. The act of switching between ESTK and illustrator will fix things, but obviously you don't want to switch applications in the middle of a task.

View 9 Replies View Related

Illustrator Scripting :: ESTK 3.6 Crashes When Open Preferences And Click Fonts And Colors

Sep 10, 2012

I am using a MAC OS version 10.6.8 and ESTK 3.6.  When I open ESTK the font is very small and I want to make it larger.  I go to ExtendScript ToolKit>Preferences when I click Fonts and Colors the program crashes and sends an error report to Apple. 
 
I would like to script Illustrator with .jsx instead of AppleScript because I am more familiar with JavaScript (plus it's cross platform compatible). 

View 4 Replies View Related

Illustrator Scripting :: How To Get Saved Selection List In JavaScript

Aug 21, 2012

Recently I met a little problem about save selection. I want to get saved selection list so that I can used in javascript. Some useful information about how to get Saved Selection list in javascript!

View 2 Replies View Related

Illustrator SDK :: How To Create Extension (flex - Extension Builder)

Feb 9, 2012

I'm learning how to create extension (flex - extension builder) for Illustrator and how to make it communicate with a plugin.

The samples provided in the SDK detailed how to load /unload extension from a menu item from Illustrator, and how to add / remove EventListeners to make the magic happen.
 
to sum up, this is something like that:
1- click on the menu item
2- load extension
3- add listeners
4- do your stuff......
5- remove listeners
6- unload extension
 
Basically my plugin is a module/service which is in charge of dealing with / modifying artwork tree. It has no User Interface.

My extension will have a user of this service.  
 
What I would like to do is to load my extension as soon as my plugin is loaded, and unload the extension when the plugin will be unloaded.

Or notify when extension is loaded or unloaded.

Is that possible and hw could I achieve that?

View 2 Replies View Related

Lightroom :: Files Been Saved With Conflict Extension?

Oct 16, 2013

SInce I upgraded from Lightroom 4.3 to version 5.0  I and having problems when saving files to my computer. The anomaly is that it isn't all the time. The files are being saved with a .conflict extension.  when exported from Lightroom. - For example tornado.conflict1 when i name the file tornado.

View 4 Replies View Related

Illustrator :: Some Layers Are Collapsed Some Aren't?

Nov 29, 2012

I've an Illustrator file with about 50 different layers. Each time I open it, some layers are "opened" others are collapsed. I "closed" all leayers, saved the document, restart AI but some layers are open again. How can I save the folding state of a layer? How can I collapse all layers?

View 5 Replies View Related

Illustrator :: Why Aren't Links Showing Up In CS6

May 17, 2013

I'm using AI CS6 at work and when I place files, they don't show up in the links window and changing the original file does not affect the placed image.

View 3 Replies View Related

Photoshop :: Why PSD Extension File End Up Saved As 8 File

Nov 19, 2012

I created a file in Photoshop and was saving it along the way as a layered PSD file. When I went to open it a few days later, it wouldn't open and said that it was an '8 file'. What happened, and how do I fix it? It had all the design layers I needed for another project.

View 3 Replies View Related

Illustrator Scripting :: How To Automate Importing Variable And Datasets Into Graphs Via Scripting

Dec 18, 2012

I'm try to automate the importing of the Varaible and datasets into my graphs via Scripting, but the ImportVaraibles() function doesn't seem to work.  Here is my Script, mostly copied from the example script provided with Illustrator (CS5).  And, this works manually, using the file names in the script, via Load Variable Library
 
    Set appRef = CreateObject(strIllistratorVersion)
   
       'Open the file and import the datasets
        Set docRef = appRef.Open(strTemplate & "200-500.ai")
        'docRef.Datasets.RemoveAll
        docRef.Variables("Yearbook").Delete
 
Here is the problem, after I delete the previous library, then this next line, right from the example, does nothing
The script then exits with 'No Datasets in this document'
       
docRef.ImportVariables (strXMLFolder & "Lumber_200-500.xml")
'appRef.DoJavaScript "alert('Template:" & strTemplate & strRange & ".ai  |  XML file:" & strXMLFolder & ""  & objFile.Name & "^')"
        If (appRef.Documents.Count > 0) Then
            Set docRef = appRef.Documents(1)

 [Code]....
 
If I remove that delete line, the script runs, but just uses whatever Variables I had last loaded, not the XML file.
 
It's simply not loading.  What do I need to do to get it to load?

View 8 Replies View Related

Illustrator :: Why Won't CS5 Allow To Copy And Paste Layers When They Aren't Locked

Jan 10, 2013

I am working on a project and when I try to copy and paste unlocked layers to paste them in to another image it doesn't paste. The only thing it pastes is the text unformatted. I tried resetting the settings by removing the setting file to see if I can set Illustrator back to square one and it isn't working. See Picture for before (copy) and After (paste)
 
[URL]
 
I am also using windows 8 on a pc. I would say it was the OS but it was working fine untill yesterday.

View 30 Replies View Related

Illustrator :: Free Fonts And Now Brushes Aren't Working

Jul 1, 2013

i downloaded some free fonts and tried to implement them...one worked.  But now my brushes aren't working as in when i open the library of brushes and click it pops up and says "unknown error has occurred".  are these 2 linked? 

View 1 Replies View Related

Illustrator :: CS6 - Quotation Marks Aren't Working Correctly?

Dec 19, 2013

Illustator CS6, my quotation marks are coming up either pointing in the wrong direction, or sitting on the baseline. I've restarted. I've changed the font. Tried pasting from another program.

View 3 Replies View Related

Illustrator Scripting :: Access Graph Data Through Scripting DOM?

May 6, 2012

Can you access graph data through the scripting DOM?

View 3 Replies View Related

Illustrator :: Way To Import Preferences In CC

Aug 12, 2013

Is there a way to import preferences (e.g. saved workspaces, keyboard shortcuts) in Illustrator CC? I just upgraded from CS6.

View 1 Replies View Related

Illustrator :: Brush Won't Keep Preferences CS6

Dec 16, 2013

Everytime I try to use the brush, it automatically becomes uniform, 5 pt round. I change it to what I want, and as soon as I use the brush, it jumps back to the old settings. How can I change the settings and have them stay so I can create multiple strokes in succession without having to go back and change each one? It's so frustrating.

View 7 Replies View Related

Illustrator :: How To Trash Preferences In CS3

Mar 10, 2013

I cannot seem to remember how to successfully trash the preferences in Illustrator CS3 PC platform. I tried moving the preferences folder, but I think there is one other thing that needs to be done..

View 3 Replies View Related

Illustrator :: Resetting Preferences In CS6?

Jul 26, 2012

Im trying to reset illustrator Preferences with the shortcut option+command+shift   but its not working, it worked with photoshop but with illustrator its not working why ?
 
also in CS6 where to find illustrator Preferences file to delete them in case short cut dont works

View 8 Replies View Related

Illustrator :: How To Migrate Preferences From CS5 And 6 To CC

Sep 19, 2013

I have a substantial library of symbols, brushes, and swatches that I've been carrying along with me since CS3.
 
I just installed Illustrator CC (among other apps) and I was wondering if there was an easier way to migrate all that stuff into the new version besides dragging files into folders like I've had to do in the past.

View 1 Replies View Related

Illustrator :: Can't See Preferences Dialogue Box

Jan 26, 2011

When I click on the button, the dialogue box does not appear and the program is locked up until I hit escape.  Before I do that it "pings" when I click elsewhere.

View 7 Replies View Related

Illustrator Scripting :: Create Mirror Text And Stroke Text In AI Scripting

Mar 16, 2013

the Script of creating mirror text and stroke text in Adobe illustrator scripting.

View 4 Replies View Related

Illustrator SDK :: Close Button (X) On UI Extension

Dec 2, 2011

I am very new to Flex/Flash/Illustrator. Using Illustrator CS5.1, Flex 3.6 SDK in Flash Builder 4.5, and Visual Studio 2010.I am developing a hybrid plugin for Adobe Illustrator.  The plugin is C++ and interfaces with a hardware device and an UI extension built on Flex/Flash.  It uses the CSXS library (version 2.0 based on Flex 3.4 SDK) to perform the communication between the extension and the plugin.
 
When the UI extension closes, I need the plugin to perform some tasks. These tasks might be related to Illustrator and/or to the device it communicates with. If the UI is closed using a button I add to the UI, the plugin runs the tasks as needed.  If the UI is closed using the 'X' button in the corner of the window, I can not get the CSXS interface dispatch events to carry over to the plugin.  This is the same dispatch events used from the UI button that I manually created and works fine.
 
I have tried capturing the exiting event from the NativeApplication and I do see myself entering the associated function to that capture.  The dispatch events run but I do not enter the corresponding functions in the plugin.Below is one of several attempts at making this work (believe this was found on the Adobe forums):
 
public function init() : void
{
      NativeApplication.nativeApplication.addEventListener(Event.EXITING, windowedapplication1_closingHandler);

protected function windowedapplication1_closingHandler(event:Event):void
{
      event.preventDefault();
      //event.stopImmediatePropagation();
      CSXSInterface.getInstance().dispatchEvent(new CSXSEvent("com.testui.events.closing", CSXSEventScope.APPLICATION));
}
 
Again, windowedapplication1_closingHandler will process but the dispatched event is not seen by my plugin (when the 'X' is clicked).Is there a way to disable/hide the 'X' in the corner of the window?Am I not properly "capturing" and "halting" the exit event?Should I move away from the CSXS Library and use sockets to perform this communication (though the closing of the extension may have the same affect on the socket communication)?I am currently working on Windows 7 64-bit (if that matters) but the plugin will have to work on Mac too.

View 4 Replies View Related

Illustrator SDK :: Progress Bar As Flash Extension Possible?

Nov 29, 2012

Try to realize the progress bar as a flash extension?
 
i tried to realize a progress bar as a flash extension, but the flash ui with the progress bar freezes, because my time consuming process ssems to block the flash ui.
 
In the first step I moved the time consuming algorithm into a separated thread. At first I used a dummy time consuming algorithm to keep the tests simple and the progress bar worked fine. Then I replaced the dummy algorithm with the real algorithm, but the algorithm did not work. I could not invoke Suite functions of the Illustratok SDK. I assume that after the plugin main thread had invoked my worker thread and returned, some resources are released.
 
In the next step I tried to move the flash extension handling to a separate thread, but then loading the extension by the SDKPlugPlug hangs. I assume that the extension handling is an event based process. Since my new created thread has no event loop, the extension can not communicate with my thread.

View 1 Replies View Related

Illustrator :: Trash Preferences At Startup?

Dec 16, 2013

I've had to trash my preferences for Illustrator recently and used the Cmd-Opt-Shift-Ctrl method.
 
I've been a little confused that there wasn't any alert confirming that I wanted to trash the prefs.
 
confirm that Illustrator DOESN'T give this alert dialog when trashing the prefs?

View 7 Replies View Related

Illustrator :: How To Delete Preferences In Mavericks

Feb 7, 2014

I'm using Adobe Illustrator 15.0.2 (CS5) on my iMac which is running Mavericks (OS 10.9.1). In the past, I've simply trashed my plist files in my user's Library's Preferences folder. I did this and it doesn't seem to work. I'm not computer savey enought to do any programming work without very clear instructions. I see that people have talked about the difficulty with doing such things in Mavericks.

View 3 Replies View Related

Illustrator :: Preferences Menu Not Accessible

Jun 5, 2013

the preferences menu is not accessible when pressing ctrl+k or the "preferences" on the top menu bar

View 2 Replies View Related

Illustrator :: Restoring Default Preferences?

Dec 8, 2012

My adobe manual suggests restoring default preferences before each tutorial by deleting AIPrefs in the appropriate folder. While I have done so succesfully before, for some reason it does not work this time.  Panels, etc are still in place, even after restarting my machine.

View 4 Replies View Related

Illustrator :: Permanently Save CS6 Preferences?

Jun 11, 2012

Each time I open Illustrator, I have to open preferences and go through changing everything back to the way I like it and it's getting really old. How can I permanently save these settings? I've read this article: [URL] .... but I think it's for older versions because I couldn't find the Adobe Illustrator Preferences file, and even if I did I wouldn't know what to do with it. I'm on Mac OSX.7. I previously used CS4 and it saved my preferences the first time permanently.

View 2 Replies View Related

Illustrator SDK :: Converting JavaScript To Actionscript For Extension

Apr 14, 2013

Converting some Javascript to Actionscript for an extension.

Have a selection. Need to iterate through selection, and then when finding groups, iterate through groups to get geometricbounds.
 
in Javascript GroupItem.Pageitems[i] will allow me to access properties of items in the group. Actionscript is a big fat 1009 NULL error. Probably some type error since GroupItem is Object?
 
This simple code throws the error. I have two rectangles grouped. That is what is selected.
 
var mySelItem:Array = app.activeDocument.selection as Array;
if (mySelItem[0] is GroupItem){
var myPath:PathItem = mySelItem[0].PageItems[0]
myPath.remove()
 
Line of code that will allow me to access children of GroupItem and get properties?

View 1 Replies View Related

Illustrator :: Any Way To Set Preferences For Large List View

Jul 1, 2013

I have all my symbols named and catagorized in alphabetical listing. Whenever I open a new symbol library it alwasy reverts to large thumbnails. These thumbnails are usually too small to see the small differences between different shirt types. Also I have trouble with white symbols being hard to see.
 
Anywho obviously I can just switch it to large list view and then its fine. But I'm getting annoyed that I have to do it every time I open a new symbol pallet. Its like 1 more task that I feel like this several hundred dollar software should be smart enough to do for me.
 
I've looked in preferences to no avail. How or if you can set the large list view as a default for opening libraries. Brush, symbol or otherwise?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved