[JS, CS3] Need help changing tabStop positions of selected text

Hi all,
I am writing a script to nudge the tabStop positions of selected text by one point at a time. Sometimes it will be only a tab character selected, and other times it could be several in the paragraph or maybe even the whole story. The problem I am encountering is that when I reference the tabStops as app.selection[0].tabStops it includes ALL the tabStops in the paragraph and NOT just the selected ones. Is there a way to get just the selected tabStops and add a point to their positions? It must be that my referencing is flawed. Thanks for any help.
Regards,
Len Swierski

Hi Len,
That's not a bad approach, but remember that there may be more tab characters than there are tab stops. I was thinking of getting the location of the selected tab stop relative to the left edge of the text frame (or column, if you're working with multi-column frames) and then comparing it to the location of the tab stop. But I think your approach will work just as well and be quicker.
Also, remember that when you start moving tab stops around, the index of the tab stop within the tab stops collection can change. If you have tab stop A at 12pt and tab stop B at 16pt, then tab stop A will be item(0) and B will be item (1). But if you move A to 24pt, A will become item(1) and B will be item(0). The index of the tab stop is relative to its location on the tab ruler.
Thanks,
Ole

Similar Messages

  • I need help changing my iTunes syncing for iPad and iPhone when I connect Ed my iPhone to computer it has a different name from my laptop so I can't sync iPhone music from iPad. Please help!!!

    I Need help changing my name on lipad and iPhone to sync. I have two different name1 is from my laptop and the other is from iPad ,so I can't sync iTunes. Please help!!!!!!

    Plug the iphone in and go to the music tab in the iphone,not your itunes library.There will be a button in the borrom right that says autofill. Click that and it should thransfer all your music. It worked for me,and i had the same problem.

  • HT5312 Guys, I have forgotten my security question answers, and the rescue email I placed in with my apple id has been closed down as well (it was a university id, when I graduated, the email service expired). I need help changing my password.

    Guys, I have forgotten my security question answers, and the rescue email I placed in with my apple id has been closed down as well (it was a university id, when I graduated, the email service expired). I need help changing my password.

    The Three Best Alternatives for Security Questions and Rescue Mail
        1. Use Apple's Express Lane.
              Go to https://expresslane.apple.com ; click 'See all products and services' at the
              bottom of the page. In the next page click 'More Products and Services, then
              'Apple ID'. In the next page select 'Other Apple ID Topics' then 'Forgotten Apple
              ID security questions' and click 'Continue'.
         2.  Call Apple Support in your country: Customer Service: Contact Apple support.
         3.  Rescue email address and how to reset Apple ID security questions.
    A substitute for using the security questions is to use 2-step verification:
    Two-step verification FAQ Get answers to frequently asked questions about two-step verification for Apple ID.

  • I need help changing my security information because i forgot it and i clicked forgot your answers on the apple website and its sopost to send me an email saying how to reset it but i never got an email

    i need help changing my security information because i forgot it and i clicked forgot your answers on the apple website and its sopost to send me an email saying how to reset it but i never got an email.

    Contact iTunes support:
    http://www.apple.com/support/itunes/contact/

  • Change the position of the text field in the report region

    Hi,
    I am having a report region in whch there are 2 buttons which are in the Region Template position #Create# and a
    text field. I added a text field in the same region. I tried to change the position of the text field near the buttons. I
    tried to change "label-Horizontal/vertical alignment" and "Element horizontal vertical alignment". But the postion of the
    text field is not changing. Plz help,
    Thanks,
    TJ

    Hi Andy,
    Sorry to ask this questions.
    1.Where exactly i need to change the HTML code(By uisng the view source?)
    2.My taskname part html code when viewing the source is given below
    tabindex="999"><img src="/i/e.gif" alt="Edit" class="eLink" />
    </a><tr></td><td nowrap align="left">
    <label for="P1_TASK_NAME" tabindex="999">
    <a class="t16OptionalLabelwithHelp" href="javascript:popupFieldHelp('5853137628393530415','676839962625525')"
    tabindex="999">Task Name</a></label></td>
    <td  colspan="1" rowspan="1" align="left" valign="top"><input type="hidden" name="p_arg_names"
    value="5853137628393530415" /><input type="text" name="p_t06" size="10" maxlength="20" value=""
    id="P1_TASK_NAME"  /><a class="eLink" title="Edit" href="javascript:popupURL('f?
    p=4000:371:676839962625525::::P371_ID,FB_FLOW_ID,FB_FLOW_PAGE_ID:5853137628393530415,107,1');" 
    tabindex="999"><img src="/i/e.gif" alt="Edit" class="eLink" /></a></td></table>
    <table summary="" cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td align="right"><table
    cellpadding="0" cellspacing="0" border="0" summary="" class="t16Button">please suggest what changes i need in this code to change the alignment of the task_name text field,
    Thanks,
    TJ

  • Need help on how to handle zip & text/csv as a resposne payload from Concur RestWebservice

    Hi All,
    We are getting zip(if there are multiple files) and test/csv(single file) as a response payload from the concur rest API and need your help on how to handle in NWBPM and SAP PO.
    Zip response coming in response looks like below -
    PKÀ˜F7extract_attendee_detail_p0600908soav_20150424022159.txts� rt©1204Õ50Ñ52©1¨áåPKzà@ÆPKÀ˜F2extract_CES_SAE_v3_p0600908soav_20150424022148.txts� rt©1204Õ50Ñ52©1¨©1ãåPKå늟PKÀ˜Fzà
    Text/csv response looks like below -
    Extract|2015-24-40|20|0
    Need you help on how to handle the zip content response.
    Also need help on how to handle when text/csv response comes and when zip response comes.
    As per the scenario, there are 4 calls to be made and we are using NWBPM and in the last call the actual respons (text/csv or zip) will come.
    Please provide your inputs.
    Thanks
    Narayanareddy B

    Hi Aaron,
    Thanks for your reply.
    I tried with Payload zip bean and the java mapping as mentioned in the response mapping of OM.
    Payload zip bean - Zip  zip.mode  unzip
    I am getting the error below in the receiver rest channel -
    "Transmitting the message using connection JPR failed, due to: com.sap.aii.af.lib.mp.module.ModuleException: Zip: error occured during processing: java.util.zip.ZipException: invalid stored block lengths"
    Java Mapping - used the java mapping in the response of Operation mapping
    Here also i am seeing the same error in the channel log as it is synchronous step and the message got cancelled.
    "Transmitting the message using connection JPR failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error encountered while executing mapping: com.sap.aii.af.service.mapping.MappingException: Mapping failed in runtimeApplication mapping program com/equalize/xpi/esr/mapping/java/UnzipAndAttach throws a stream transformation exception: Exception: invalid stored block lengths"
    The below is the response i am seeing and is it proper zip response payload(any encryption) , kindly advise.
    PKâE�F:ws_extract_attendee_detail_p0600908soav_20150424083413.txts� rt©1204Õ50Ñ52©1¨áåPKzà@ÆPKâE�F5ws_extract_CES_SAE_v3_p0600908soav_20150424084014.txtíTß��@~oÒÿ�÷Fº»ìV}ëòCÏz Qljß8ÜöL�`N�ùão8�Ò«�´M�Ü@�awvçûfgÇùâϤå#Ttï0Ø�B�²·olÇ�£[4Ï](L�]«�ÑbÀôÁÒc�0ÀÏdAªÙТ¨Ìû�Êv¡�b¤eJA%��=Þ7Í>PÚ=í2��7ò[�¼¡=q/°¶�*ø)
    K|<`BgÉÔºÜWs[§J�&Ñ:Ìá:´�ç«�RÐv�ÚÅAD'\�ÁtR²*DP3gî:B@JëhU�Ò'¬�ùQ\�È\D{·O×±JS\ï�-ò�¸�Þ²êó�{Å¡2®â,MmÉù XAzßüBn&®Sl-§�l¶A�×ú½³ÙFI®0¿©Ú¯¤�oT�iV²RÀJ��¼«`õ»�í Ûéwa#�àpY�««óq)U°JaøÁA�ûì>Ù³üHåÒe¾�7��Ð/§£u°Nzã÷ç4×·èãþ�¾}õ0ÙµYÄ�+J��eX\�E±ïsR%®yÜÕðsªáÚ$qÚÎÇ�Û$^%1¸AF*ý¶VÑêxÏZÏ¢U½T~Ñ®ØkW5ç×®õ¿w5¬zò:oN»�ô���íø÷úÛÙ=¬å�[ôÚ�þmczPKhÏ��i PKâE�Fzà@Æ:ws_extract_attendee_detail_p0600908soav_20150424083413.txtPKâE�FhÏ��i 5�ws_extract_CES_SAE_v3_p0600908soav_20150424084014.txtPKËö
    Thanks
    Narayanareddy B

  • I need help changing my credit card details so that I can use the App Store but I can't get it to work

    I need help updating credit card. Details as its not sllowing me to get any apps

    Accepted forms of payment  >  http://support.apple.com/kb/HT5552
    Changing Account Information  >  http://support.apple.com/kb/HT1918
    If necessary... Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Need help changing the default Save Path

    Hello,
    We are implementing SAP, and will be using Citrix as the source for the GUI.  One of our requirnments are, that we need to change the default "Save Path" that users save documents too.   By default, this is to the C drive, but, we need it set to a different drive (i.e. V: on the citrix server).
    We found this note on SDN (see below) - however, it does not explain how to change or add this registry value?  Is this done in the GUI options, or in regedit?  If in reg-edit, where abouts in the tree does it go?
    Thanks guys, and any help would be greatly appriciated.
    Richard
    (As of SAP GUI 7.20, patch level 4) the REG_EXPAND_SZ registry value InitSaveDir can be used to configure the default path and folder for users to save the reported information in case of an access denial due to security rules. If users change the default path and save the information to an individual location, this new path will be kept as long as the user does not terminate the program. When starting SAP GUI again, users will get the configured default path again to store the reported information, the individual path changes will be lost. If the registry value does not exist, the default directory is the document directory of the SAP GUI.
    By default none of the above registry values exists. In order to change the behavior of the security module, the registry values need to be created and set to the desired value. A not existing registry value means use the default.
    In this doc:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/002444be-7018-2d10-e18e-a8c537198ef6?quicklink=index&overridelayout=true

    Hi,
    "Security rules that are created for a large number of users can be centrally stored on a server by an administrator. The administrator can use the registry values below under the registry key
    [HKEY_LOCAL_MACHINE\Software\SAP\SAPGUI Front\SAP Frontend Server\Security]
    to configure the behavior of the security module.
    Note: For 64 bit operating systems please use the following registry key
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP\SAPGUI Front\SAP Frontend Server\Security]
    to configure the behavior of the security module."
    You can use regedit for installing this values.
    Best Regards,
    Aleh

  • I need help changing the account number my daughter uses for payment for her apps and itunes, etc. can anyone talk me through this.

    hi ,
    im just a mom, not very computer savy.....however, I need to change the payment method my daughter uses to purchase things on her ipad due to the fact that the current one is expiring. ie: for such things like songs and games, etc.
    I would appreciate any help as how to do so.
    THanks

    On a computer's iTunes you should be able to edit the payment info by going into the Store > View Account menu option (if you are not logged into the account that your daughter is using then Store > Sign menu option to log out of the currently logged in account ; that will then change to a Store > Sign In option so that you can log into her account) and log into the account (enter the account's password and click View Account on the popup)
    And on the account's details page there should be a payment link.
    If you are doing it on your iPad then tap on your id in Settings > iTunes & App Store (if not logged into her account then log out of your account via the popup that you get and then log in with her account) and tap on 'View Apple ID' on the popup and log into the account  - that should also give you a payments link on your account's page.
    Changing payment info : http://support.apple.com/kb/HT1918

  • Need Help In Solving Positioning Problem

    Hi Guys,
    I have a 3 X 3 grid of JLabels of images. I constructed the grid using the grid layout.
    I would like to move a round object which represents a car and place that object in a particular cell. So the grid will be like a background.
    My questions are these:
    1) How can i position this object in a specific cell based on the rows and column values? for instance if i want to put the object in [1][0].
    2) How do i move this object to a different cell using the rows and column values. for instance if i want to move the object in [1][0] to [2][1]
    Thank you all for your help

    This question has nothing to do with Java 2D. I've removed the second thread you started in that forum.
    Thank you for providing a link to this thread in the cross post.
    db
    kap wrote:
    Hi Guys,
    I have posted a question in the Java Programming forum. This is the link :
    [positioning object|http://forums.sun.com/thread.jspa?threadID=5447680&tstart=0]
    I added the link to avoid double posts
    I am asking if someone can help me out because i need an urgent help. Some people have giving some ideas but i don't understand what they mean.
    Need help in solving it.
    Thanks.
    Edited by: kap on Aug 14, 2010 6:59 PM

  • Need help changing from CC package to Photoshop only

    I purchased CC membership for one year in December 2013. As I hardly ever need InDesign or Illustrator, I would like to change my order to Photoshop (and Lightroom) only. I find managing my account online very confusing. Is there a number I could call? Or some other way to get rid of the software I don't need, and that I did not re-order after my one-year membership was over?

    Cancel your membership or subscription | Creative Cloud
    https://helpx.adobe.com/x-productkb/policy-pricing/cancel-membership-subscription.html
    Phone support | Orders, returns exchanges
    http://helpx.adobe.com/x-productkb/global/phone-support-orders.html
    For the link below click the Still Need Help? option in the blue area at the bottom and choose the chat option...
    Creative Cloud support (all Creative Cloud customer service issues)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html ( http://adobe.ly/19llvMN )

  • I need help changing my security questions and dont know the answers to the ones i already have set

    i made my account like 4 years ago and have tried every possible answer to my questions i can think of but everytime it says one or both of them is wrong.  i tried changing them but there isnt a button that i can click to change them as far as i have seen it just keeps asking me to answer them.  i need to change them so i can buy songs on my new laptop please help.

    You need to ask Apple to reset your security questions; ways of contacting them include clicking here and picking a method for your country, phoning AppleCare and asking for the Account Security team, and filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (103373)

  • I Bought a Mac mini from the U/S. I need help changing the software to Canadian

    I need help to change to Canadian software. I keep being refered to the U/S which has more restrictions on some books and iTunesU. I also lost $9:00 due to the U/S not recognizing my acct.

    So, when you set it up you gave it Canadian info & Timezone?
    I wonder what People do that travel with Macs???
    Is your Apple Account/ID US or Canadian?

  • HT1918 how to change the email for my "password recovery" need help changing the recovery email not main.

    Need help on switching my password recovery email because it is sending to my old email. Anyone know how to do this?

    Hi Krebbo,
    I apologize, I'm a bit unclear on exactly what the nature of your issue is. If you are talking about changing the Apple ID that your iPhone currently uses for services like the iTunes Store, you may find the following article helpful:
    iOS: Sign in with a different Apple ID in the iTunes Store, App Store, and iBooks Store
    http://support.apple.com/kb/ht1311
    Regards,
    - Brenden

  • HT1338 I need help changing my password because i cant  remember it.

    Hi
    I need help resetting my password on my computer.
    thanks

    Insert the original Instal DVD that came with the computer, restart the mac and choose 'Reset Password' from the Utilities menu.
    If you don't have the DVD, follow the instructions here, carefully:
    http://osxdaily.com/2011/04/25/change-admin-password-mac/

Maybe you are looking for

  • Did not find EXT_REFERENCE_ID pointed to by field C1_EXT_REFERENCE_ID

    I have WebLogic 32 bit installed on a Windows XP 32 bit platform. And CCB V2.2.0. Upon startup in WebLogic, I get the following error message in the Domain Diagnostic Log file of Web Logic; 101162 User defined listener com.splwg.base.web.startup.SPLW

  • Real Nokia 5610 doesn't play Video in QVGA at 30fp...

    Hi all, I really disappoint that my Nokia 5610 doesn't play any resolution of video at 30fps, even i've tried whatever bitrate, whatever resolution (QVGA, QCIF, ...), whatever audio bitrate, it still can't play back smoothly with 30fps, onlt 15fps it

  • Billing Date Variable

    Hi I have a billing date "0Bill_date" in Billing ods report. Now there is a billing creation date "0createdon" so i am required to create the variable on billing date "0Bill_date" to capture the invoces if created date is different like bill date 01/

  • FileFormat plugin.

    I've just wrote a plug-in which extends Ilustrator 's file types reading and writing. As a File Format plug-in, the main entry point of this plugin is an the "format" item added in the save dialog box. The problem is that, we want me to do that in a

  • MX 6 - prob generating xml for gallery example

    See http://coolabah.com/spry/demos/gallery/xml.cfm I have MX 6 and think this is a problem. I can generate what looks like xml in the browser, but when I try to save it to a file I get this sort of output for the above, <style> table.cfdump_wddx, tab