Resetting the anchor position of a textFrameItem?

Why does this not work? The textFrameItem.anchor behaves as if it is a read only value but it isn't supposed to be. What am I doing wrong?
thanks in advance,
gmck
function pointText(onLayer,str){
    var pointText = onLayer.textFrames.add();
    pointText.contents = str;
    alert(pointText.anchor);
    pointText.anchor = [100,100];
    alert(pointText.anchor);
pointText(doc.activeLayer,'text');

I can't say that I've moved type before by the anchor… I get Not implemented kicked back…? It doesn't appear that you have anything wrong…

Similar Messages

  • How can I reset the anchor point to its default?

    One of the other guy using my machine screwed up the default anchor point position for text layers & for the life of us, we can't figure out how to reset it back to its default (centered on the text layer).
    Right now, it appears a the bottom of the text layer (bottom left if left justified, bottom right if the text is right justified & bottom center if cerer justified).
    Just to be clear, when typing out a brand new text layer, the anchor point does not appear in the center of the layer, as it normally does. Hitting "reset" in the tranform controls always moves the AP back to this position (ie, if I use the pan-behind tool to put the AP where it needs to be, then hit "reset", the AP moves back to the lower left corner of the layer)
    I'm sure it's got to be some keystroke combination of some kind...
    Anyway, does anyone know how to set it back to its default? It's a pretty big pain to have to manually set the anchor point for every text layer, and I kinda want to leave the "delete-your-prefs" option as a last resort...
    thanks
    D

    As Rick said - there is no way in hell the text ever could have been perfectly centered to begin with. the behavior you are seeing is perfectly normal. Whenever you change the text, the anchor point will respond in kind. Only fixed size text blocks will reverse that principle and fit the content to the bounding box, leaving the anchor point unchanged.
    Mylenium

  • Can you reset the zoom position?

    Hi,
    I have a series of images taken with different settings and I want to quickly compare them at 1:1 in different areas of the image, center and corners. I have discovered that if I select the series I want to examine and then go to the first image and zoom that image to the position that I wish to when I use the arrow keys to move to each subsequent image will be shown zoomed into the same position. This is great and has been a big help with some testing of lenses.
    If I don't ever go to any of the other images and zoom anywhere this works just fine. The zoom location is remembered just for the first image. However, if i accidentally or deliberately zoom on one of the other images it will remember that zoom location forever which breaks the technique described above.
    So I am wondering if anyone has discovered a way to remove the remembered zoom location from an image like it is when you first import it into LR?
    tks, louie

    The zoom position is a sticky between images as you describe. It can be quickly changed using the navigator panel and this will then become the sticky position. I don't think you can presently change this behaviour. If you want to suggest Adobe create an alternate mechanism post on the feature request board, you never know Adobe people may actually look in on it!!!.

  • My iPhone 4s blacked out on me. I cannot do a hard reset because my Sleep/Wake Button is stuck in the down position. What can I do?

    My iPhone 4s blacked out on me. I cannot do a hard reset because my Sleep/Wake Button is stuck in the down position. What can I do?
    This happened one time before but a day later it was magically on again!

    Sounds like it's time to bring your phone to Apple for evaluation

  • How can I move the Anchor points of multiple layers to the same position within comp?

    I have a comp of a butterfly that I want to copy the keyframes to many other butterfly comps, but to get the animation to work, I need all the anchorpoints of the individual layers to be at the exact same location within the comp (So the left wing, right wing, and body anchor points are right on top of each other)
    How can I accomplish this quickly? I have a lt of comps to do...
    Thanks all!

    I would have set this up in Illustrator Before you started. Start with a rectangle that has either fill or stroke on a layer but the opacity is set to 0. The center of the rectangle will be the anchor point for that layer when you import as a comp maintaining layer size. Now create your left left side contents on the left side of the rectangle and repeat for the right side. Import as a comp and you'll be golden.
    Here is a sample file and what the file looks like imported as a comp. Notice the x values of all anchor points are identical.
    The artwork isn't great, it was created in less than a minute but it porves the workflow.

  • How to Change the Location of the Anchor Point

    Hi
    Very new to affter effects.... i was wondering if you guys could please tell me how to move the blue anchor for animation of text please.

    If you just want to move the anchor point on your text layer you can do it by hand instead of going in and manually adjusting it from the transform menu as Dave suggested. 
    However, by what you've written it seems like there may be some confusion about what moving the anchor point actually accomplishes.  So just to clarify, the anchor point, or the small crosshair icon usually in the middle or corner of the layer, is actually a customizable location that essentially dictates the center around which the position, scale and/or rotation values will change when your layer is animated over time with keyframes.
    For example, if you would like to move the anchor point so that your text rotates around a point near the corner of the layer, you can press the Y key to activate the Pan Behind Tool and move the anchor point to the corner.  If you have CS6 you can hold down the Command Key to lock the anchor point to the center, corner or edge of your layer.  A little square will appear around the Anchor Point when it's ready to lock.
    If you've keyframed some of the properties on a layer and would like to temporarily see how your layer looks without messing up any animation you've done on it, simply duplicate the layer by selecting it in the Comp's layer panel and going to Edit - Copy and Edit - Paste.  That way you can do whatever you'd like on the duplicated layer wihout harming your original  Then do one or more of the following:
    A.) You can reset all of the trnsform properties of the layer by clicking Reset.  This will set your layer back to it's default transform settings.
    B.) Or, you can delete all of the keyframes on an individual property by clicking the stopwatch again.
    C.) Also, clicking the light yellow diamond next to the Source Name will delete a single keyframe and the arrows on either side will move the playhead from keyframe to keyframe.  You can of course always delete keyframes manually by selecting them in the timeline and hitting delete.  Holding Shift will snap the playhead to each keyframe.
    I hope this helps and if you're still having trouble I highly reccomend you start here to learn After Effects or go here for additional information.

  • Can I change the Default Position of a JColorChooser Dialog Box???

    I am working on a drawing application where I am using a button that launches a JColorChooser dialog to allow a user to select a color which. I have tied this button to the JColorChooser using the source code below to reset the color based on the user's selection. This all works fine. However, when the JColorChooser comes up, the dialog comes up right in the middle of the drawing area and erases any portion of the drawing that the dialog box overlaps with, which having my luck is more or less right in the middle of the JPanel where I am doing the drawing. My question is can I tell the JColorChooser to come up somewhere else in the user interface by offsetting it from the actual application somehow? I am using a JFrame to add all of these components to (the color choose button and the drawing area) and wonder if there is a way to tell the JColorChooser dialog not to come in the default location. Any help that anybody could provide would be greatly appreciated. Thanks!
    Kevin
    pickColor = new JButton( "Choose Color" );
    pickColor.addActionListener(
    new ActionListener() {
    public void actionPerformed(ActionEvent event)
    color = JColorChooser.showDialog(
    ColorPicker.this, "Choose a color", color);
    if ( color == null )
    currentColor = Color.RED;
    else
    currentColor = color;
    );

    JColorChooser has a method createDialog() that lets you create (rather than
    merely show) a dialog containing your colour chooser.
    If you use this method you can position the dialog wherever you want. The
    dialog inherits the Window methods for positioning - eg
    setLocationRelativeTo(Component c).

  • Problem in resetting the Page numbers

    Hi,
    I am using to print PO report using XML publisher.
    The layout that is needed is
    Header
    ---- It cointains page number x of y ,po number,po creation date,and other details.
    Body
    ---- It cointains po lines and po headers data.
    end body
    After the body ends we need to print Service note in a seperate page.But this service note should not have header and the pages of the service note will not be included in total pages of the PO.
    If the PO is 10 pages and service note 2 pages then the total page of PO should be 10.
    This is for one PO.We have to print many number of POs in a single request.
    Presently the problem is that for resetting the page numbers of service note I am using a section break after the end of body.What it does is it reset the page number.But the problem is first all the POs are displayed then its service note.But I need one PO and then its service note .Then the second PO and its service note.

    I have used the following method to call the template based on IF condition as follows:
    The way I expected the outcome is:
    if the COPY_ORIGINAL variable's value is '(Copy)' then it shoud print once the template with a label '(Copy)' in it.
    else
    if the COPY_ORIGINAL variable's value is '' (empty) then it should print 4 times the template, with different labels as: 'Original' , 'Accounts Copy', 'FP Store Copy' and 'Gate Copy'
    the way I used the xml tags is mentioned below:
    <?if: COPY_ORIGINAL='(Copy)'?>
    <?call:TC?>
    <?end if?>
    <?if: COPY_ORIGINAL=''?>
    <?call:TC1?>
    <?end if?>
    <?template:TC1?>
    <?for-each@section:xdoxslt:foreach_number($_XDOCTX,1,4,1)?>
    <?if: position()=1?>Original<?end if?>
    <?if: position()=2?>Accounts Copy<?end if?>
    <?if: position()=3?>FP Store<?end if?>
    <?if: position()=4?>Gate Copy<?end if?>
    <?for-each:/SFFONT001/LIST_G_HEADER_ID?>
    <?call:TC?>
    <?end for-each?>
    <?end for-each?>
    <?end template?>
    <?template:TC?>
    <?ORDER_NUMBER?>
    <?end template?>
    In this case, it won't call the template TC1 and reset the page numbers, instead it prints the page numbers continuously.. (no resetting of page numbers)
    why the following If statement:
    <?if: COPY_ORIGINAL=''?>
    <?call:TC1?>
    <?end if?>
    is not working for the statement:
    <?for-each@section:xdoxslt:foreach_number($_XDOCTX,1,4,1)?>
    Please update...
    regards..,

  • On my ipod touch my songs start in random places and jump to different places as it plays, the remember position is not ticked can anyone please help?

    On my ipod touch my songs start in random places and jump to different places as it plays, the remember position is not ticked can anyone please help?

    First, try a system reset.  It cures many ills and it's quick, easy and harmless...
    Hold down the on/off switch and the Home button simultaneously until the screen blacks out or you see the Apple logo.  Ignore the "Slide to power off" text if it appears.  You will not lose any apps, data, music, movies, settings, etc.
    If the Reset doesn't work, try a Restore.  Note that it's nowhere near as quick as a Reset.  Connect via cable to the computer that you use for sync.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."
    Finally, if the Restore doesn't work, let the battery drain completely.  Then recharge for at least an hour and Restore again.

  • How to bee able to use the anchor functionality as is used in APEX develop

    Hi
    First of all APEX is great !
    I have been using APEX to do some small applications in Norway. Now i am in a position to make a sales presentation for Norwegian Civil Aviation authority department. I hope we winn the contract and then we are going to use APEX for building the system.
    I need to bee able to navigate between many regions on an effective way. We would have the pages with 3-8 regions on each page and it would bee very suitable do have the functionality which is used in APEX Application builder where it is possible to show all regions on the page and then bee able to scroll through all regions on the page.
    But also bee able to user #ANCHOR_NAME at the end of the URL and then just switch to one of the regions (show just one region on the page).
    I have made a test page with use of #ANCHOR_NAME and this is ok, but i don't know how to just hide all other regions when you navigate to the anchor name. In application builder it is very nice when you navigate between regions and when you hit the "Show All" link, all regions is displayed on the same page.
    I also need to have each region the same size in width as in Application Builder, and the theme used in Application builder would also bee nice to used (in another color) is it possible to have a copy of the theme and make some adjustments to it ?.
    I would bee very greatfull for any feed back about this subject. I am going to make a demonstration 19 Descember.
    jon.

    The Builder links you mention at the top of the Component Definition pages use markup like
    < a href="#N" onclick="qF(this,'#N');return false;" ... >Name< /a >That "qF" function is a slick piece of Javascript. You can review it at http://htmldb.oracle.com/i/javascript/htmldb_html_elements.js. The DOM nodes that the function uses are specific to the Builder page template, but the code is fairly generic enough that you can adapt it to meet your needs. [Not sure what your comfort and experience level with Javascript is]
    That function also saves the selected region/section in a client-side cookie so that it persists the next time you visit the page.
    Hope this helps.
    Carl: The following line in the "uR" function seems mighty strange!
    if(gThis == $x('ALL')){gThis = $x('ALL');}

  • NI-6602 - Encoder capture - resetting the counter to 0 through software - DAQmx

    Hello. A simple one. I'm using DAQmx to set up a task to set channel 0 on an NI-6602 as an angular encoder capture port. This is working fine and I can grab the position in degrees. The simple question is - How do I reset the counter to 0 through software. I can set up ZIndex to do it but how do I either reset the counter or set it with an arbritrary number? I can see a method to set it on startup but not during capture.
    Thanks.
    Will

    If working in LabVIEW, there are DAQmx property nodes that will allow you to set the "initial count" value, but ONLY while the task is stopped.
    If you can't count on a hardware z-index reset, another software technique I've used to avoid stopping the DAQmx task.  I make a wrapper function for all my encoder task access (see the Action Engine nugget for ideas...).   Inside this "Action Engine" wrapper, I use an uninitialized shift register to store my encoder's "virtual 0".  I add a simple function to the action engine for setting the "virtual 0" to be the current encoder position value.  Every time I read from the encoder, I first subtract off the virtual zero before returning the data.  As far ast the rest of the app is concerned, the encoder data it gets is just as if I were able to make a software call to DAQmx to set the raw count to zero.
    -Kevin P.

  • How to reset the default window size

    Hi!
    I played around with the different layouts of Adobe Connect Pro and somehow got a real chaos of window sizes and window positions when changing the resolution as well. How can I reset the layout to the default layout settings (window size, window position, which window should appear)? At this moment I cannot move a windows because it's too big to move or resize it.
    Is there a possibility to undo these changes?
    Thank you!
    Best regards,
    Thomas

    Does anyone know how to reset the meeting layout during a running meeting?

  • Use incremental rotary encoder to measure the absolute position and velocity

    Hi all,
    I faced a problem by using incremental rotary encoder to measure the absolute position of the rotation. 
    I'm not using NI-Daqmx but NI-motion module. In NI-motion module, I use read encoder position.vi to read the position of the encoder. 
    However, the readings is in incremental form. I'm doing the feedback control, so I need the absolute position and velocity.
    Is there any functions or vi in the labview that can be used to transform the information of incremental encoder to the absolute one?
    Thanks
    Jun Wong

    Jun,
    1. The incremental encoder provides incremental position. After switching on the encoder power the encoder counts upwards or downwards. For the absolute position you need the index (R or I) signal. I don't know which type of incremental encoder you have but there should be A, B and (I or R) signals. The index signal should reset the counter to zero setting this way a pseudo-absolute-position (which is lost after the first switch of). Most of the motion controllers have a mode, just after switch on, in which the controller search for the Index. This mode is called Homing. 
    2. Velocity. It's very simple. You sample the position with a fix sampling clock. Let's say: 10kHz. The speed is: (Actual Position - Previous Position) / Sampling Period. Pos[n] = 10.000inc, Pos[n-1] = 9.900inc. Speed = 10.000 - 9.900 / (1/10kHz) = 1.000.000 inc/sec. If one increment is 0.0001mm then the speed is 100mm/sec.
    Paul 

  • WVC210 with Motion Detection does not stay in the correct position

    When I set the camera in a specific position (setting it as Home) and then I enable Motion Detection feature (setting area and sensibility using the home position); if i have set the "Disable Motion Detection while position is incorrect" with "Go to Motion Detection position if idle" option the camera will reset the tilt after the time set has expired.
    Is it a known bug (I have not found anything about that here)?
    Is there a way to set which is the motion detection position to be held?

    Hi M.Bordoni,
    I will pass this onto the wonderful folks at the Small Business Support Center to get their opinion.
    Just out of interest, I'm guessing you are utilities built within the camera to send a image somewhere ?
    Are you  using the  free Surveillance monitoring application to store captured video on your NAS/PC or server ?
    regards Dave

  • FAQ: Why isn't the anchor point centered in shape layers?

    [UPDATE: In After Effects CC (12.1) and later, you can center the anchor point within the visible content of a layer. ]
    Short answer
    Because in shape layers you can have two distinct kinds of anchor points - the anchor point in the main transform properties, as in any other layer type, and also an anchor point in the specific transform properties for each shape. When you create shapes by dragging with the shape tools, it's the anchor point for the shape group that will be centered. If you want to animate the whole layer from the main transform properties, you may need to shift the anchor point so it matches the visual center of your content.
    Long answer
    Shape layers are a unique type of content in After Effects.
    In fact, they introduce a bit of the object/group hierarchy model in Adobe Illustrator, rather than follow the typical layer model in After Effects.
    In other words, while you can definitely use them to quickly create a vector shape and then animate that shape as any other layer in After Effects, you also get the ability to create, edit and animate multiple shapes (each with its' own set of visual appearances) nested in a single shape layer.
    This allows all kinds of cool animation opportunities, but it also means that a shape layer is not your typical After Effects layer.
    So, when you create a shape by dragging with the shape tool, there actually is an anchor point that is perfectly centered - that's the anchor point in the transform property group for that shape group. If you double click a shape, you'll see a bounding box. This a visual representation of the transform properties for the shape group, and the anchor point specific to this group will default to the middle of that bounding box.
    However,  the main anchor point for the whole shape layer may not be centered relative to the shape content. This is normal behavior - Note that if After Effects tried to center the layer anchor point relative to the first shape group you create, it would be immediately wrong when you add more shape groups to the layer. Or when you animate shape groups around.
    Now, as many other things in After Effects, shape layers are designed to let you go as deep as you want. Ideally, you may want to try animating the transform properties for each shape group, since there's when things get really powerful. However, if you want to consider shape layers as a one shape per layer entity and animate in that way, you can of course do that. Bear in mind that you may need to center the anchor point yourself relative to the visual center of the content. If you don't do this, the shape layer's content will be offset from motion paths, or behave in a different way from what you may expect when animating scale or rotation.
    To do this, make sure you're not selecting a nested shape group but the shape layer itself, then you can do the following:
    Use the Pan Behind tool as with any other layer (this may not give what you want if you do it after creating a motion path, since it will modify position values).
    Drag the hot text for the Anchor Point property in the Timeline panel, as if it was a slider. You can then re-thread the content relative to the motion path. You can also achieve this by Option- (Mac OS) or Alt- (Windows) dragging with the Pan Behind tool.
    For more information on shape layers, see Drawing, painting and paths in After Effects Help.

    THANK YOU SO MUCH :-)
    I didn't knew this shortcut as I didn't have to use it anyway.
    but it's weird because all the other tools like even the circular gradient tool have their point visible.
    Anyway, I guess you can press H with any tools.
    Again, thank you, I should have ask it before. ;-)

