Address in  script

Hi folks,
  In Script, there is <b>no window</b> for the company address to display. but  my comany address is comming in the UPPER RIGHT hand side of the form.
   i checked in form painter. it is blank, where that script is displaying company address. i also checked in script editor. there is no INCLUDE text for that.
   how is it possible ??? how they are showing that address there??i want to display the same address in smartform as well.
plz advice. i will reward points.
Thanks
madhu

HI
for smartform
DATA ADDRESS LIKE ADRC OCCURS 0 WITH HEADER LINE .
ADDRESS-ADDRNUMBER = '0000012345'.
ADDRESS-NAME1 = 'ASHOK KUMAR P'.
ADDRESS-NAME_CO = 'ASHOK ELECTRICAL'.
ADDRESS-CITY1 = 'BANGALORE'.
ADDRESS-CITY_CODE = '574241'.
ADDRESS-PO_BOX_REG = 'ASH'.
ADDRESS-COUNTRY = 'IN'.
ADDRESS-REGION = 'KAR'.
ADDRESS-TEL_NUMBER = '080252222'.
APPEND ADDRESS.

Similar Messages

  • Address a script in another movie

    Hi all,
    I wonder if anyone knows how can i address the script in
    another movie. I have this button:
    on mousedown
    play movie "11.dir"
    and i want it to load a particular script once the next movie
    is loading. E,g,
    on mousedown
    play movie "11.dir"
    play script("1")
    Any ideas how can i do that?

    > Although addressing scripts from one window to another
    is easy, calling a script from a movie to movie doesn't seem to
    work. Any help will be appreciated!
    I would firstly suggest being careful with 'play "movieName"'
    syntax
    unless you are subsequently issuing a 'play done' command.
    Can you explain what you are ultimately trying to achieve?

  • Get Agent IP Address During Script Execution

    Good Evening,
    I'm looking for a little advice...  I'm trying to develop a method of alerting agents to the fact they are not ready.  I have a script that can dynamically change the wallpaper on an IP phone.  My aim is to add a step to the "Select Resource" portion of a script that will execute if an agent doesn't answer a call presented to them.  However in order for this script to work it requires the IP address of the phone the agent is logged on to.  Can anybody recommend a method of getting this IP dynamically during script execution?  We use EM so statically defining IPs in an XML document wouldn't be appropriate.
    On a similar note I'd also need a method of executing the same script when an agent manually alters their state to ready.  i.e. When they change to ready on the IP Phone Agent I'd like to be able to intercept that process as it takes place and automatically trigger this same script.
    I'm using UCCX 8.5(3).
    Hope that makes sense.  Any suggestions regarding how to achieve this would be much appreciated.
    Much appreciated,
    Ryan

    I don't write enough scripting to know for sure if the agent's phone's IP address would be available anywhere in the UCCX enviornment by default but I'm going to go with 'probably not'. You'd need to obtain this information from CUCM, the most straightforward method would likely be to use CUCM's AXL interface to pull this information. The HTTP Document Step may be able to produce the necessary AXL requests I guess, but I've never tried.
    Cheers,
    Kris

  • -ForwardingsmtpAddress to multiple addresses Shell script

    Hi, 
    I use the following script to Forward incoming mail to another inbox, but keeping the copy in the original mailbox:
    Set-Mailbox -Identity "Company/User" -ForwardingsmtpAddress "[email protected]" -DeliverToMailboxAndForward $true
    I have notice if I run the command again it removed the first rule and replaces it with the last command, how can I add 2 Forwarding addresses in one command line, so that I can make one mailbox forward to 2 other mailboxes in one command?
    Is that supported?
    Thanks

    Hi,
    The parameter you mentioned "ForwardingSmtpAddress" only allow to setup one SMTP address.
    To work around this issue, you can setup the mailbox forwarding to a distribution group, you need to add the users whom you want to forward message to this distribution group.
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • Using  Address..End Address in Script

    Using Address........End Address Command in Script , Is it possible to print without Name filed ? I have tried but w/o name field it is not printing   ..
    I liket to print like this
    Address paragraph Z3
    Street ...........................
    PoBox.........................
    City........................
    End Address
    can any1 suggest me?

    Hi,
    If you want to print country specific then use
    /:           ADDRESS PARAGRAPH AS
    /:             ADDRESSNUMBER &EKKO-ADRNR(K)&
    /:             FROMCOUNTRY &T001-LAND1&
    /:           ENDADDRESS
    Reward if useful.
    Regards,
    Nageswar

  • Address & end address in script

    Hi Experts,
    In address I hv been tryin to print street 2,3 & 4 using address & end address .. but isnt appearing in the window..
    Code used by me is:
    /:   ADDRESS PARAGRAPH AS
    /:   TITLE       &REGUH-ANRED&
    /:   NAME        &REGUH-NAME1&, &REGUH-NAME2&, &REGUH-NAME3&, &REGUH-NAME4&
    /:   STREET      &REGUH-STRAS&
    /:   POBOX       &REGUH-PFACH&
    /:   CITY        &REGUH-ORT01(C)&
    /:   POSTCODE    &REGUH-PSTLZ&
    /:   COUNTRY     &REGUH-LAND1&
    /:   FROMCOUNTRY &T001-LAND1&
    /:   ENDADDRESS
    KIndly guide me..if smthing wrong in this..
    Thanks In advance..
    Edited by: Himayan Das on Jan 10, 2008 10:38 AM
    Edited by: Himayan Das on Jan 10, 2008 10:39 AM
    Edited by: Himayan Das on Jan 10, 2008 10:40 AM

    Hi Himayan,
                       Try specifying the Number of lines..
    ADDRESS [DELIVERY] [TYPE] [PARAGRAPH] [PRIORITY] [LINES]
    ENDADDRESS
    Lines Specifies how many lines may be used for formatting the address. If there are too few lines available to allow all the address data to be formatted, then the data specified in the PRIORITY parameter are omitted. If there is no LINES parameter and if this command is in a form window of a type other than MAIN, then the number of lines available for formatting the address are automatically calculated based on the current output position and the size of the window.
    Reward points if helpful..
    Regards,
    Goutham.

  • Simple Address Book script help request

    I want an AppleScript to enter a single value in the 'Note' field for each record/contact in a certain group.
    I wrote this:
    tell application "Address Book"
    repeat with allcontacts in group "Health"
    set NewNote to "doctor"
    set value of note to NewNote
    end repeat
    end tell
    It compiles and seems to run OK. But nothing happens. What am I doing wrong?
    (I wish I knew AS better Thanks!)
    G5 DP 2 GHz   Mac OS X (10.4.10)   No Haxies; permissions frequently repaired etc

    Hi Mark you have the right idea, but you are slightly off..
    The biggest problem is in your loop. Like I said you do have the right idea though. When your looping with x in y "Y" must actually be a list of things, so in your case you need to build a list of all the contacts in group "Health" first.
    =================================================
    tell application "Address Book"
    set allContacts to every person in group "Health"
    repeat with singleContact in allContacts
    set singleContact's note to ((get singleContact's note) & return & "doctor" as string)
    end repeat
    end tell
    =================================================
    So as you can hopefully see first we build a list of the person entries contained in group "Health" then we step through that list.
    Also in my example we are preserving the contents of what may already exist in the note field rather then overwriting it.
    Hope that helps!

  • Add Sender to Address Book Category?

    Does anyone know if you can set up a "rule" or something of that nature to the Add Sender to Address Book feature? I would like all of my contacts from my .me email to be saved in a preset category in my Address Book.

    Take a look at Andreas Amann's Mailscripts. His add to address book script instructions:
    "Select all messages you want to use for creating the mailing list (for creating a mailing list, you would choose all messages in a mailbox which contains all messages on a certain topic).
    Run the script and you get a list with all addresses contained in the selected messages - mark all the addresses you want to add to the Address Book using the checkboxes.
    From the popup menu, choose which group you want to update with the selected addresses or select "Create new Group..." and enter the name for the new group to be created.
    The script checks whether an address is already present before adding it to the Address Book in order to avoid duplicate entries. If additional information is available for an entry already present in the Address Book (e.g., full name information for an entry which had prior been email-only), the entry will be updated."
    AK

  • Address book applescripting - slows computer via memory drain

    Hi,
    i've just got my new gleaming macbook pro - a return to mac after ~16 years. whew.
    I was a heavy user of categories and contacts in outlook - had two contact folders, A and B, with categories in each. Additionally for some categories there is a third field - location. In total there are 2500 contacts I deal with.
    To import my contacts was not trivial - i used little creatures O2M to bring over my messages, which worked well, but didn't give as great a result on contacts (lost a lot of fields). Then I used Abee on a csv file and found it was great - well worth the $10.
    I mapped my custom fields to related names custom fields.
    After a lot of reading i think that the best location for user defined fields (in my case group, category, and location) is as a custom named URL. This allows me to make Smart groups in address book to sort through these categories.
    So I wrote some applescript to move info from related names to URL fields. It steps through everyone in my address book and if the label "Group" exists in related names and the value is "B" then add a new URL and delete the related name label.
    The script is:
    tell application "Address Book"
    try
    repeat with this_person in every person
    set namestoremove to {}
    repeat with this_label in (get related name of this_person)
    if the label of this_label = "Group" and the value of this_label = "B" then
    make new url at end of urls of this_person with properties {label:"Group", value:"GroupB"}
    --properties of this_label
    set namestoremove to namestoremove & (id of this_label)
    --delete (related names of this_person whose id is id of this_label)
    end if
    end repeat
    repeat with name_id in namestoremove
    delete (related names of this_person whose id is name_id)
    end repeat
    save
    end repeat
    save
    end try
    end tell
    I have to acknowledge Trevor Harmon scripts for giving guidelines.
    I had to add the get statements to resolve properly the related names of the person
    The script works well on a small address book, but on the full book it slows to a crawl and stops.
    Of course I could re-import using abee - but that wont help me learn about address book scripts.
    Anyone see any problems that would cause the script to slow to a crawl? I assume its somehow consuming memory....

    Hello
    Accessing item in large list can be very slow in AppleScript unless appropriate coding method is used. Also the 'whose' filter can be very slow in filtering large collection of objects (though I doubt it is the case here).
    Anyway, you may try something like the script below which avoids the 'whose' filter.
    (NOT tested, for my environment is too for this.)
    --SCRIPT 1
    tell application "Address Book"
    repeat with p in (get every person)
    set p to p's contents -- # dereference the list item reference [1]
    tell p
    repeat with r in (get its related names)
    set r to r's contents -- # derefenence the list item reference [1]
    if r's label = "Group" and r's value = "B" then
    make new url at end of urls with properties {label:"Group", value:"GroupB"}
    delete r
    --delete related name id (get r's id) -- # alternative to the above [2]
    end if
    end repeat
    end tell
    --save addressbook
    end repeat
    save addressbook
    end tell
    [1] Dereferening the list item reference is costly operation in AppleScript.
    So dereferece it once (especially if it is used more than once in the iteration).
    [2] Use 'by ID' reference form if the 'delete r' does not work properly.
    (E.g., if r is in 'by index' reference form and there're multiple related names,
    'delete r' won't work properly due to changing index.)
    --END OF SCRIPT 1
    Or the following one which, in addition, implements a fast method to process large list.
    --SCRIPT 1a
    main()
    on main()
    script o
    property pp : {} -- # define large list as script object's property
    property rr : {} -- # idem
    tell application "Address Book"
    set pp to get every person
    repeat with p in my pp -- # use refenence to script object's property (i.e. my pp)
    set p to p's contents -- # dereference the list item reference [1]
    tell p
    set rr to get its related names
    repeat with r in my rr -- # use refenence to script object's property (i.e. my rr)
    set r to r's contents -- # dereference the list item reference [1]
    if r's label = "Group" and r's value = "B" then
    make new url at end of urls with properties {label:"Group", value:"GroupB"}
    delete r
    --delete related name id (get r's id) -- # alternative to the above [2]
    end if
    end repeat
    end tell
    --save addressbook
    end repeat
    save addressbook
    end tell
    end script
    tell o to run
    end main
    [1] Dereferening the list item reference is costly operation in AppleScript.
    So dereferece it once (especially if it is used more than once in the iteration).
    [2] Use 'by ID' reference form if the 'delete r' does not work properly.
    (E.g., if r is in 'by index' reference form and there're multiple related names,
    'delete r' won't work properly due to changing index.)
    --END OF SCRIPT 1a
    Hope this may help,
    H

  • Question regarding scripts

    Hi,
    I have scripts for Address Book. In which file should I put them in order to see those scripts in my applescript menu?
    Thanks a lot.
    Manuel.

    Manuel,
    You can place them in your Macintosh HD/Library/Scripts/Address Book Scripts Folder.
    ;~)

  • Some sample Applescripts are missing from Script menu.

    I am a new to AppleScript and I have just started reading A Beginner's Guide to Apple Script (by Guy Hart-Davis). The book makes numerous references to the default example scripts that are created during OS X install. I have added the script menu to to the menu bar and when I open the script menu - I only see about half of the default scripts that are shown in the book. I did some browsing and found other examples of the script menu which shows fewer scripts than the example in the book - but still shows a few more than what I am seeing on my system. On my system I do not see the following scripts (Address Book Scripts, Basics, Finder Scripts, Info Scripts, Internet Services, Navigation Scripts, URL's or Virtual PC Scripts). I am on SL 10.6.2. The book is written for SL 10.6 - but also makes references to Leopard 10.5. Is there something wrong with my system or were some of these default scripts eliminated in 10.6.2. My iMac came with 10.6.1 initially - so I have no prior OS version as a point of reference. My concern is that I progress with the lessons and exercises in the book - that there will be continued references to these missing scripts - as I suspect that the missing scripts may be used as a starting point for creating new scripts. Any idea where I can find the scripts that I listed as missing?

    Thanks. The book I am using appears to be a brand new book just released a month ago (or so). It appears the book may have been written for Leopard and tweaked for Snow Leopard (but under the guise of being the other way around) - without actually verifying that the examples for Snow Leopard actually work. The website for the book (McGraw Hill) does not seem to provide a mechanism for providing feedback or errata info. So far these missing scripts have not hampered my progress - except on the initial example. I was more concerned that something was missing from my iMac.

  • Missing Script Icon & Crashes

    1. Among some other problems I'm having with Address Book, my script icon is not appearing in my menu bar. I have several scripts loaded into what I think is the correct folder (~/Library/Scripts/Address Book Scripts), but alas, no icon, hence, no useful scripts.
    2. Also, when I try to change the phone number (or email) pulldown identifier for a contact the program crashes.
    Any thoughts?

    Never mind, I figured it out.

  • Importing Addresses from Excel.

    Is it possible to import addresses that I have in an excel page, into the Address Book?
    I can´t see any possibility to import the CSV format. Any ideas?
    Thanks,
    Julio

    I do have a working Panther installation and the same version of Address Book as Julio, though I don't use it and know nothing about it. On opening the application and choosing Import from the File menu, I have only two options: "vCards" and "LDIF". I have no idea whether saving an Excel file as a tab- or comma-delimited text file (which is easy) would make it possible to convert the entries in it to vCard or LDIF format using some third-party utility. If so, that intermediate step might enable Address Book to import the data. If not, then I suspect AB 3.1.2 isn't going to be able to import the Excel data.
    There is an "Import Helper" script in my Library/Scripts/Address Book Scripts/Helper Scripts folder, but I know even less about AppleScript than I do about Address Book, and I can't tell from the negligible information provided about that script exactly what its function is, or what problem it's designed to help with. Sorry...

  • How to show ungrouped (unfiled) contacts in Address Book?

    In my Treo, I am used to being able to show my contacts that do not have a group assigned to them yet. Is there a way to show ungrouped contacts in Address Book?
    Thank you!

    You can try this AppleScript, which is known to work in 10.4.11 and earlier versions of OS X, so I haven't tested on 10.5.x:
    -- properties --
    property alone : "No Group" -- you can change it to anything you like.
    -- script --
    tell application "Address Book"
    if group alone exists then
    -- remove everyone from this group
    repeat with p in every person of group alone
    remove p from group alone
    end repeat
    else
    make new group at the end of groups with properties {name:alone}
    end if
    save addressbook
    set dest to group alone
    set pg to {} -- person in group
    repeat with g in every group
    set pg to pg & (name of every person of g)
    end repeat
    set p to every person
    repeat with i in p
    if name of i is not in pg then
    add i to dest
    end if
    end repeat
    save addressbook
    end tell
    Copy and paste the script into Script Editor and save it as a Script. Yu can then move it to your Address Book Scripts folder, inside your User Scripts folder and use the Script menu on your menu bar to activate it (if you have that item enabled). This will create a "No Group" group in Address Book, where all the ungrouped contacts will be listed; you can then move them to whatever group you like.
    Mulder

  • How to inform EVERYBODY about a new email address

    Hi -
    I'm going to start using a new email address and want to notify the world but I'm not going to remember everyone who's ever written me. MAIL's memory has zillions of addresses of people who've written me. Is there some way of accessing all those addresses -- a script or something -- for this purpose?
    Thanks.

    In mail.app you could click Window, Previous Receipents, and add them all to your address book. Then send them a message by putting all the addresses into the BCC field (so everyone's address is hidden from the other receipents).
    Or, and I've never used one, there are companies that do that kind of thing:
    http://www.plaxo.com
    - Wayne
    PowerMac G5   Mac OS X (10.4.8)  

Maybe you are looking for