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
Hello, I have a report where its displays all Materials of Milk and Non Milk products. So my requirement is to see both Milk and Non Milk products separately in report. Inorder to see Milk products I can use selct filter value option where I can give [More]
My mac book pro continually brings up the refresh icon in the bookmark bar no matter how many times I refresh, has any one any suggestions?Clear the cache and the cookies from sites that cause problems. "Clear the Cache": * Tools > Options &g [More]
Hi while display the balance inTC-FS10N the assignment field is pickup the posting date data even if we put the Purchase order no.while entering the data during vendor invoice creation.It is by default. Now how to change that default assignment.Pl. c [More]
hi experts I am getting this error when i am tring to access  report General exception in deploy transformation for object "ZWAD_PPQM_Q009. thanksHi, Please help. How did you manage to resolve this. I have similar issues. I have SAP_ALL and can run t [More]
How I can connect MacBook air to apple tvUsually with an adapter. Which model MacBook Pro do you have (e.g., "15-inch Late 2011")? ClintonRead other 2 answers [More]
My iTunes account was wiped when I changed computers due to last one's logic board dying. Can I retrieve purchased tracks back from iTunes shop. I wasn't able to upload to iCloud before I lost access to comp.No. (101715)Read other 2 answers [More]
Hi Guys, I am sure this has been asked before but I cant find it. There are instructions on the apple support pages on how to transfer music from the Ipod to a mac, but this involves using the old computer. My old computer died so I don't have it any [More]
I purchased an I book for the first time and now I can not find it. I thought it would bean icon on my apps page. Where did it go"?How/where did you buy it ? If it's an ibook from Apple then you can only download and read them in the iBooks app on an [More]
Hi there, I just downgraded my Formscentral account by cancelling the Plus account and rebuying the Basic account. However, my clients do get messages that the limit has exceeded. Moreover, I already contacted support on the 2nd of January and they o [More]
I am getting below error when I try to restore from a backup file. It seems backup is taken using 12.00.2000 version and my target DB is 11.00.3401 of SQL Server 2012. Since my server changed, it got it auto upgraded, now my other servers are having [More]