Maybe you are looking for

  • Best way to spool DYNAMIC SQL query to file from PL/SQL

    Best way to spool DYNAMIC SQL query to file from PL/SQL [Package], not SqlPlus I'm looking for suggestions on how to create an output file (fixed width and comma delimited) from a SELECT that is dynamically built. Basically, I've got some tables that

  • Filter on Child attributes | Dispalying Parent and Child VO's in Single table

    Hi All, I am using JDev 12c. I have a requirement to show to both Parent(Department) attributes and Child(Employee) attributes in single table in jsf page, which I was successfully able to do. I followed the below approach to do. <af:column headerTex

  • Stored Procedure Result Sets in Reports 6.0

    Please help. I have successfully managed to write a PL/SQL procedure using the EXEC_SQL package in the Oracle to retrieve the return set from a SYBASE stored procedure (very similar to the example in the HELP documentation). I would like to incorpora

  • Home Page on Unlock?

    Does anyone know if the iPhone (upon Unlock) can access the Home page instead of last page/app visited? Thanks!   Mac OS X (10.4.10)  

  • Periodic Alert scheduler runs during system downtime

    Hi, I have implemented a Periodic Alert and have activated the Periodic Alert Scheduler. The issue is that the 'Periodic Alert Scheduler' will run at 12AM everyday and our Prod systems are down during this time for backup. Can this be scheduled to ru