Get to know which one is active Stroke or Fill for the document.

Is there any way to find out which one, between stroke or fill, is active for a particular document using illustrator scripting?
I have to apply color on the selected object accordingly.
If fill is active then i use obj.fill.color = 0xff00ff; and,
if stroke is active then i use obj.stroke.color = 0xff00ff;
But i am not able to find which one is active..
Any help would be appreciated...
Thanx...

Thanx Mark...
I had used these properties filled and stroked but it doesnt give me what i want...
Here is the sample code:
pathArt = new PathItem();
if(pathArt.selected)
     if(pathArt.filled == true)
          pathArt.fillColor = colorValue;
      else if(pathArt.stroked == true)
          pathArt.strokeColor = colorValue;
value of both pathArt.filled and pathArt.stroked are true, it didnt tell me which one(stroke/fill) is active.
Anyways thanx for ur help i'll find any work around....

Similar Messages

  • HT1451 If I have two iTunes libraries on one computer, how do I know which one is opening when I click on the iTunes icon on the desktop?

    If I have two or more iTunes Libraries on one computer, how do I know which one is opening when I click on the iTunes icon on my desktop?

    You cannot.
    When you sync to a new library, it will erase the current content.
    Use your backup copy of the old computer to copy everything to the new one.

  • HELP!! I need to know which desktop to buy that's good for the money!!

    My husband and I are going to buy a desktop. I've tried looking on the web to find consumer reports...but I'm still not sure what to get. All we need it for is mainly web browsing and we want it to be FAST...pics and media mean a great deal too though! We can't stand a slow PC!! Gaming, stuff like that, we don't care anything about. We've got an external hard drive so we don't need it for storage really. Please help!! I need advice!!

    Hey there! If you are looking for a good desktop that will meet your needs, I would suggest taking a look at desktops by Asus. They have good parts and won't let you down. This desktop is particularly great at providing the features you need without the fluff, and right now it's on sale. You can find it at most BBY stores, too.
    What makes that computer good is that it has a first generation i5 processor. There are new processors out now, but they're still finding their market. The i5 is a processor strapped to a rocket. It's fast, effective and can handle just about anything you throw at it. Its speed scales with your use, so if you are using the computer for a heavy task it will speed up to accommodate you. That computer also has 6 gigs of memory, which is great (I always hear my customers saying "More gigabytes!") for doing just about anything, too. Your internet browsing sessions won't slow down. For the hard drive, you get a little overkill -- a 1 terabyte hard drive. That's a lot of storage, but you can download and save movies, pictures and just about anything and not have to worry about running out of space for quite some time. The hard drive itself is fast as well, spinning at 7200 revolutions per minute rather than the subpar 5400 revolutions per minute. So you get fast access times to everything, and your computer will turn on quicker. You also get a ton of data card slots on the front and plenty of USB port access.
    In terms of price for features, this is currently a good deal. A full-blown desktop complete with an operating system and case with data card slots, a fast hard drive and an ample cpu is hard to find for cheap anymore. I am certain you could build your own for about the same price, but it probably wouldn't be as fast as this.
    Overall, Asus makes fantastic hardware that is often the enthusiasts choice. I would ignore the 11 reviews completely, as there are more than 11 people in the world who probably have purchased this desktop. Remember, people who are given a reason to rant will.
    Enjoy!
    The views expressed in this post are my own, and do not necessarily reflect those of Best Buy's. But you can expect them to make you chuckle.
    PCHO Sales Representative - Tualatin, Oregon.

  • How do i get a password?  I changed my password last night and it doesn't work.  Or, it is asking for a password for something else and I do not know which one!

    how do i get a password?  I changed my password last night and it doesn't work.  Or, it is asking for a password for something else and I do not know which one!

    Usually when someone mentions "passowrd" in a posting it will not be related to an Adobe product but to the machine that you are trying to implement some installation or update for.  If you explain more about what you are trying to do and describe what you encounter it might be easier to determine what you are dealing with... include a screenshot to help explain as well if you can.

  • Lost my iphone dont know my IMEI number tried to get it from ituens about and clicking the Control key but there is one imei and i have 2 phones backed up on my ituens is there a way to know which one is the right one?

    Lost my iphone dont know my IMEI number tried to get it from itunesby clicking about and the Control key but there is one imei and i have 2 phones backed up on my itunes is there a way to know which one is the right one? and is there another way to find my phone and its offline so i cant use find my phone! Help

    Other ways? Check the box? Call your carrier?

  • I am about to buy my first ipad but dont know which one to buy.  I will use it for email, browsing, watching films etc -Please help me!

    I am about to buy my first ipad but don't know which one to choose and all the information baffles me!!  I will use it for email, browsing, watching films, general things like that.  Please help?

    I'm sure others will disagree, but I'm all about saving $.  I would start by looking online at the Apple store for refurbished devices.  I would also get MORE memory than yout think you will ever need.  The    stuff we have seems always to expand to fill the space available.  I wouldn't get one with cellular capability unless you really, really need it...
    http://store.apple.com/us/browse/home/specialdeals/ipad

  • I have a budget of $2,200 and I don't know what to buy; The MacBook Pro 15 inch for $2,199 or the MacBook Pro w/ Retina Display for $2,199. I LOVE playing games but I don't know which one would play games faster.Take note that I wont upgrade anything.

    The MBP w/ Retina Display is 2.3GHz but the other without Retina Display is 2.6GHz. So I don't know which one would play games absolutely flawlessly. I wont have the screen resolution so high on the games though. So can someone reply and tell me which one I should get and why?

    Mac's are generally not 3D gaming computers and laptops especially are not because 3D games require a upgraded video card to take advantage of newer games and more feature rich updates.
    Only the Mac Pro can one change the video card, if one can find a upgrade for it.
    If you really love 3D gaming, a Windows 7 3D gaming tower is your machine.
    http://www.cbscores.com/index.php?sort=ogl&order=desc
    3D gaming on a Mac is sort of a second hobby, it's rather short lived as one can't replace the video card once a year, only with a new machine purchase.
    Most 3D games are for Windows anyway and Apple almost demands OS X be upgraded to newer verisons annually now, so that sort of throws a monkey wrench into a Mac gaming rig with software upgrades and all. On the other hand Windows 7 is supported for a decade.
    Mac's just don't work well with 3D gaming, perhaps a Win 7 tower and a iPad or something.

  • Everytime i want to do the upgrade for firefox3.6 it asks what folder i wish to put it in and i don't know which one.

    Everytime i try to download firefox3.6 it says if i wish to run or save the file (I say run),then it says something about a temp. file and I say to run.Then it asks me what file i wish to use and I don't know which one.If i use Mozilla,then it kicks me out and it won't let me get the newer version.

    Have you tried using '''Help''' > '''Check for Updates''' while in an Admin account to allow Firefox to update itself?

  • Adobe Cloud has 2 different Muse programs.... how do I know which one is the newer better version?

    So I am new to Muse, and my Adobe Cloud has 2 different programs from Muse... how do I know which one is the newer better version?
    One Must program (Muse CC 2014.2)  has a black background when working on it... it looks like other Adobe programs such as Photoshop.
    The other one is light color (Muse CC) very similar to the black color Muse on functions.....
    One of the difference I notice is that the light color Muse has a few widgets in the library, while the black background Muse seems to have an empty library
    So... why are there 2 different Muse programs in my Adobe Cloud?

    Hi
    The latest version of Muse is 2014.2, so you need to uninstall another version of Muse manually.
    regarding the items in Library, you can add items in your library manually, as shown in this article
    Adobe Muse Help | Organizing and reusing design elements using Library panel
    Please let me know if you have any other query.

  • Can you have multiple Apple TV's in the same house and network? If so how do you know which one to pick from your Idevice?

    can you have multiple Apple TV's in the same house and network? If so how do you know which one to pick from your Idevice?

    Yes, there are even defaults for naming them, such as LivingRoom, Bedroom, etc, or you can even enter your own name with the remote for each AppleTV.

  • I recently deleted many duplicate files. In the midst of it my Itunes songs are not in Itunes. They are in two different folders. One under 'Music' in my ID. And two under a MyMusic file in Documents. How do I know which one to import?

    I recently deleted many duplicate files. In the midst of it my Itunes songs are not in Itunes. They are in two different folders. One under 'Music' in my ID. And two under a MyMusic file in Documents. How do I know which one to import?

    Thanks, this is not an ideal answer but probably the most sensible one in my case.
    I will try it unless someone has a better suggestion, but I'll wait a bit as it will take me a few days anyway (I had actually tried to create a new smaller playlist or download by album, but at this stage the music app is not letting me queue a list of songs for download - I think I will have to disable and re-enable iTunes match which will probably delete all the songs).
    I have to say I am not very impressed with Apple here - having an online backup of all your data and beeing able to restore it to a new device easily was a strong selling point of iCloud. For music, they are Definitly not delivering at the stage.

  • Hi I wonder if I live in Bangkok and like to have my own website who should I use for hosting so many of them and how do I know which one is a good one thank you

    Hi I wonder if I live in Bangkok and like to have my own website whshah old I use as hosting website? so many of them and how do I know which one is a good one thank you

    It doesn't really matter which country your hosting service is located in so long as they offer 24/7 tech support in your chosen language. Telephone support is usually free of charge to you.
    Some info about the essential features to look for...
    http://www.iwebformusicians.com/iWeb/Website-Hosting.html
    "I may receive some form of compensation, financial or otherwise, from my recommendation or link."

  • Duplicates.  I use iTunes match.  When I run exact duplicates, I get duplicates that say uploaded for one and uploaded with a cloud for the other.  Which one do I delete?

    Duplicates.  I use iTunes match.  Two questions:
    When I run exact duplicates on the library on my Mac Air, I get duplicates that say uploaded for one and uploaded with a cloud for the other.  Which one do I delete?
    Some of the duplicates say matched and matched with a cloud.  Same question - which one should I delete?

    I'm not sure I understand the question.
    First I would update your iTunes match.  iTunes match will tell you what is duplicates and then you can just delete them from the library. 
    Second, the course in a situation like this is to delete ONE duplicate and see what happens.  Make sure you have that song backed up somewhere just incase it deletes it completely.  But usually I'd delete one and then see if it deletes both or just the one you pressed. 
    Thirdly, update iTunes match.  It usually does a good job of locating actual duplicates.

  • Difference between photoshop cc and photoshop cc 2014   how do i know which one I am using?

    difference between photoshop cc and photoshop cc 2014   how do i know which one I am using?

    Hi Petereas,
    Both are different version of Photoshop application.
    In Photoshop CC 2014 there are several new feature introduced than CC.
    Please refer the following page on whats new in Photoshop 2014.
    Photoshop Help | New features summary
    When you go to Help>About Photoshop then Photoshop 2014 shows version 2014.0.0 Release.
    Hope this helps.
    Thanks and Regards,
    Sumit Singh

  • How to compare two dates to know which one is greater than oher?

    how to compare two dates to know which one is greater than oher?
    Please search before asking basic questions.
    Edited by: Rob Burbank on Mar 27, 2009 9:26 AM

    Hi,
    If thse to date fields are of same type u can directly compare like this.
    regards,
    Bharat.

