How to search in Pages for any number or any character, using wildcards

Is it possible in Pages to use wildcards to search for any instance of any number? For example, I want to find all occurrences of any one or two digits followed by a colon, such as 8: or 37:
If I can't use wildcards, is there any other way to search, other than tediously searching for every instance of 1, every instance of 2, etc.?
Thanks!
Sue

Hello
Here is an enhanced version.
--[SCRIPT highlight_ digitspluscolon]
Enregistrer le script en tant que Script : highlight_ digitspluscolon.scpt
déplacer le fichier ainsi créé dans le dossier
<VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Pages:
Il vous faudra peut-être créer le dossier Pages et peut-être même le dossier Applications.
Ouvrir un document traitement de textes Pages
aller au menu Scripts , choisir Pages puis choisir highlight_ digitspluscolon
Dans les éléments de texte, l'arrière plan des groupes de chiffres
suivis d'un caractère deux points sera mis en rouge.
--=====
L'aide du Finder explique:
L'Utilitaire AppleScript permet d'activer le Menu des scripts :
Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
Cochez la case "Afficher le menu des scripts dans la barre de menus".
--=====
Save the script as a Script: highlight_ digitspluscolon.scpt
Move the newly created file into the folder:
<startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Pages:
Maybe you would have to create the folder Pages and even the folder Applications by yourself.
Open a Pages word processor document.
go to the Scripts Menu, choose Pages, then choose "highlight_ digitspluscolon"
In the text objects, the background of groups of digits
with a trailing colon will be set to red.
--=====
The Finder's Help explains:
To make the Script menu appear:
Open the AppleScript utility located in Applications/AppleScript.
Select the "Show Script Menu in menu bar" checkbox.
--=====
Yvan KOENIG (VALLAURIS, France)
2010/07/17 -- enhanced to treat also text boxes and shapes
--=====
on run
local en_liste, le_dernier, un_groupe, le_premier, recul
local les_boites, une_boite, les_formes, une_forme
Try to treat the main text layer
tell application "Pages"
try
set le_document to name of document 1
tell document 1 to set le_texte to body text
on error
set le_texte to ""
end try
end tell -- Pages
if le_texte > "" then
set en_liste to my decoupe(le_texte, ":")
set le_dernier to 0
tell application "Pages" to tell document le_document
repeat with i from 1 to count of en_liste
set un_groupe to item i of en_liste
set le_dernier to le_dernier + 1 + (count of un_groupe)
set recul to 0
repeat with j from 1 to 10
if character -j of un_groupe is in "0123456789" then
set recul to -j
else
exit repeat
end if
end repeat -- with j
if recul < 0 then
set le_premier to le_dernier + recul
set character background color of characters le_premier thru le_dernier to {65535, 0, 0}
end if -- recul < 0
end repeat -- with i
end tell -- Pages…
end if -- le_texte > ""
Try to treat text boxes
try
tell application "Pages" to tell document le_document to set les_boites to every graphic whose class is text box
on error
set les_boites to {}
end try
if les_boites is not {} then
repeat with une_boite in les_boites
tell application "Pages" to tell document 1
tell une_boite to set le_texte to object text
end tell -- Pages…
my highlight(le_document, une_boite, le_texte)
end repeat
end if -- with f
Try to treat shapes
try
tell application "Pages" to tell document 1 to set les_formes to every graphic whose class is shape
on error
set les_formes to {}
end try
if les_formes is not {} then
repeat with f from 1 to count of les_formes
I know that using whose is more efficient than using an index but, in Pages '09, whose doesn't apply to shapes. *)
tell application "Pages" to tell document 1
set une_forme to item f of les_formes
tell une_forme to set le_texte to object text
end tell -- Pages
my highlight(le_document, une_forme, le_texte)
end repeat -- with f
end if
end run
--=====
on highlight(un_document, un_contenant, son_Texte)
local en_liste, le_dernier, un_groupe, recul, le_premier
set en_liste to my decoupe(son_Texte, ":")
set le_dernier to 0
tell application "Pages" to tell document un_document to tell un_contenant to tell object text
repeat with i from 1 to count of en_liste
set un_groupe to item i of en_liste
set le_dernier to le_dernier + 1 + (count of un_groupe)
set recul to 0
try (*
Useful if a shape was erroneously pasted in a text box. *)
repeat with j from 1 to 10
if character -j of un_groupe is in "0123456789" then
set recul to -j
else
exit repeat
end if
end repeat
end try
if recul < 0 then
set le_premier to le_dernier + recul
set character background color of characters le_premier thru le_dernier to {65535, 0, 0}
end if
end repeat
end tell -- Pages
end highlight
--=====
on decoupe(t, d)
local oTIDs, l
set oTIDs to AppleScript's text item delimiters
set AppleScript's text item delimiters to d
set l to text items of t
set AppleScript's text item delimiters to oTIDs
return l
end decoupe
--=====
--[/SCRIPT]
It scans the main text layer in Word Processor documents.
It scans text boxes and shape in Word Processor and Layout documents.
Is it useful to scan :
headers, footers, tables ?
Yvan KOENIG (VALLAURIS, France) samedi 17 juillet 2010 21:07:04

