All option for selection command

Once you have selected multiple items how do you move them as one? I have looked thru the sample scripts, Adobe PDF's and the user postings without any luck. Below is the sample script with the line - myInDesign.Selection.item(1).move Array(5, 5) that I have the question on. This line only moves the first selection and not all.
Thanks,
Archie
For I = 1 to myDocument.PageItems.Count
X1=17
Y1=18
X2=47
Y2=33
myItemType = TypeName(myDocument.PageItems.Item(I))
REM MsgBox "Counter: " & cStr(I) & " Type: " & myItemType
Set myCurrentObject = myDocument.PageItems.Item(I)
myBounds = myCurrentObject.GeometricBounds
myY1 = myBounds(0)
myX1 = myBounds(1)
myY2 = myBounds(2)
myX2 = myBounds(3)
If myX1 >= X1 - 1 and myY1 >= Y1 - 1 and myX2 <= X2 + 1 and myY2 <= Y2 + 1 Then
myGroupCounter = myGroupCounter + 1
MyDocument.Select myCurrentObject, idSelectionOptions.idAddTo
End If
Next
If myGroupCounter > 0 Then
** this line ** myInDesign.Selection.item(1).move Array(5, 5)
End If

I need to select all objects in the area (could be text, plus a border, or text plus graphic lines, or text with a image, etc.) that makes up the stamp, move that selection of objects to another document, then reduce it to fit on a die cut label. This script is for a document that contains 8 stamps per page. I think I have it working now. Below is the section of code I have been using to test this.
Thanks,
Archie
Rem GROUP
Rem -----
Function myGroup (myInDesign, myDocument)
myLabelPercent = .73
For I = 1 to myDocument.PageItems.Count
X1=17
Y1=18
X2=47
Y2=33
myItemType = TypeName(myDocument.PageItems.Item(I))
Set myCurrentObject = myDocument.PageItems.Item(I)
myBounds = myCurrentObject.GeometricBounds
myY1 = myBounds(0)
myX1 = myBounds(1)
myY2 = myBounds(2)
myX2 = myBounds(3)
If myX1 >= X1 - 1 and myY1 >= Y1 - 1 and myX2 <= X2 + 1 and myY2 <= Y2 + 1 Then
myGroupCounter = myGroupCounter + 1
MyDocument.Select myCurrentObject, idSelectionOptions.idAddTo
End If
Next
If myGroupCounter > 0 Then
Set myGroup = myDocument.Groups.Add(myDocument.Selection)
myGroup.move Array (10, 10)
set myScaleMatrix = myInDesign.TransformationMatrices.Add(cDbl(myLabelPercent), cDbl(myLabelPercent))
myGroup.Transform idCoordinateSpaces.idPasteboardCoordinates,idAnchorPoint.idCenterAnchor,
myScaleMatrix
MyDocument.Select idNothingEnum.idNothing
End If
End Function