Maybe you are looking for

  • Newbie question:  How do I set the input for a series of audio recordings to be different, if I only have a 2 channel interface?

    I am using a 2 channel interface (Apogee Duet) and I can record a voice and guitar track fine.  My question is how do I record a third audio track after the fact?  It seems when I attempt to record an additional track, say bass for example, Logic tre

  • How dictation work in OS X ML?

    I have my dictation set up in System Preferences. How do I use it? Are there only certain programs that allow this (such as Pages. Numbers) or can I use this even on line, such blogging, chats on Facebook?  I also bought a Dragon  Dictate for Mac, wi

  • Reinstalling Adobe Premiere Elements 10

    My software stopped to work. I need to reinstall it on my Mac. After un-installing the corrupt Adobe Premiere Elements 10 I was trying to install it again from the disks (starting with disc #3) and typing correct serial number installation started bu

  • Bluetooth & Mountain Lion & Kernel Panics

    After uninstalling all 3rd party software and finally reinstalling a clean copy of Mountain Lion on my mid 2011 MacBook Air, I have finally been able to diagnose the reason for Kernel Panics after waking from sleep.  Yes, after a clean install it was

  • [Solved]kernel26-2.6.34.2-1 upgrade fails

    Proceed with installation? [Y/n] y :: Retrieving packages from core... kernel26-2.6.34.2-... 22.2M 62.2K/s 00:06:05 [----------------------] 100% kernel26-docs-2.6.... 5.3M 53.9K/s 00:01:42 [----------------------] 100% kernel26-headers-2... 3.7M 59.