Find a color in a document
Hello,
I feel I was able to do this once and now I cannot find it.
I am using INDCS3 and I thought I could use the find and change to find a color in the document, see where it is being used and change it if I wanted.
Is that possible?? I thought it was??
thanks!
babs
Babs,
Not sure if your asking this, but if you want to completely replace one color throughout a document with a different color that can be done.
First make sure you have the "new" color in the swatch panel. Then, in the Swatch Panel, click on the color you want to remove, click on the trash can at the bottom of the panel, select the the color you want to use as a replacement.
If the color you want to remove came into the document via an imported eps file it gets more complicated but I assumed you did not.
Marvin
Similar Messages
-
How to make preflight profile witch find out if exist in document spot color with name "CutContour", if not show allert, I try many combinations but nothing works
Thanks very much for your help, but I'm still overlooking something. I double checked to make sure that I did not have a hidden .txt file extention. I then decided to abandon the lock on preferences idea until I get it working. I converted my mozilla.cfg file back to plain text. I made sure I do not have an extra blank line at the end of each file. The syntax looks good, as far as I can tell. I'll copy and paste what I have so far. Did I have the file locations correct posted above? Also, if you feel i can delete some lines of text in my mozilla.cfg file I'll be happy to do so.
mozilla.cfg
<pre><nowiki>//
pref("privacy.sanitize.sanitizeOnShutdown", true);
pref("privacy.sanitize.promptOnSanitize", false);
pref("browser.rights.override", true);
pref(“app.update.auto”, false);
pref(“extensions.blocklist.enabled”, false);
pref(“extensions.shownselectionUI”, true);
pref(“browser.shell.checkDefaultBrowser”, false);
pref(“toolkit.telemetry.enabled”, false);
pref(“toolkit.telemetry.prompted”, 2);
pref(“toolkit.telemetry.rejected”, true);
pref(“app.update.auto”, false);
pref(“browser.download.useDownloadDir”, true);
pref(“browser.search.update”, false);
pref(“signon.autofillForms”, false);
pref(“signon.rememberSignons”, false);
pref(“browser.download.manager.scanWhenDone”, true);
pref(“browser.formfill.enable”, false);
pref(“xpinstall.enabled”, true);</nowiki></pre>
channel-prefs.js
pref("app.update.channel", "release");
override.ini
[XRE]
EnableProfileMigrator=false
all-lmc.js
pref("general.config.filename", "mozilla.cfg");
defaultPref("browser.startup.homepage", "data:text/plain,browser.startup.homepage=http://bbc.co.uk");
Again, thank you very much for your time. Do I create my own browserconfig.properties, and firefox.js? Also, I forgot to mention I'm running Windows 8. -
How to change the Find highlight color
I am trying to find out if there is a way to change the Find Highlight color in office 2013.
Every time I search for a word or anything it uses a light yallow to highlight that line or word, and I woudl like to replace the yellow with like a teal or a green or some other color that I'm not using already in my Word document. This way I can find out
were it is telling me It is because I have a lot of stuff already highlighted yallow, and when I click find and search for something in the Navigation window and it finds it. It also puts it as a lighter yellow and it confuses me.Hi,
As far as I know, we can't change the highlight color when using Find in Word. The highlight color is fixed.
As a workaround, you can try to use Advanced Find instead which will show the search result with a different color.
Best Regards,
Steve Fan
TechNet Community Support -
Help. New to scripting! Find registration colors used
Hi!
i have this script to find registration colors.... but when run in ESTK. it show errors on the below highlighted....
could anyone help out this!
error it throws is:
function myCheckForRegistration(myEvent){
var myRegistrationSwatchUsed = false;
if(app.selection.length != 0){
for(var myCounter = 0; myCounter < app.selection.length; myCounter++){
if((app.documents.item(0).selection[myCounter].fillColor ==
app.documents.item(0).swatches.item("Registration"))||
(app.documents.item(0).selection[myCounter].strokeColor ==
app.documents.item(0).swatches.item("Registration")){ error is: // expected:)
myRegistrationSwatchUsed = true;
if(myRegistrationSwatchUsed == true){
alert("The Registration swatch is applied to some of the\robjects in the selection. Did you really intend to apply this swatch?");
thanks
shil..hellow lauv!!!
i tried your command....
ungrouped the object.item(n) between OR....
function myCheckForRegistration(myEvent){
var myRegistrationSwatchUsed = false;
if(app.selection.length != 0){
for(var myCounter = 0; myCounter < app.selection.length; myCounter++){
if(app.documents.item(0).selection[myCounter].fillColor ==app.documents.item(0).swatches.item("Registration")||
(app.documents.item(0).selection[myCounter].strokeColor ==app.documents.item(0).swatches.item("Registration")){ // error is: expected:)
myRegistrationSwatchUsed = true};
if(myRegistrationSwatchUsed == true){
alert("The Registration swatch is applied to some of the\robjects in the selection. Did you really intend to apply this swatch?");
the error is:
thanks for fastidious care on my script....
shall i wait for the reply...
shil! -
i am currently running a trial version of indesign. i am trying to make a cd booklet. when i open a new document and try to find 'compact disc' in the document presets, it isn't there. all i have for options are 'default and custom'. is it possible to open the 'compact disc' preset from a trial version?
Are you sure, Eugene? I have this option:
-
How do I add a background color to a document in Pages?
How do I add a background color to a document in Pages? I have made an invitation, with a photo in it, the text is in color, and I want to make the background pink instead of white. thanks
whoops sorry figured it out thanks!
-
Tcode FV50: How to find long text in FI Document line item Before Saving.
Hi,
How to find long text in FI Document line item.
During Parking of the FI document through Tcode FV50 i m giving the some text in the long text not in the text field.
I would like to validate the Long Text Before Saving in user exit "U300" under the "Sunstitution" .
Please anybody can be help me out where exactly this long text is going to be stored or in which internal table or memory id.
Please give me the answer as soon as possible .
Note:- Read_Text function module is not useful. Because Read_text useful after saving document.Hi Amit,
In application area FINANCIAL ACCOUNTING , go for node LINE ITEM. Here create a step & maintain the prerequisite as per your requirement & in the check you can mention the code or you can direct it to a custom program like ZFI_RGGBR000.
Here while maintaining the check you will get structures BKPF & BSEG in which you will get the desired field you are looking for.
Just try to explore in your system how the other validations are maintained.
After you are done with all your code, you have to run the regeneration program RGUGBR00.
Here utmost care should be taken while running regeneration program, you should select all the checkboxes in the selection screen except GENERATE SETS, GEN SUBSTN ROUTNS IN ALL CLNTS & TRACE PROG. GENERATE CALLS .
Hope this make your doubt clear.
Regards
Abhii -
How do I find the URL for a document loaded into Buzzword?
How do I find the URL for a document loaded into Buzzword?
What kind of document? What is Buzzword?
-
I had my pictures in XP in "My Documents", how do I find my pictures in My Documents in Windows 7 ?
There is a change of folder structure in Windows 7 in comparison with Windows XP
For advanced search I recommend article
http://windows.microsoft.com/en-US/windows7/advanced-tips-for-searching-in-windows
HTH
Milos
PS: Perhaps the more appropriate forum fothis kind of problem is here
answers.microsoft.com -
How do I use Spotlight to find the location of a document?
Spotlight used to show the location of document when I hovered the mouse over an item in its list. It no longer does this. Now it tells me that a document exists and allows me to open the document, but doesn't tell me where to find the document. How do I use Spotlight to find the location of a document?
Hi Thomas ...
Open System Preferences > Spotlight then select the Search Results tab.
Select the all the categories for the search results you want.
Restart your Mac.
If that didn't help the Spotlight preferences may be corrupted.
Go to ~/LIbrary/Preferences
Move the com.apple.spotlight.plist file from the Preferences folder to the Trash.
Try Spotlight.
edited by: cs -
The word app has disappeared from my desktop computer and can't be found on finder or search. All documents I created on word will now not open unless in "TextEdit" format which I don't use. Any ideas please? Thanks
Did you recently erase and/or reinstall the OS?
And, some details are needed: model/year Mac, Mac OS version running now and which version originally). -
HT2476 How do I copy the names of files in a finder window to a text document?
How do I copy the names of files in a finder window to a text document?
If using Apple TextEdit Applications: Select all the files in the finder window, choose copy. Go to the TextEdit window and from the menu choose Edit then choose Paste and Match Style from the Edit drop down menu.
-
From which tables i would find the delivery and billing document field..??
I need to create an ALV report which displays the following details in the output.
Order No Item No Material Order Qty Item Category Plant Delivery Billing Document Sales Org Dist Channel Division Created By Created On Changed On
For(Order No Item No Material Order Qty Item Category Plant) i took the fields from vbap and
for(Sales Org Dist Channel Division Created By Created On Changed On)i took the fields from vbak..
From which tables i would find the delivery and billing document field related to sales document.??
need help...
Moderator message : Requirements dumping not allowed, thread locked.
Edited by: Vinod Kumar on Mar 6, 2012 2:53 PMi am new to abap...so i dont have idea about sd table relationship.
so please reply how to add delivery and billing doc in my coding below..
*& Report ZINAA_SD
REPORT zinaa_sd.
TABLES: vbap, vbak, vbfa.
TYPE-POOLS: slis.
CONSTANTS: c_x TYPE char1 VALUE 'X'.
TYPES:
BEGIN OF st_vbap,
vbeln TYPE vbap-vbeln,
posnr TYPE vbap-posnr,
matnr TYPE vbap-matnr,
pstyv TYPE vbap-pstyv,
kwmeng TYPE vbap-kwmeng,
werks TYPE vbap-werks,
END OF st_vbap,
BEGIN OF st_vbak,
vbeln TYPE vbak-vbeln,
erdat TYPE vbak-erdat,
ernam TYPE vbak-ernam,
vkorg TYPE vbak-vkorg,
vtweg TYPE vbak-vtweg,
spart TYPE vbak-spart,
aedat TYPE vbak-aedat,
END OF st_vbak,
BEGIN OF st_final,
vbeln TYPE vbap-vbeln,
posnr TYPE vbap-posnr,
matnr TYPE vbap-matnr,
pstyv TYPE vbap-pstyv,
kwmeng TYPE vbap-kwmeng,
werks TYPE vbap-werks,
erdat TYPE vbak-erdat,
ernam TYPE vbak-ernam,
vkorg TYPE vbak-vkorg,
vtweg TYPE vbak-vtweg,
spart TYPE vbak-spart,
aedat TYPE vbak-aedat,
END OF st_final.
DATA:
lt_vbap TYPE TABLE OF st_vbap,
ls_vbap TYPE st_vbap,
lt_vbak TYPE TABLE OF st_vbak,
ls_vbak TYPE st_vbak,
lt_final TYPE TABLE OF st_final,
ls_final TYPE st_final,
lt_fieldcat TYPE slis_t_fieldcat_alv,
ls_fieldcat TYPE slis_fieldcat_alv,
layout TYPE slis_layout_alv,
lt_sort TYPE slis_t_sortinfo_alv,
ls_sort TYPE slis_sortinfo_alv.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECT-OPTIONS: s_vbeln FOR vbap-vbeln,
s_erdat FOR vbap-erdat.
SELECTION-SCREEN END OF BLOCK b1.
PERFORM select_data.
PERFORM loop_final.
PERFORM sort.
PERFORM a USING:
'VBELN' TEXT-002,
'POSNR' TEXT-003,
'MATNR' TEXT-004,
'KWMENG' TEXT-005,
'PSTYV' TEXT-006,
'WERKS' TEXT-007,
'VKORG' TEXT-008,
'VTWEG' TEXT-009,
'SPART' TEXT-010,
'ERNAM' TEXT-011,
'ERDAT' TEXT-012,
'AEDAT' TEXT-013.
PERFORM display.
*& Form SELECT_DATA
text
FORM select_data.
SELECT
vbeln
vkorg
vtweg
spart
ernam
erdat
aedat
INTO CORRESPONDING FIELDS OF TABLE lt_vbak
FROM vbak
WHERE vbeln IN s_vbeln AND erdat IN s_erdat.
IF sy-subrc = 0.
SORT lt_vbak by vbeln.
ENDIF.
SELECT
vbeln
posnr
matnr
kwmeng
pstyv
werks
INTO CORRESPONDING FIELDS OF TABLE lt_vbap
FROM vbap
FOR ALL ENTRIES IN lt_vbak
WHERE vbeln = lt_vbak-vbeln.
IF sy-subrc = 0.
SORT lt_vbap by vbeln.
ENDIF.
ENDFORM. "SELECT_DATA
*& Form LOOP_FINAL
text
FORM loop_final.
LOOP AT lt_vbap INTO ls_vbap.
ls_final-vbeln = ls_vbap-vbeln.
ls_final-posnr = ls_vbap-posnr.
ls_final-matnr = ls_vbap-matnr.
ls_final-kwmeng = ls_vbap-kwmeng.
ls_final-pstyv = ls_vbap-pstyv.
ls_final-werks = ls_vbap-werks.
READ TABLE lt_vbak INTO ls_vbak WITH KEY vbeln = ls_vbap-vbeln BINARY SEARCH.
ls_final-vkorg = ls_vbak-vkorg.
ls_final-vtweg = ls_vbak-vtweg.
ls_final-spart = ls_vbak-spart.
ls_final-ernam = ls_vbak-ernam.
ls_final-erdat = ls_vbak-erdat.
ls_final-aedat = ls_vbak-aedat.
APPEND ls_final TO lt_final.
CLEAR ls_final.
ENDLOOP.
ENDFORM. "LOOP_FINAL
*& Form SORT
text
FORM sort.
ls_sort-spos = '01' .
ls_sort-fieldname = 'VBELN'.
ls_sort-tabname = 'LT_FINAL'.
ls_sort-up = c_x.
ls_sort-subtot = c_x.
APPEND ls_sort TO lt_sort .
ENDFORM. "SORT
*& Form A
text
-->FNAME text
-->SELTEXT text
-->EMPHA text
FORM a USING fname TYPE string seltext TYPE string.
IF fname = 'KWMENG'.
ls_fieldcat-do_sum = c_x.
ENDIF.
ls_fieldcat-fieldname = fname.
ls_fieldcat-seltext_m = seltext.
APPEND ls_fieldcat TO lt_fieldcat.
CLEAR ls_fieldcat.
ENDFORM. "A
*& Form ALV
text
FORM display.
layout-zebra = c_x.
layout-colwidth_optimize = c_x.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
i_callback_program = sy-repid
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = ' '
I_CALLBACK_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE =
I_GRID_SETTINGS =
is_layout = layout
it_fieldcat = lt_fieldcat
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
it_sort = lt_sort
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = C_X
I_SAVE = ' '
IS_VARIANT =
IT_EVENTS =
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
I_HTML_HEIGHT_TOP = 0
I_HTML_HEIGHT_END = 0
IT_ALV_GRAPHICS =
IT_HYPERLINK =
IT_ADD_FIELDCAT =
IT_EXCEPT_QINFO =
IR_SALV_FULLSCREEN_ADAPTER =
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab = lt_final
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. "ALV -
How can I find out in the billing document, who creat the billing.
how can I find out in the billing document, who creat the billing.
thanks.On VF03 -Enter billing document number>>press on enter button>>you will get overview of billing document item>> select menubar>>Goto>>header>>header parthner>>you will get full screen with Name "Created By".
Thanks&Rgds,
Rajesh -
Coloring a Font with a RGB etc. without adding the color to the document swatches.
Is there a way of coloring a font with a RGB, Lab or CMYK color without adding the color to the document swatches.
The only way I know is to add a color to the swatches or use one that already exists.
like
app.selection[0].characters[0].fillColor=document.colors.add({colorValue: [255, 53, 160], space: ColorSpace.RGB});}
This has the undesired effect of cluttering up the swatches when using a lot of colors.
any ideas?Good Morning Uwe!
After 3am by me 2am by you
I had tried the link and it did download but I have cs5 cs6 and cc but not cs5.5 and all the scripts worked on them may because of the file conversion.
So it looks like the following summary is all correct
All documents new contain
Swatches (Black, Registration, Paper and None) the index order will be the order that the swatches appear in the swatches panel
And colors in an alphabetical index order
named color "A" first "Z" last and then the unnamed colors.
A such all new documents colors[-1] will be an unnamed color which we can duplicated to produce other unnamed colors taking note that the duplication must be process and not spot colors.
So far so good, (not for long )
Unnamed colors are not read only so if we make a positive effort to remove them we can do that.
while (app.activeDocument.colors[-1].name == "") app.activeDocument.colors[-1].remove()
We now won't have any unnamed swatches to duplicate and will have to resort to John's tagged text file method in 3 above.
If there were no unnamed swatches and we try to duplicate colors[-1] and it was a color like "Yellow" then it seem's to crash indesign.
Anyway the below method should always work (for regular non tint etc. type colors).
// optimized for easy of use but not efficiency !!!
var doc = app.documents.add();
var p = doc.pages[0];
p.textFrames.add({contents: "RGB", geometricBounds: ["0mm", "0mm", "30mm", "30mm"], fillColor: addUnnamedColor([0, 0,255])}); // will be a RGB
p.textFrames.add({contents: "RGB", geometricBounds: ["0mm", "30mm", "30mm", "60mm"], fillColor: addUnnamedColor([0, 255,0], 1666336578)}); // will be a RGB because of value
p.textFrames.add({contents: "RGB", geometricBounds: ["0mm", "60mm", "30mm", "90mm"], fillColor: addUnnamedColor([65, 50, 102], ColorSpace.RGB)}); // will be a RGB
p.textFrames.add({contents: "RGB", geometricBounds: ["0mm", "90mm", "30mm", "120mm"], fillColor: addUnnamedColor([84, 90,40],"r")}); // will be a RGB
p.textFrames.add({contents: "RGB", geometricBounds: ["0mm", "120mm", "30mm", "150mm"], fillColor: addUnnamedColor([232, 0, 128],1)}); // will be a RGB
p.textFrames.add({contents: "Lab", geometricBounds: ["30mm", "0mm", "60mm", "30mm"], fillColor: addUnnamedColor([29.5, 67.5, -112])}); // will be a Lab because of -
p.textFrames.add({contents: "Lab", geometricBounds: ["30mm", "30mm", "60mm", "60mm"], fillColor: addUnnamedColor([100, -128, 127], 1665941826)}); // will be a Lab because of value
p.textFrames.add({contents: "Lab", geometricBounds: ["30mm", "60mm", "60mm", "90mm"], fillColor: addUnnamedColor([24.5, 16, -29], ColorSpace.LAB)}); // will be a Lab
p.textFrames.add({contents: "Lab", geometricBounds: ["30mm", "90mm", "60mm", "120mm"], fillColor: addUnnamedColor([36.8, -9, 27],"l")}); // will be a Lab
p.textFrames.add({contents: "Lab", geometricBounds: ["30mm", "120mm", "60mm", "150mm"], fillColor: addUnnamedColor([51, 78, 0], -1)}); // will be a Lab because of the 1
p.textFrames.add({contents: "CMYK", geometricBounds: ["60mm", "0mm", "90mm", "30mm"], fillColor: addUnnamedColor([82, 72, 0, 0])}); // will be a CMYK because there are 4 color values
p.textFrames.add({contents: "CMYK", geometricBounds: ["60mm", "30mm", "90mm", "60mm"], fillColor: addUnnamedColor([60, 0, 100, 0], 1129142603)}); // will be a CMYK because of value
p.textFrames.add({contents: "CMYK", geometricBounds: ["60mm", "60mm", "90mm", "90mm"], fillColor: addUnnamedColor([84, 90,40, 0], ColorSpace.CMYK)}); // will be a CMYK
p.textFrames.add({contents: "CMYK", geometricBounds: ["60mm", "90mm", "90mm", "120mm"], fillColor: addUnnamedColor([67, 53, 97.6, 21.7], "c")}); // will be a CMYK
p.textFrames.add({contents: "CMYK", geometricBounds: ["60mm", "120mm", "90mm", "150mm"], fillColor: addUnnamedColor([0, 100, 0, 0], 0)}); // will be a CMYK
function addUnnamedColor (cValue, space, docToAddColor) {
docToAddColor = app.documents.length && (docToAddColor || (app.properties.activeDocument && app.activeDocument) || app.documents[0]);
if (!docToAddColor) return;
var lastColor = docToAddColor.colors[-1];
if (!cValue) cValue = [0,0,0,0];
if (space == 1129142603 || cValue && cValue.length == 4) space = ColorSpace.CMYK;
else if ((space && space < 0) || space && space == 1665941826 || (space && /L|-/i.test(space.toString())) || (cValue && /-/.test(cValue ))) space = ColorSpace.LAB;
else if ((space && space > 0) || space && space == 1666336578 || (space && /R/i.test(space.toString())) || (cValue && cValue.length == 3)) space = ColorSpace.RGB;
else space = ColorSpace.CMYK;
app.doScript (
var newUnnamedColor = (lastColor.name == "") ? lastColor.duplicate() : taggedColor();
newUnnamedColor.properties = {space: space, colorValue: cValue};
ScriptLanguage.javascript,
undefined,
UndoModes.FAST_ENTIRE_SCRIPT
function taggedColor() { // need to use this if no unnamed exists
var tagString = "<ASCII-" + ($.os[0] == "M" ? "MAC>\r " : "WIN>\r ") + "<cColor:COLOR\:CMYK\:Process\:0.1\,0.95\,0.3\,0.0><cColor:>"; // would make more sense to apply the correct value in the tagged text file but I can't be bothered !
var tempFile = new File (Folder (Folder.temp) + "/ " + (new Date).getTime() + ".txt");
tempFile.open('w');
tempFile.write(tagString);
tempFile.close();
var tempFrame = docToAddColor.pages[-1].textFrames.add();
$.sleep(250);
tempFrame.place(tempFile);
tempFrame.remove();
tempFile.remove();
return docToAddColor.colors[-1];
return newUnnamedColor;
Shall apply the function to delete and replace swatch on the other thread at a more sane time
Regards
Trevor
Maybe you are looking for
-
Cannot figure out why my bullet lists aren't correctly aligned
Hello, I hope someone can help me on this because I'm totally lost. I've spend hours trying to figure out where the problem comes from, reading posts on-line, searching documentation, etc. and I'm getting nowhere. I'm struggling with bulleted lists w
-
Deleted emails in Outlook Express inbox
Deleted items in inbox of Outlook Express was emptied 'automatically' (without a command), probably my inbox was filled to much. 2800 e-mails appeared in the dust bin as a batch. I transferred (relocated) them to: "Local setting/Application data/Ide
-
Check iPad version and release date
Hello All I would be grateful to have your thoughts and views on this. I am currently intending to buy an iPad from one of my acquaintances as he is upgrading to a later version of iPad. However, when I get the device, is there any way I could possib
-
How to create a login certificate for BI launchpad?
It is possible to create a security certificate (to store user name and password) and with it to be able to login to BI 4.1 launchpad without completing info at every session? just to confirm certificate (similar to SAP passport). I need a solution t
-
Printers won't migrate correctly from 2k to xp
We use Personality Migration from ZENworks 7. Everything seems to be working ok except for the printer migration. I'm able to export the settings from a win2k installation, but when I try and import them back to a windows xp installation the printers