Sitemap

Amicuk Programming Answers

[AS] getting valure of color

-0001-11-30   Views:0

Advertisement

Hi how would I go about getting the value of a color? I have tried the below but it errrors  "Adobe InDesign CS3 got an error: Invalid parameter." tell application "Adobe InDesign CS3"     activate     set _myDoc to active document    

Hi
how would I go about getting the value of a color?
I have tried the below but it errrors  "Adobe InDesign CS3 got an error: Invalid parameter."
tell application "Adobe InDesign CS3"
    activate
    set _myDoc to active document
    tell _myDoc
        set _Colour1 to swatch "PANTONE 238 U"
        (get value of color _Colour1) --as string
    end tell
end tell
cheers
Kev

The replay answer
Advertisement
Your original was probably better, with the word color omitted before the reference:
        (get value of _Colour1) --as string
Shane Stanley <[email protected]>
AppleScript Pro Sessions <http://scriptingmatters.com/aspro>

Go to See the other 3 answers

[AS] getting valure of color

Category:DefaultRelease time:-0001-11-30Views:130

Hi how would I go about getting the value of a color? I have tried the below but it errrors  "Adobe InDesign CS3 got an error: Invalid parameter." tell application "Adobe InDesign CS3"     activate     set _myDoc to active document    [More]

Pantone conversions to cmyk don't match pantone color bridge

Category:DefaultRelease time:-0001-11-30Views:130

We are having issues at our plant with adobe not converting colors properly. Program using to send to our rip for a di press is Indesign cs6, tried cs5.5 and get the same values. Example pantone color is 293. We have the latest pantone + bridge and t[More]

Can I show a color bar instead of a color bullet in iCal Monthly view for all my events in all calendars?

Category:DefaultRelease time:2015-10-11Views:130

In the Monthly view of iCal the only events that show a color bar in the event is the Birthday Calendar. All other events in all my other calendars only show a color bullet next to the event (unless I click on that event which then shows as a color b[More]

Fax function of HP LaserJet Enterprise 500 Color MFP M575

Category:DefaultRelease time:2015-10-11Views:130

Hi, I am one of users of HP LaserJet Enterprise 500 Color MFP M575​. I would like to know can I set the printer do not print my fax number and fax header on paper when I fax my document to others. I had login as admin but I did not see where I can co[More]

HP LaserJet Enterprise 500 Color MFP M575 - Can't scan from Windows

Category:DefaultRelease time:2015-10-11Views:130

We recently purchased and installed an HP LaserJet Enterprise 500 Color MFP M575 to be used as a networked all-in-one solution for a number of offices. I have been able to get it set up on our network and have installed the appropriate drivers on the[More]

How do I only allow certain users to print in color?

Category:DefaultRelease time:2015-10-11Views:130

Product Name: HP Color LaserJet Professional CP5225dn Printer (CE712A) Operating System Installed: Windows 7 Enterprise (64bit) I work at a K-12 school and purchased the HP Color LaserJet Professional CP5225dn Printer (CE712A) for use in our computer[More]

My Excel with PowerPivots acts weird, it hangs when i try to change font color

Category:DefaultRelease time:2015-10-11Views:130

Hi  I am facing a weird issue using PowerPivot in my workbook, there is a worksheet named Charts in my workbook and all the charts i am using resides in that worksheet. Whenever i try to change the font color in that sheet, my excel's color palette g[More]

Messed up color display and resolution because of mini-DVI to video adapter

Category:DefaultRelease time:2015-10-11Views:130

Once I connected the mini-DVI to video adapter to the tv and got weird colors on my screen for a while but then it worked out, then after a while I disconnected the cable and turned my computer off. After that, everytime I turned my macbook on, the c[More]

How to give Common Background color for all JPanels in My Swing application

Category:DefaultRelease time:2015-10-11Views:130

Hi All, I am developing a swing application using The Swing Application Framework(SAF)(JSR 296). I this application i have multiple JPanel's embedded in a JTabbedPane. In this way i have three JTabbedPane embedded in a JFrame. Now is there any way to[More]

Problem with clipping and concerned objects (or rather their color)

Category:DefaultRelease time:2015-10-11Views:130

Greeting everyone, I hope i don't bother you with things that are already known or, in the end, are a product of my own stupidity ;P My problem is the following: I was working on a neat design for a list. The first version (without clipping) looked l[More]

Mini-DVI to Video shows w/o color and atleast 2 of everything

Category:DefaultRelease time:2015-10-11Views:130

I just bought a mini-DVI to Video converter for my Macbook. I tried to hook it up to my 42" Panasonic Viera and had white static lines going up my screen with no picture. I then tried to hook it up with the composite and lowered the resolution all th[More]

Hot
Under Photos (as opposed to Events, Faces, or Places), I do a search, by name, for a photo in iPhoto 11.  I find the photo. Maybe there's more than one with the same name.   I select the photo I want. Now I want to see the other photos surrounding th [More]
Dear Guru, I have Encountered an Issue. The Scenario Is like this :- As soon as we create a new prog using SE38 it automatically generates a standard pattern like below : *& Report  ZSR_TEST_05 REPORT  ZSR_TEST_05. But the requirment is like this as [More]
Hi All, anyone knows how the price and tax are calculated for consignment stock? in other word, among the info record , contract or material master, what determines the price and the tax calculation for consignment stock? please advise, your input wi [More]
Airplay mirror from iMac/iPad to HD TV w/Apple TV has a Poor Image Quality when watching network shows via for example the CBS.com site or the CBS app. The image looks dark, not HD at all. My internet speed/performance is obviously not the issue beca [More]
OK, here is my situation. I am graphic design student in the UK about to start my third and final year. I use photoshop and indesign A LOT, and can have big image files, biggest I have go to is 300MB though this is very rare, and is normally 150 - 20 [More]
I need to know if I can pin point the source of what device was used to change a password on my account?I was notified by Itunes a request for a password change was requested and they granted the change. An X used my email address is how I found out. [More]
I have outlook 2002 on my laptop and computer. When I bought the iphone I activated it and synced outlook on my laptop since I was out of town and all was well but I actually sync on my home pc. So, I installed itunes 7.3 on my pc and when it opened [More]
Is it possible to use FOR ALL ENTRIES with a FIELD-SYMBOL that points to a data reference of type STANDARD TABLE ? I have the following:   SELECT * FROM mara     INTO TABLE table     FOR ALL ENTRIES IN another_table     WHERE matnr EQ another_table-m [More]
When you define a movement type, you can set up the system to create dynamic storage bins in the assigned interim storage area. In this case, the system uses the document number which triggered the stock movement as the coordinates for the interim st [More]
Hello.  How do we perform a GR for finished product with out a PO but also have the HU control.  For instance, we typicaly receive finished product using a COWBHUWE, that is linked to an order.  In essence, we performed the manufacturing of this prod [More]