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
Just upgraded to the RAZR MAXX from a Droid 2 Global. When the phone is mounted in the car dock and an app is running (Navi, Music, etc.), how can you get to the main home screen of the phone rather than the car dock menu? Follow me...... * Phone is [More]
Is there a way to add a date stamp to a Lumia 820 photo? If not can Nokia include such functionality in the next update?The date stamp that is embedded in the EXIF data of the photo. Or you could use a watermark app from the store and ad it there. If [More]
So I have a bunch of small clips. Can I merge them into one larger clip so I have fewer little things to work with? (i.e. Instead of five one-minute clips, I want one five-minute clip) All I can find is information on splitting clips, but nothing abo [More]
Hi All, We are using Oracle SOA Suite 10133, & I am trying to call an OA adaptor in one of our processes , & the Adaptor is returing the following error : <summary> file:/export/home/oracle/fmw/product/10.1.3.1/OracleAS_1/bpel/domains/defaul [More]
Hi All, I have columns called Ph_Num in Table EMP. the values of these columns as follows. PH_NUM 8614558500-8614558505||8614558550||8614558555But I want to modify it as PH_NUM 014/55.85.00||014/55.85.05||014/55.85.50||014/55.85.55OR PH_NUM 014/55.85 [More]
I need to insert the values into nav_pending by selecting the values from nav table when i write this code its giving missing expression error Can i know what is the problem?? can i use select inside insert in oracle???? INSERT INTO NAV_PENDING (ACCO [More]
My old system which is on forms3.0, now i want to upgrade it on forms 6i . plz tell me ifthere is any tool which convert .pco files into .fmb files. i already try with ifcmp60.EXE but it won't fully converted the pco file. plz reply if you have any s [More]
Hi, I'm using BBC iplayer desktop and trying to download programmes.  I keep getting an Adobe Air Error saying 'initial content could not be found for this application'.  I've uninstalled and reinstalled Adobe Air but keep getting this message.  Any [More]
Hello all, We presume after setting up substitutions for approvers, the workitem should be in both actual approver and his substitutes in box per the standard SAP workflow functionality. For some reason this doesnot seem to happen. Is there any other [More]
Why won't the following script work on a machine that is running MAC OSX Server 10.4.9. On Machines running Mac OS X 10.4.9 it works fine, but on my server machine it won't name the file as per the script--the menu dialog box pops ("save as") up [More]