Similar Messages

  • Can't acces the drivers support page for any stream 7

    Long story short, I've updated my HP Stream 7 Signature Edition from win 8.1 to win 10 TP. Everything was working fine, but because I did an update instead of a clean installation of win10 TP, I was running short of space in the C: drive, so I decided to do a clean install of win 10 TP. Now nothing is working, so I have to download drivers from the HP support page. Now when I enter the support page for any model of the Stream 7 (including the one I actually have, model 5709), I always get the same message: "We were unable to find any drivers for your product. Drivers may be in development so please check back at a later date or visit the product homepage." How is this possible? I ussed the support page, including drivers, just 3 weeks ago and every driver for every piece of hardware was there. Now its empty. Is there a problem with HP support at this time? Greetings   

    Hi: Unfortunately, the support pages are not working for most of the newer HP PC's. It has been that way for about a day now. Since I am not employed by nor do I represent HP, I am not sure when they will have the pages working again. Check back again some other time. With the Independence Day holiday weekend in the USA, I would not expect this to be taken care of immediately.

  • How to change Org Unit for larg number of emplyees

    Dear Guru's,
    My client has uploaded wrong Org Units while hiring, now that has to be changed for larg number of employees.
    Can any one suggest me how can we do this for larg number of employees?
    Thanks in advance for your kind suggestions.
    Regards,
    Srinivas

    Hello Srinivas;
    By saying uploaded wrong organizational units, do you mean that organizational structure in PPOME is wrong or employee - position assignment is wrong?
    If employee - position assignment is wrong then I suggest you to use batch input program or use LSMW as you have to change it via personnel action - PA40
    If organizational structure is wrong, then do you have correct organizational structure in another system like test or qa?
    If you have correct organizational structure then you can directly transport it from one system to other but if you don't then you first need to correct the organizational structure and then run LSMW or batch input.
    Regards;
    Okan

  • PowerShell - to search recycle bin - for any document with title containing "disaster" in it?

    Hi there,
    I am looking for PowerShell - to search recycle bin - for any document with title containing "disaster" in it? 
    E.g. it should search for any documents with title "SharePoint Disaster Recover.doc" or whatever title contains this word?
    Thank you so much.

    This should do it:
    Get-SPSite http://yourServer/sites/yourSite |
    Select -ExpandProperty RecycleBin |
    Where { $_.Title -Like "*disaster*" } |
    Select DirName, Title
    or for all Site Collections in the farm:
    Get-SPSite -Limit All |
    Select -ExpandProperty RecycleBin |
    Where { $_.Title -Like "*disaster*" } |
    Select DirName, Title
    Mike Smith TechTrainingNotes.blogspot.com
    Books:
    SharePoint 2007 2010 Customization for the Site Owner,
    SharePoint 2010 Security for the Site Owner

  • How to Find the Runtime for any workitem.

    Hi,
    Could you please tell how to find the runtime for any workitem.
    Thanks,
    Bhanu Gattu.

    Hi,
    I think, your query is pertaining to Workflow.
    Please explain your requirement little more.
    If you need Runtime Analysis:  Then the transaction Code: SE30 must be used.
    Thanks.
    RamaniN
    Edited by: Ramani Nagarajan on May 21, 2009 12:33 PM

  • How to Find Business Objects for any Tranaction .

    Hi Abapers,
                        How to find Business objects for any transcation.....  and how to connect the Work flow to  any  Trancation  so that for example any body changes the date of Birth ...... so that the work flow should trigger .
    Thanks & Regards
    Bhaskar Rao.M

    Hi Bhaskar,
    For finding business object,you can try transaction SWO4 and by checking the documentation in it you can find your required business object.
    Another method is:
    1) Go to Trx SWE4 and switch on the event trace.
    2) Run your transaction which you want to use for triggering your workflow.
    3) Run transaction SWEL and find your Business Object and related event in it.
    For connnecting your WF to your transaction you have to create a start event in your WF in SWDD,where in you specify the Business Object and start event which you find using above method.
    Eg.You want your WF to be triggered whenever you have an error in your idoc.For this your BO will be IDOCAPPL and your event will be (inputErrorOccurred).This you will give in header data in SWDD.
    Neerja

  • Is it possible to reset password for any user using abap program

    Hi friends,
    Is it possible to reset password for any user using abap program by specifying client number and user id. in selection screen.
    if any code for that to reset password please mail me.
    Thanks & Regards,
    Yogesh

    Hello Yogesh,
    Yes you can reset the password for any body using ABAP Code. But for that you really don't need any client number.
    If this process is on regular basis, then recommended is to use BAPI for changing the user details Otherwise BDC also works fine.
    => Function Module - BAPI_USER_CHANGE
    Call this in the program for resetting the password.
    => CALL TRANSACTION 'SU01' USING InternalTable
    This will be executed in the BDC of SU01 transaction recording. Use the Password Change button in the application toolbar of transaction while recording.
    Hope this helps.
    PS If the answer solves your query, plz close the thread by marking it solved and rewarding each reply.
    Regards

  • How can I find out what port number my DB is using

    How would one find out what port number a database is using? Is there a SQL command that will allow us to do this?
    Thanks,
    oracle_newbie

    newbie
    Oracle databse assigns a dynamic port number for each established session. Usually, the common port is 1521 which is defined in you tnsnames.ora, however, this is used for requesting a dynamic port. Dynamic ports are within a ragne of 1000+. That's why it is hard to tell which port you are using at a certain time. You should have a network monitoring tool to check this accurately.
    Regards
    null

  • HT1688 how to do factory unlock for my  iphone4? Now i use another country carrier so please tell me how to do that .

    how to do factory unlock for my  iphone4? Now i use another country carrier so please tell me how to do that .

    how to do please explain me . i live from myanmar so this case is difficult and i don`t know original cellular provider

  • How to increase the page in PLD if you have more than 1 page for any doc

    Hi Experts,
    I would like to know is there any way out to increase the page layout size of any marketing documents For Eg: i have a purchase order on 1st page i have all the information on next page i have the terms and conditions or you can say annexure so i need atleast 2 or 3 pages for that particular PLD. So please can anyone help me out of ths situation bcoz all marketing documents such as purchase order,sales order have terms and condtions. Waiting for the earliest reply.
    Note: I have tried that by going into Document properties and increasing the size in  number of layout pages in  paper format tab  by giving that it is increasing the size of the PLD but it is not allowing to me to draw any text box or database or any field. Please help me out.

    Hi Shanker,
    We also faced similar issues, as PLD has it own limitations, like we can't configure the PLD to print "Terms & Conditions" in the next page.
    I would suggest you to request your client to get the terms & conditions printed on the back of the Purchase Order as it is more flexible. something like a pre printed format.
    or if you want to print everything using SAP itself then better do it using Crystal Reports.
    regards,
    Shreyas

  • How to create login page for application with jheadstart

    Is there a how to section for jheadstart?
    After reviewing the jheadstart developer's guide. I am still left with lot of questions:
    1. how to create a login page to allow access to an application using username/password from a database table
    2. how to change the title graphic (jheadstart demo) to (my application)
    3. how to execute a query by hitting enter instead of a mouse clicking a button
    Any suggestion to search for such practical questions in this forum or other blogs and such is appreciated.

    Mahin,
    You can set Authentication Schemes for your applications. If you are using Application Express Authentication, you can create additional users from here:
    1. From Application Express home, click Manage Application Express users.
    2. Click Create to create users. To create end user, select "no" to developer and admin.
    - Christina

  • How to Search and Array for multiple occurrences of a value

    Hi,
    I am trying to search an array of doubles for a number and report the index location(s) of a number. I.e. -allow for repetition. Search and report all index[i] where the number is contained in the array. For example I have
    double[] myInputArray = new double[5];
    double[] myInputArray = { 1, 2, 3, 3, 5 }I know how to search through the array ONCE and return the first occurrence of a number:
    public double GetIndexOf(double Number) {
        for (int i=0; i<myInputArray.length; i++) {
             if (myInputArray[i] == Number){
                  return(i);
        return(-1);
      }How do I expand this code to report multiple index[i] locations if the number reoccurs in the array like the number 3 does in my example array above?

    The way the Java libraries do this type of operation (String.indexOf(), etc) is to specify the starting index along with what you want to find.
    Changing your example slightly (notice how I fixed your naming and more importantly, your return type):
    public int indexOf(double num) {
       return indexOf(num, 0);
    public int indexOf(double num, int fromIndex) {
        for (int i=fromIndex; i<myInputArray.length; i++) {
             if (myInputArray[i] == num){
                  return(i);
        return(-1);
    //usage to get all indices:
    for ( int index = -1; (index = indexOf(num, index+1)) != -1; ) {
       System.out.println(index);
    }Note that due to how floating point numbers work, you may find doing this on doubles (or any other operation that uses == with double arguments) to give you unexpected results.

  • How to center a page for all browsers?

    Could someone take a look at my code and tell me why the page isn't centered. When I'm at a school computer, the page is centered for Internet Explorer, but not for Chrome or Firefox. When I am on my home computer, the page isn't centered for any browser. If you could test your solution for at least 2 of the 3 main browsers, that would be wonderful! Thanks in advance!
    Also, Dreamweaver CC.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Title</title>
    <style type="text/css">
    body {
      background-image: url(images/background.png);
      background-repeat: repeat;
      font-family: "French Script MT";
      display: table-cell;
      vertical-align: middle;
      position: relative;
      color: #B9AB90;
    Memories {
            font-family: "Arial Black", Gadget, sans-serif;
            font-size: 18pt;
            color: #360D11;
    .Text {
            font-family: Arial, Helvetica, sans-serif;
            font-size: 16px;
            color: #7A2500;
            font-style: normal;
            font-weight: bold;
    .Bottom {
      font-family: Tahoma, Geneva, sans-serif;
      color: #000000;
    .SessionMain {
      color: #170C03;
      font-family: special-elite;
      font-style: normal;
      font-weight: 400;
      font-size: 24pt;
    .SessionHead {
      color: #4C3223;
      font-family: ewert;
      font-style: normal;
      font-weight: 400;
      font-size: 40pt;
      vertical-align: middle;
      text-align: center;
    </style>
    <meta name="keywords" content="test,test2" />
    </head>
    <body background="images/background.png">
    <p><a name="Top" id="Top"></a></p>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tbody>
        <tr>
          <td width="70"> </td> <!-- Width here will set how far from the left the page is -->
          <td><div align="center">
            <table width="1030" border="0" cellpadding="0">
        <tr>
          <td width="395" rowspan="2"><table width="394" border="5" bordercolor="#784321" bordercolordark="#7A2401" bgcolor="#FFE6A8">
            <tr>
              <td width="376"><div align="center"><img src="image.png" width="350" height="171" alt="logo" /></div></td>
              </tr>
            </table></td>
          <td height="100"> </td>
          </tr>
        <tr>
          <td width="629" height="87"><table width="629" height="83" border="5" bordercolor="#784321" bordercolordark="#7A2401" bgcolor="#FFE6A8">
            <tr>
              <td width="606" height="69"><div align="center" style="font-size: 46px; color: #4C3223;"><strong>Text</strong></div></td>
              </tr>
            </table></td></tr></table></div>
    <div align="center"></div>
    <p></p>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tbody>
        <tr>
          <td height="73"> </td>
          <td width="629" height="87"><div align="center">
            <table width="1020" height="83" border="5" bordercolor="#784321" bordercolordark="#7A2401" bgcolor="#FFE6A8">
              <tr>
                <td width="606" height="69"><div align="center" class="SessionHead" style="font-size: 46px; color: #4C3223;">Text</div></td>
                </tr>
            </table>
          </div>
            <div align="center"></div></td>
          <td> </td>
          </tr>
        </tbody>
    </table>
    </p>
    <div align="center">
      <table width="1020" border="2" cellspacing="0" cellpadding="0">
        <tbody>
          <tr>
            <td height="210"><div align="center" style="font-size: 36px">Content</div></td></tr></tbody></table>
    </div>
    <p> </p>
    <div align="center">
      <table height="95" width="1016" border="0" cellspacing="0" cellpadding="0">
        <tbody>
          <tr>
            <td width="15" rowspan="2" bgcolor="#2E190B"> </td>
            <td width="986" height="18" bgcolor="#2E190B"> </td>
            <td width="15" rowspan="2" bgcolor="#2E190B"> </td>
            </tr>
          <tr>
            <td height="77" bgcolor="#DFB47F"><table width="97%" border="0" cellspacing="0" cellpadding="0">
              <tbody>
                <tr>
                  <td width="2%"> </td>
                  <td width="98%"><p class="Bottom"><a href="#Top"><a href="#Top">Back To Top</a></p>
                    <p class="Bottom">Last Updated: Sunday, January 4, 2015 10:42 AM</p></td>
                  </tr>
                </tbody>
              </table></p>
              </td>
            </tr>
          </tbody>
      </table>
    </div>
    </body>
    </td>
        </tr>
      </tbody>
    </table>
    </html>

    I also determined that the page displays differently based on whether it's on a local hard drive (not centered in IE, Chrome, or Firefox) or if it's being stored on server (centered in IE, not in Chrome or Firefox). Any idea why and how I can fix it?

  • How to make the Pager for table view as non editable?

    Hi,
    I am using an HTMLB pager for my table view .
    It appears as Page '1' of 2 for examle.
    But '1' is dispalyed in an input field.
    How do I make this input field as disabled.
    I just want to use the Vertical and horizontal indicators to traverse through the pages of the table view.
    I do not want the user to enter the page number ..
    Thanks,
    Sachin

    Look at SBSPEXT_XHTMLB sample, pages pager.bsp and pagerX.bsp.
    If you use the external pager, then you can specify a format where a text string will only be displayed without an inputfield for editing.

  • How to Search Lightroom Library for Photos Using Specific Camera Profiles?

    Photos processed using Lightroom 5.6 camera profiles for the Nikon D810 displayed posterized colors. A temporary workaround was published by Adobe, as described here:
    Nikon D810 camera profiles display posterized colors
    Lightroom 5.7 resolved the issue, but I still have a lot of photos that were processed with the "v2 beta" camera profiles provided by Adobe, and those profiles still remain on my computer. I'd like to find all the photos in my Library that were processed using a v2 beta camera profile, update them to the respective new 5.7 profiles, then remove the v2 beta profiles from my computer so they no longer show as options in the Lightroom Camera Calibration pane.
    How can I search my Library to find all the photos that used one of the beta Camera Profiles?
    Thanks.

    The Data Explorer, DevMeta, and Any Filter plugins can search for specific camera profiles.  (You can't do it with LR smart collections or filters.)

Maybe you are looking for

  • Dreamweaver text looks fine in Safari but not Firefox NEED HELP!!!

    Dreamweaver text looks fine in Safari but not Firefox, all my text goes out of alignment and the fonts look like different sizes. Please let me know your thoughts. Here is a link to the page I'm having problems with. http://www.alexandrasantibanez.co

  • INTERACTIVE PDF QUESTION - Scrollable Text Area

    I am trying to do my resume in a interactive pdf and need more room than my page offers. Is there a way to make a interactive pdf with a text box in place that has hidden text that can be scrolled up or down to read. Basically make the text area look

  • "Cricket Number is No Longer In Service" After porting my number 2 years ago?

    I upgraded to the LG G3 last Friday and when my grandma and my employer try to call my phone it is saying, "This Cricket number is no longer in service." I have had 3 different SIM cards and I stupidly dropped my new LG G3 and had to order a replacem

  • Canon SX50 Raw and PSE 11

    I was told by Bradshaw, the online Adobe Chat Rep, that PSE 11 would fix the problem I have in PSE10 of editing Canon SX50 HS Raw files.  I also read on DPReview site that I could download and Install ACR 7.3 and it would fix the issue in PSE 11.  It

  • Photos from ipod, preserving structure

    So I lost a hard drive in my macbook recently, and I didn't have proper backups (silly silly boy, I know ). I've managed to get a lot of content back, but now I want to restore my photos. I've got all my photos synced to my ipod (including full-res v