Similar Messages

  • No "delete all" option for texts on 5800 Xpress Mu...

    Am I just blind, i thought this was standard on all phones (all the ones i've had before have had it).  I have to delete each text and message one by one which is tedious at best, is there a delete all option for the inbox/outbox that i'm just missing somewhere?
    Cheers.

    this is simple all you do is select mark all in options menu and then delete.

  • HT2534 While creating an account from my iPad there is no option for selecting none in the payment options. It states I have to give my credit card details. What's the procedure to open a free account?

    While creating an account from my iPad there is no option for selecting none in the payment options. It states I have to give my credit card details. What's the procedure to open a free account?

    It's in the article.  You must first sign-out your current account, then go to App store to purchase a Free App.  It will ask you to either Sign in or create a new AppleID.  That's when you start creating a new AppleaID and NONE will be available as a payment option.

  • Looking for a reference manual that actually describes in detail all attributes for a command

    I am using CS5. I am teaching myself Photoshop using their book, "Classroom in a book".
    Thought the lessons, they will suggest specific setting for command attributes without describing exacting what these values mean.. For example, on page 88 they give the student specific settings for the Refine Edge dialog bog under the Quick Selection tool. They say, "To prepare the edge for a drop shadow, set Smooth to 24, Feather to 0.5, Contrast to 12, and Shift Edge to -21". Note: I am calling things like Smooth, Feather, Contrast, etc command attributes.
    My question is not about this specific example, but all these attribute values for all the commands. For example, what does Shift Edge really do when negative or positive. My question is: does a reference, either a book, pdf, or a non-Adobe product (probably a book) exist that actually explains when each attribute actually does for every command? Basically looking for a boring detailed reference guide so when I am using a specific command, I can read about the attributes for the specific command and understand what the values really mean and not guess my trial and error.
    Thanks in Advance,
    LouF

    Lou Fuchs wrote:
    For example, I just happen to have my book open to page 113 and it is showing me (at the bottom of the page) the dialog box for Layer Style.  I was hoping for a reference manual that explains every option in the that dialog box in detail and tells you what each option means and how it effects the image.
    I hope this clarifies what I am looking for.
    Here's a little snippet from the info about Layer Styles in the Adobe manual.
    Layer style options
    To the top
    Altitude For the Bevel and Emboss effect, sets the height of the light source. A setting of 0 is equivalent to ground level, 90 is directly above the layer. Angle Determines the lighting angle at which the effect is applied to the layer. You can drag in the document window to adjust the angle of a Drop Shadow, Inner Shadow, or Satin effect.
    Anti-alias Blends the edge pixels of a contour or gloss contour. This option is most useful on small shadows with complicated contours. Blend Mode Determines how the layer style blends with the underlying layers, which may or may not include the active layer. For example, an inner shadow blends with the active layer because the effect is drawn on top of that layer, but a drop shadow blends only with the layers beneath the active layer. In most cases, the default mode for each effect produces the best results. See Blending modes. Choke Shrinks the boundaries of the matte of an Inner Shadow or Inner Glow prior to blurring. Color Specifies the color of a shadow, glow, or highlight. You can click the color box and choose a color. Contour With solid-color glows, Contour allows you to create rings of transparency. With gradient-filled glows, Contour allows you to create variations in the repetition of the gradient color and opacity. In beveling and embossing, Contour allows you to sculpt the ridges, valleys, and bumps that are shaded in the embossing process. With shadows, Contour allows you to specify the fade. For more information, see Modify layer effects with contours. Distance Specifies the offset distance for a shadow or satin effect. You can drag in the document window to adjust the offset distance. Depth Specifies the depth of a bevel. It also specifies the depth of a pattern. Use Global Light This setting allows you to set one “master” lighting angle that is then available in all the layer effects that use shading: Drop Shadow, Inner Shadow, and Bevel and Emboss. In any of these effects, if Use Global Light is selected and you set a lighting angle, that angle becomes the global lighting angle. Any other effect that has Use Global Light selected automatically inherits the same angle setting. If Use Global Light is deselected, the lighting angle you set is “local” and applies only to that effect. You can also set the global lighting angle by choosing Layer Style > Global Light. Gloss Contour Creates a glossy, metallic appearance. Gloss Contour is applied after shading a bevel or emboss. Gradient Specifies the gradient of a layer effect. Click the gradient to display the Gradient Editor, or click the inverted arrow and choose a gradient from the pop-up panel. You can edit a gradient or create a new gradient using the Gradient Editor. You can edit the color or opacity in the Gradient Overlay panel the same way you edit them in the Gradient Editor. For some effects, you can specify additional gradient options. Reverse flips the orientation of the gradient, Align With Layer uses the bounding box of the layer to calculate the gradient fill, and Scale scales the application of the gradient. You can also move the center of the gradient by clicking and dragging in the image window. Style specifies the shape of the gradient. Highlight or Shadow Mode Specifies the blending mode of a bevel or emboss highlight or shadow. Jitter Varies the application of a gradient’s color and opacity. Layer Knocks Out Drop Shadow Controls the drop shadow’s visibility in a semitransparent layer. Noise Specifies the number of random elements in the opacity of a glow or shadow. Enter a value or drag the slider. Opacity Sets the opacity of the layer effect. Enter a value or drag the slider. Pattern Specifies the pattern of a layer effect. Click the pop-up panel and choose a pattern. Click the New Preset button          to create a new preset pattern based on the current settings. Click Snap To Origin to make the origin of the pattern the same as the origin of the document (when Link With Layer is selected), or to place the origin at the upper-left corner of the layer (if Link With Layer is deselected). Select Link With Layer if you want the pattern to move along with the layer as the layer moves. Drag the Scale slider or enter a value to specify the size of the pattern. Drag a pattern to position it in the layer; reset the position by using the Snap To Origin button. The Pattern option is not available if no patterns are loaded. Position Specifies the position of a stroke effect as Outside, Inside, or Center. Range Controls which portion or range of the glow is targeted for the contour. Size Specifies the radius and size of blur or the size of the shadow. Soften Blurs the results of shading to reduce unwanted artifacts. Source Specifies the source for an inner glow. Choose Center to apply a glow that emanates from the center of the layer’s content, or Edge toapply a glow that emanates from the inside edges of the layer’s content. Spread Expands the boundaries of the matte prior to blurring.
    Style Specifies the style of a bevel: Inner Bevel creates a bevel on the inside edges of the layer contents; Outer Bevel creates a bevel on the outside edges of the layer contents; Emboss simulates the effect of embossing the layer contents against the underlying layers; Pillow Emboss simulates the effect of stamping the edges of the layer contents into the underlying layers; and Stroke Emboss confines embossing to the boundaries of a stroke effect applied to the layer. (The Stroke Emboss effect is not visible if no stroke is applied to the layer.)
    Technique Smooth, Chisel Hard, and Chisel Soft are available for bevel and emboss effects; Softer and Precise apply to Inner Glow and Outer Glow effects.
    Smooth Blurs the edges of a matte slightly and is useful for all types of mattes, whether their edges are soft or hard. It does not preserve detailed features at larger sizes. Chisel Hard Uses a distance measurement technique and is primarily useful on hard-edged mattes from anti-aliased shapes such as type. It preserves detailed features better than the Smooth technique.
    Chisel Soft Uses a modified distance measurement technique and, although not as accurate as Chisel Hard, is more useful on a larger range of mattes. It preserves features better than the Smooth technique. Softer Applies a blur and is useful on all types of mattes, whether their edges are soft or hard. At larger sizes, Softer does not preserve detailed features.
    Precise Uses a distance measurement technique to create a glow and is primarily useful on hard-edged mattes from anti-aliased shapes
    such as type. It preserves features better than the Softer technique. Texture Applies a texture. Use Scale to scale the size of the texture. Select Link With Layer if you want the texture to move along with the layer as the layer moves. Invert inverts the texture. Depth varies the degree and direction (up/down) to which the texturing is applied. Snap To Origin makes the origin of the pattern the same as the origin of the document (if Link With Layer is deselected) or places the origin in the upper-left corner of the layer (if Link With Layer is selected). Drag the texture to position it in the layer.

  • Select option for selection valid and invalid data.

    Hi All,
    Any one pleas help in validating following case :-
    In the selection screen there is a select option for equipment number like EQUI-EQUNR
    if any user will give wrong equipment no. It will generate an error message from the  range of equipment no.
    and put it to an internal table it error.
    and if any value in between the select option(equipment no) is correct then that value I need to proceed for some other logic.
    Iu2019d appreciate if some one help me in generation code for the above case or logic.
    Thanks

    Hi,
    Use FM 'RS_REFRESH_FROM_SELECTOPTIONS'
    DATA: RSPAR TYPE STANDARD TABLE OF RSPARAMS.
          REFRESH RSPAR.
          CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
              EXPORTING
                CURR_REPORT           = 'prog name'
        IMPORTING
          SP                    =
              TABLES
                SELECTION_TABLE       = RSPAR
             EXCEPTIONS
               NOT_FOUND             = 1
               NO_REPORT             = 2
               OTHERS                = 3.
          IF SY-SUBRC <> 0.
       MESSAGE I000.
          ENDIF.
    In table parameter you ll get the all entries entered .
    Check out the values with respective tables.If value is not correct tk it into internal table
    else proceed ahead. You can Remove incorrect entries this way.
    regards,
    ajit.

  • Is there a 'Play All' option for DVD menu?

    Hi,
    I was hoping someone can possibly help here... I have created a DVD menu in iDVD with 8 separate movie items each with their own button (with underlined feature), but with no sub menus or additional pages.
    Incidentally, these items are home movies, transfered from old Hi8 tapes, edited in iMovie then added to iDVD.
    The 8 items have all successfully loaded to the iDVD menu and will play when each item is selected (in test mode).
    However, I was hoping to also add a 'Play All' button so that the whole DVD content can be played as one continuous piece if required, rather than being limited to being able to play only individual items at a time and then having to return to the menu page in order to select the next item.
    Please can anyone offer any help here? I'm very new to Macs/iDVD etc so simple, basic guidance would be much appreciated!!!
    Many thanks,
    Robin-UK

    Hi Robin
    Welcome to apple discussions. I use Toast (personal choice only) in this situation since it has a play all check box. But then you don't get the fancy menus.
    Click Here
    There is no such check box within iDvd for selecting play all but you can set up iDvd's preferences to address scene selection menus when a movie/s is added. And here's how you do that:
    A second option might involve adding the 8 separate movies to the slideshow feature within iDvd for continuous play. And yes you can add photos as well as movies to idvd's slideshow feature with a number of added benefits which I won't go into here. But if you want more info on this procedure just look at a few of Old Toad's prior posts / replies on this iDvd forum.
    Disclaimer: Apple does not necessarily endorse any suggestions, solutions, or third-party software / products that may be mentioned in this topic. Apple encourages you to first seek a solution at Apple Support. The following links are provided as is, with no guarantee of the effectiveness or reliability of the information. Apple does not guarantee that these links will be maintained or functional at any given time. Use the information above at your own discretion.
    Message was edited by: SDMacuser

  • IPad "more" option for selecting Home Sharing no where to be found

    All settings for Home Sharing checked. All devices using same Apple ID.
    iPad does not offer a "Library" selection.
    Also, iTunes window does not have a "more" button or a sidebar with library options.
    Also, Apples help page re: iPad set-up shows different picture of iTunes front page to the one I get.
    Any suggestions?

    The more button is in the Music App the bottom of the screen.
    Go to View>Show Sidebar in the iTunes 11 menu - at the top of screen in order to see the sidebar. Once you can see the sidebar, you will see the iPad under the devices heading. Then click on your iPad under devices and you will see all of the tabs in the iTunes window - on the right at the top of the window - that you are familiar with.

  • Option for selecting the GL indicator as optional

    Hi
      Am using  '0FIAR_C03' here the there is the field Special GL. I need to keep an option while executing the report/query for selecting either with or with out the special GL, if special GL is selected i need to fetch the records where special GL is not empty or else if not selected i need to select the records with Special GL is empty. How to design the query for the above future.
    Thanks
    Karthikeyan.L

    Hi karthikeyan,
    This can be done by a characteristic variable, if you want the user to input this.
    User should be putting in # to represent special GL is empty and exclude # for special GL is non empty.
    Naveen.A

  • How to put Mandatory option for selection screen fields in ABAP Queries

    Hi Experts
    Can anyone tell me how to put mandatory option for the selection screen fields in ABAP Queries.
    Manually I had written code in the At Selection Screen  option in infoset to display error message if that field is blank.
    But I need to display the selection fields with the tick mark (obligatory mark).
    How to do this?
    Appropriate answers will be awarded

    Hi
    For parameter option
    parameters : p_kunnr type kna1-kunnr  obligatory.
    For select option
    select-options: s_date for vbak-erdat obligatory.
    Plz rewards points ,
    Regards ,
    Ganesh.

  • Exhausted with all options for error "No active userstore is set"

    Dear Experts,
    I changed the client number to 200 in UME configuration from default client number 001. Also I had created a system user SAPJSF in the backend system in client 200. I restarted the j2ee engine but its not starting. I received this error WebAS running. Server not found. The log says "No active userstore is set".
    I have researched the forum and tried out *all the notes and set the parameters in visual administrator tool*. Nothing is working.
    I have reinstalled my system atleast 4 times after and finally I have exhausted with all options.
    Please Help.

    Dear Sunny,
    Thanks for the response. I had tried it for both client 000 and client 001. The problem still persists. I am thinking of raising an OSS message. Any other suggestion appreciated.
    Regards,
    P Thompson

  • If I want to create a Listbox to run multple tests, how can I create a check all and clear all button for selection/​deselectio​n of all the tests

    create check all/clear all button for listbox

    Hi Arien,
    Parthabe is right, next time, try to create a new thread.
    So when others try to search for a topic, they can actually find it.
    I developed this example code that you can take a look at.
    It's using property nodes of the chart to control which plot to show and to force invisible
    Message Edited by Van_L on 03-06-2008 07:19 PM
    Van L
    NI Applications Engineer
    Attachments:
    choose plot.vi ‏25 KB

  • Alternative for "check select-options" for select query.

    hi all,
    my report is using a "GET" syntax, followed by "check select-options".
    My senior told me to replace the Get syntax with select query.
    Now, my program also has dynamic selection screen.
    the dynamic selection screen almost has all the fields of database table.
    so, what is the way to replace this check select-options while applying select query?
    can you tell me how dynamic selection screen fields are populated? are they stored in some internal table?
    thanks for help.

    HI
    Here is some points about LDB.
    Logical databases are special ABAP programs that retrieve data and make it available to application programs. The most common use of logical databases is still to read data from database tables by linking them to executable ABAP programs.
    However, from Release 4.5A, it has also been possible to call logical databases using the function module LDB_PROCESS. This allows you to call several logical databases from any ABAP program, nested in any way. It is also possible to call a logical database more than once in a program, if it has been programmed to allow this. This is particularly useful for programs with type 1.
    Logical databases contain Open SQL statements that read data from the database. You do not therefore need to use SQL in your own programs. The logical database reads the program, stores them in the program if necessary, and then passes them line by line to the application program or the function module LDB_PROCESS using an interface work area
    For further on LDB's refer to this link.
    [http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/content.htm]
    Hope this will help.
    Reward if helpful.
    Sumit Agarwal

  • How to use Multiple Single Option for selection in the Customer Exit

    Hi,
    How can we handle the multiple single values in the customer exit variable.
    I have a requirement which is as follows -
    Table A fiields -> Field Coach, Partner 2, Relation between PArtner 1 & Partner 2, Valid from, valid to date.
    Table B ->  Service Month, Start Date, End Date.
    Table C -> Billing Date, Execution Partner,cal month /year.
    For the Field coach in TABLE A, multiple Partner 2 are present.
    Report has to be built on Table C.
    User inputs the Service month and Field Coach . User can enter multiple field coach values.
    For the All the Field Coach values entered, corresponding Partner2's have to be found from Table A and to be passed to the Execution Partner in Table C.
    Now if we want to use customer exit variable on the field Execution Partner, how can we handle the Multiple Single selections in the customer exit.
    Thanks,
    Shubham

    Hi,
    While creating the variable you must have to specify multiple value.
    In customer exit
    write code multiple times and append the values.
    For example:
    when 'variable'.
    l_s_range - sign = 'I'.
    l_s_range - OPT = 'EQ.
    l_s_range - LOW = EXECUTION PARTNER 1.
    APPEND L_S_RANGE TO E_T_RANGE.
    l_s_range - sign = 'I'.
    l_s_range - OPT = 'EQ.
    l_s_range - LOW = EXECUTION PARTNER 2.
    APPEND L_S_RANGE TO E_T_RANGE.
    l_s_range - sign = 'I'.
    l_s_range - OPT = 'EQ.
    l_s_range - LOW = EXECUTION PARTNER 3.
    APPEND L_S_RANGE TO E_T_RANGE.
    Regards,
    Ranganath.

  • Has the options for custom command buttons and scripts been removed from speedgrade?

    I run alot of framecyclerDI machines and am looking to upgrade them but i cant seem to find any method of adding command bars and buttons like you could in the iridas versions of speedgrade i also cant see a way of executing any external scripts which for me is a big issue as i have a hell of alot of pipeline scripts that the artist could execute.... any ideas or have i just missed somthing ?.......(would love it if they added a python sdk)

    Hi Dennis,
    Thanks for replying,
    Its actually more the other way getting speed grade to control outher things.
    i.e
    take the in and out points and send the track to a dcp creator
    rendering and sending anotated frames directly into my databases notes system
    taking the shotname and seeing if theres is a new version avaliable and pull it from the server to the local machine drive/cache
    Theres a load more..but you get the idea .. using the buttons to execute these commands in the interface made these functions editor friendly...
    I can get round some of the issues by reading from the autosave.ircp and setting up a PYQT GUI but that seems like a bit of a hack.
    I understand the reasons to keep the UI uniform (editors dont like it when you move buttons) but Im suprised these options got removed as intergrating software into pre-existing pipelines would seem to be a selling point for any software..
    Are there any plans in the roadmap for speedgrade that would help me in the future?
    S.P.F

  • Delete all option for deleted programmes

    Hi,  Does anybody know if there's a way to "delete all" from the deleted programme's menu?It would be far easier than having to delete every programme individually from the last 18 months (2tb box)Thanks

    Hi, Just came across your post here, I've only just encountered the very same thing. Seemed a good idea at first to have a backup of deleted programs, but yes, you are so right, trying to free up space or, as in my case, following the recommendation from Sky to permanently remove all deleted content in an effort to rectify a glitchy planner, yeah right! This will take an age!The only current way around this, and it is only to be used as a last measure, is to perform a complete system re-set! But remember, doing so will delete EVERYTHING and basically you end up with the box as it was from new! Then you simply start again with setting your reminders and favourites etc.  If anyone goes down this route, just try and get in the habit of EVERYTIME you delete something, go straight into the deleted tab on your box and permanently delete it from there, now you will never end up with such a list to have to delete individually again!I know that this is an extreme measure to take to accomplish what should be much quicker, but until Sky release an update to the Sky options that would enable a multi delete option, this is about as good as it gets, otherwise be prepared for a very long spell of sitting there button pushing. All the best.

Maybe you are looking for