Use styles to set positioning

Hello
Is it possible to use styles to set the positioning and size of a layer in indesign?
Thank you

Is this realted to your other question about repositioning master frames after they've been overridden?
If so, as Willi explained earlier, these are not a layer, simply overridden frames. He didn't go into a lot of detail about master frames behaviors, though, so maybe the following will help:
When you override a master object you lose the connection tot he master page for any attributes you subesequently edit. If you edit the text in the overridden frame, changes to text on the master page will not apply. If you override a master text frame before placing text, there will be no connection to any master text threading scheme. If you change the size or reposition the overridden frame, doing the same on the master page will have no effect on the overridden frame. And finally, master obejcts are always behind any live objects on the document page on any given layer, but if you use multiple layers you can have master objects on an upper layer that are in front of all objects on lower layers.

Similar Messages

  • [svn] 3148: You can now use CSS styles to set the default text format for TextView.

    Revision: 3148
    Author: [email protected]
    Date: 2008-09-08 15:01:15 -0700 (Mon, 08 Sep 2008)
    Log Message:
    You can now use CSS styles to set the default text format for TextView. It no longer has any formatting properties. It supports the entire set of Gumbo text format styles.
    SkinnableComponent and Group now also support all these styles. However, skins such as ButtonSkin, TextInputSkin, and TextAreaSkin continue for now to specify instance styles on their TextBox, TextGraphic, and TextView, in order to give them a Gumbo look rather than a Halo look. So if you try setting, for example, the fontSize on the Application, it doesn't yet affect the text format of a Button, TextInput, TextArea, etc. unless you remove the instance style in the skin.
    Reviewer: Glenn
    Bugs: -
    QA: Lots of new stuff to test!
    Doc: No
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextArea.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextInput.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextView.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/Group.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/SkinnableComponent.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/TextBox.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/TextGraphic.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/TextGraphicEle ment.as

    Nevermind guys - I did it using the 'rb_on.selected' command on the "on" radio button if the .txt file variable was "on", else the "off" radio button is selected.
    Thanks for taking a look though!
    Shaun

  • How to specify different horizontal restore & collapse icon for af|panelSplitter using Skinning based on Style class or position?

    Hello,
    I am trying to provide different horizontal restore & collapse icon for af|panelSplitter using Skinning based on Style class or position. I have 2 af:panelSplitter with orientation="horizontal" - One with positionedFromEnd="true" one with positionedFromEnd="false". I want to specify the horizontal collapse and restore icon using Skinning. I want specify different icons based on positionedFromEnd. When I specify icons they are appearing for both splitters. I gave 2 different styleClass to these splitter but it is not taking them in account,
    JSPX Page -
    <af:panelSplitter orientation="horizontal" splitterPosition="196" positionedFromEnd="false" id="pnlSplitterLeft" collapsed="false" styleClass="panelSplitterLeftClass">
      <f:facet name="first">
      <!-- Content of First Facets -->
      </f:facet>
      <f:facet name="second">
      <af:panelSplitter orientation="horizontal" splitterPosition="196" positionedFromEnd="true" id="pnlSplitterRight" collapsed="false" styleClass="panelSplitterRighClass">
      <f:facet name="first">
      <!-- Content of First Facets -->
      </f:facet>
      <f:facet name="second">
      <!-- Content of First Facets -->
      </f:facet>
      </af:panelSplitter>
      </f:facet>
    </af:panelSplitter>
    CSS Skinn
    af|panelSplitter::horizontal-restore-icon {
        width: 10px;
        height: 55px ;
        content : url("/skins/AppSkin/Left_Open.gif");
    af|panelSplitter::horizontal-collapse-icon {
        width: 10px;
        height: 55px ;
        content : url("/skins/AppSkin/Left_Close.gif");
    af|panelSplitter.panelSplitterLeftClass::horizontal-restore-icon {
        width: 10px;
        height: 55px ;
        content : url("/skins/AppSkin/Left_Open.gif");
    af|panelSplitter.panelSplitterLeftClass::horizontal-collapse-icon {
        width: 10px;
        height: 55px ;
        content : url("/skins/AppSkin/Left_Close.gif");
    af|panelSplitter.panelSplitterRighClass::horizontal-restore-icon {
        width: 10px;
        height: 55px ;
        content : url("/skins/AppSkin/Right_Open.gif");
    af|panelSplitter.panelSplitterRighClass::horizontal-collapse-icon {
        width: 10px;
        height: 55px ;
        content : url("/skins/AppSkin/Right_Close.gif");
    It is always showing Left_Open.gif and Left_Close.gif for both splitters. But I want different image.
    How to specify different horizontal restore & collapse icon for af|panelSplitter using Skinning based on Style class or position?
    - Sujay

    CSS attribute selectors are what you are talking about, but binding the selector with EL is a more-common approach. Using selectors like this require you to ensure browser support.
    af|panelSplitter.panelSplitterRighClass::horizontal-collapse-icon [positionedFromEnd=true]

  • Can you help me understand the use of the word POSITION in TR and CFM?

    Hi,
    I am trying to have a view of typical BI reports in TR and TM/CFM so through my research I came to the following link:.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/62/08193c38f98e1ce10000000a11405a/frameset.htm
    My problem on this link and other postings on this site seem to be the same. Can you help me understand the use of the word POSITIONS in these context:
    1. Our client has asked for financial transaction reports in BW, such as position of Borrowings, Investments and Hedge Operations (TM data).
    2. I have a requirement on, some reports related to Money Market (Fixed Term Deposits, Deposits at Notice) something on FSCM-Treasury and Risk Manager. These reports will be similar to that of Loans, i.e. Position statement, flow statement, etc.
    3. The set of position values for a single position or a limited amount of positions can be reported by transactions TPM12 and TPM13 in R3.
    4. 0CFM_C10 (Financial Positions Cube)
    Do you have some simple report outputs to help clarify how the word POSITION is used in such environments?
    Thanks
    Edited by: AmandaBaah on Feb 15, 2010 4:39 PM

    If I future buy 10 shares in company at £1 per share - at the end of the day my potential value is £10
    The next day the shares drop tp £0.9 per share - I have a negative position - my shares are only worth £9
    I haven;t bought them yet - but I have a negative position - ie if things stayed as they are - I am going to realise (ie end up with)  a loss
    Now you can use this for loans and foreign exchange banks as well...

  • Questions about using Styles Window for formatting a book in Apple Works.

    Help says "You can create your own styles in any document type." Not clear on how to do that.
    I wish to have one Style or group of Styles associated with one document of say 500 pages for a book. Each chapter Heading. as a single column layout, is separated by Section Breaks from previous and following text in 2 column layout.
    Question 1. How do I make Styles window settings (Edit/Done) specific for this entire document? Can I edit settings in Styles window and have them remain specific and locked to this particular document? Or are the Styles window settings constant across all documents?
    Question 2. (If Styles window settings are not specific and locked to this document) Do I need to make a NEW Style for each purpose within the document, as in Book Heading, Book Subheading, Book Body, Book special paragraph style, and etc.
    Question 3. When importing multiple sections of the work (by copy and paste) from other AW documents how can I have the imported text follow the book’s Style settings (and vice versa how to keep tab settings that are specific in some areas). Sometimes the imported work refuses to conform to the Book document’s style say line spacing for instance.
    Thank you
    Hilary Fish
    iBook G4 Mac OS X (10.4.8) AppleWorks 6.2.9

    Hi Hilary,
    I haven't used styles enough to give definitive answers to your questions, but I'm sure others will join in and correct any errors in what follows.
    A "Style" is essentially a set of paragraph level format settings that can be collectively applied to a paragraph or contiguous set of paragraphs as a set, rather than having to apply each attribute individually. Once a style is applied to various parts of a document, changes made to the style specification will apply to every part of the document to which that style has been applied.
    AppleWorks also includes two other types of Styles—Outline styles (Diamond, Harvard and Legal), used to identify hierarchical levels of paragraphs, and Table styles, used to format tables.
    Question 1: From the Help article "Using Styles":
    You can copy the collection of all the styles available in a document and make them available in another document. This is called exporting and importing a stylesheet.
    I read this as saying that styles you create are specific to the document in which they are created, but may be exported to other documents. "Other documents" would includes documents saved as templates, which could be used to create the various sections of a book.
    Question 2:
    As the set of styles is specific to the document it is created in (or into which it is imported), you can probably leave "Book " off the names of the styles (but may decide that leaving it on makes it easier to know what the styles are for). You will need to use an existing style or create a new one for each purpose within the document.
    Question 3:
    Copy copies the text AND formatting of the selected material.
    Paste pastes the text AND formatting of the selected material.
    Paste also inserts the pasted material into the target document at the insertion point. All of the pasted material goes into the same Section. If the pasted material includes a section break, then a new section will be created in the target document.
    If you export the set of styles from the master document and apply them to the parts of the source document before transferring the material to the master document, I suspect the formatting will be carried over.
    Another possibility is to leave the source document with no formatting at all beyond paragraph breaks, and to apply the formatting (styles) after transferring the text.
    Regards,
    Barry

  • Can you change the units used for size and position in layout editor?

    Hello,
    In Aperture 3.4, does anyone know if you can change the units used for size and position in layout editor?  The page is set in inches, but the image size and position are given in centimetres and I would prefer to work all in inches to create custom layouts.  I can't see any way to change this.  If anyone knows how it would be much appreciated.  Thanks!

    Aperture uses the unit settings defined in the System Preferences.  Set the "Measurement Units" in the "Region" tab of the "Language & Text" preferences to "US"; the Aperture will display the Size & Position in inches, if it is the "Book" layout manager you are asking about.
    Merry Christmas!
    Léonie

  • How to use AppleScript to set "character fill color" in Pages 5.2?

    For Pages 5.2 on OSX 10.9.3, what is the correct applescript for changing the "character fill" of text in pages. 
    If you highlight text, you do this via your mouse in the inspector by clicking "style," "advanced option (the gear wheel to the right of bold, italics, and underline), "character fill color (clicking on the multi-color circle, not the dropdown menu), and then choosing a color that comes up in the "colors" dialogue box.
    I've looked all over and cannot find how to use applescript to set the character fill color in pages. 
    In some examples (not directly related) I see "character fill" used. 
    In others, I see "colorfill." 
    Basically, I want to use applescript, embedded in a keyboard maestro macro, to change the background color of the text (not the text color itself) to particular colors. 
    Given the changes and updates to Pages this year, and to applescript, what's the easy way to do this?
    Thanks!
    Chuck

    Pages v5.2 still does not include selection-object, or character background color entries in its AppleScript dictionary, as does Pages ’09. Indirectly, using System Events, you can get the text selection in Pages v5.2, but then you can do nothing to change the selection. No assurances as to if or when Apple will mature the AppleScript dictionary support for Pages v5 series.

  • How to use Style in LVC_S_LAYO (ALV Grid Layout)

    Hi Experts,
    I am trying to set field 'STYLEFNAME' of LVC_S_LAYO while setting up layout for ALV GRID using 'SET_TABLE_FOR_FIRST_DISPLAY' . I'm passing the field name contain the styles for each row. I am setting it in the same way we set 'INFO_FNAME' by passing color field name for coloring the rows. Styles are available in include <CL_ALV_CONTROL> .
    Please note styles are working properly when I am setting it at field cat level by setting fieldcat field LVC_S_FCAT-STYLE. But set sets style for entire column. I want to set style for few rows. I want to use style 'ALV_STYLE_BUTTON' .
    Please advice how to do this.
    Regards,
    Sushant.

    I'll try to understand your question.
    You have a 'new-style' alv and want to show some fields as pushbutton.
    To make a cell to be displayed as a pushbutton, we have two steps.
    Firstly, insert a new inner table of type u201CLVC_T_STYLu201D into your list data table.
    *--- Internal table holding list data
    DATA BEGIN OF gt_list OCCURS 0 .
    INCLUDE STRUCTURE SFLIGHT .
    DATA rowcolor(4) TYPE c .
    DATA cellcolors TYPE lvc_t_scol .
    DATA carrid_handle TYPE int4 .
    DATA connid_handle TYPE int4 .
    DATA cellstyles TYPE lvc_t_styl .
    DATA END OF gt_list .
    Fill this inner table for each field to be displayed as pushbutton.
    DATA ls_style TYPE lvc_s_styl .
    READ TABLE gt_list INDEX 7 .
    ls_style-fieldname = 'SEATSMAX' .
    ls_style-style = cl_gui_alv_grid=>mc_style_button .
    APPEND ls_style TO gt_list-cellstyles .
    MODIFY gt_list INDEX 7 .
    As usual, we state our list data table field related with styles in the layout structure at field u2018STYLEFNAMEu2019.
    e.g. ps_layout-stylefname = 'CELLSTYLES' .
    Button click event is handled like hotspot click via the event u201Cbutton_clicku201D through its parameters u201Ces_col_idu201D and u201Ces_row_nou201D which contain the address of the clicked pushbutton cell.

  • Using Numbers, I set up a spreadsheet grid but it disappears as soon as I click anywhere. How can I keep the grid?

    Using Numbers, I set up a spreadsheet grid but it disappears as soon as I click anywhere. How can I keep the grid?
    I have:    iMac with OS 10.10.3;   Numbers 08 ver 1.0.3

    Hi Bernard,
    This may help. Numbers tables can have Grid Lines (Format Panel > Table > Grid Lines)...
    ... and Cell Borders (to change all cells, select the whole table by clicking on the "bullseye" top left) then Format Panel > Cell > Border > select a Border Pattern and Style
    1 pt Borders (my preferred default):
    They don't disappear when I click away. Also, the borders show up well when I post a screen shot to this forum .
    Regards,
    Ian.

  • Use of Font Sets in CHM Navigation Pane

    Hi everyone.
    One of our product suites is going to be published for the first time using WebHelp Pro as its primary output but with a CHM file as a backup in case the client's internet connection fails or isn't present.
    To cut a long story short we have setup a font set to use with our Webhelp Pro output that allows for both Windows and Apple Mac fonts. We have applied this to all our styles and are looking at other places where it can be used (e.g. skins). One of these is the Navigation Pane to be used in the CHM file. It seems like you can not use a font set when defining the font characteristics of the TOC and Index in the Advanced options of the Microsoft HTML Help single source layout.
    I know this is not really a problem as CHM files are only designed to be run on Windows PCs and the Windows fonts we are using as part of the font set are 99.9% percent likely to be installed. However I am more interested in how the fonts inside the navigation pane works. The fact that you can't specify a font set (i've checked this in RH8 and RHX5) would seem to indicate that the font setting is part of the compiled file, rendering a font set unnecessary in this instance. Either that or it is an oversight.
    Read the RoboColum(n).

    Hi Colum
    I stand to be corrected on this. Perhaps Pete Lees will pop in to confirm or deny.
    I don't believe Font Sets are even necessary for .CHM files. As they are Windows only, I'm not sure Microsoft saw any need to provide for using them.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Set Position of Symbols

    Hi all. I'm using Flash 8 and have created some slideshows.
    I've made symbols to navigate between the slides, and I want them
    to to be in the exact same position on each slide--or at least
    appear to be in the exact same position from slide to slide. I've
    used the Info panel to specify a set position, and have even locked
    them once set. They still jump around from slide to slide, and I
    don't want the user to have to move the mouse chasing them. Any
    ideas how to stop this? I've turned snapping off, as having it on
    seemed to make them move around more. And I can set the position
    where I want, save it, publish it, and when I check again, the
    symbol has drifted from the position I stipulated.
    Thanks,
    Chris

    Thanks for your help. It confirms what I had already
    suspected. I had started off placing guidelines to mark where I
    wanted the symbols and decided that the reason I ran into this
    issue is because they were not aligned at the exact same spot,
    slide to slide. That's when I turned to using the Info/exact
    positioning. I'm reasonably sure I can get the y-axis lined up, but
    it's the x-axis that most concerns me. Thanks again. I really
    appreciate your time.
    Chris

  • My daughter is using old round airport at college. I set it up without protection. I have an old iBook and I understand I can use that to set the passsword. But I can't seem to figure out where I can set the it?

    My daughter is using old round airport at college. I set it up originally without password protection because my macbook was too new to recognize the old style airport. I have an old iBook and I understand I can use that to set the passsword. But I can't seem to figure out even using the  Airport admin how to establish a password.  Any suggestions?  Thanks.

    If it even has that built-in, you would configure it using Airport Utility. It would likely be in the Wireless configuration for first turning on security and then setting the required password. For Macs you should use WPA Personal if the option is present.

  • [Fluxbox] styles still setting the background

    Hi, I'm using arch up-to-date...now I'm trying Fluxbox, this are my files:
    1) startup:
    numlockx on &
    wicd-client --tray &
    thunar --daemon &
    xscreensaver -no-splash &
    compton --config $HOME/.config/compton.conf -b &
    exec fluxbox
    2) init:
    session.screen0.titlebar.left: Stick
    session.screen0.titlebar.right: Minimize Maximize Close
    session.screen0.clientMenu.usePixmap: true
    session.screen0.toolbar.alpha: 192
    session.screen0.toolbar.widthPercent: 100
    session.screen0.toolbar.onhead: 1
    session.screen0.toolbar.autoHide: false
    session.screen0.toolbar.height: 0
    session.screen0.toolbar.placement: BottomCenter
    session.screen0.toolbar.visible: true
    session.screen0.toolbar.layer: Dock
    session.screen0.toolbar.tools: RootMenu, prevworkspace, workspacename, nextworkspace, iconbar, systemtray, clock
    session.screen0.toolbar.maxOver: false
    session.screen0.tabs.usePixmap: true
    session.screen0.tabs.maxOver: false
    session.screen0.tabs.intitlebar: true
    session.screen0.tab.placement: TopLeft
    session.screen0.tab.width: 64
    session.screen0.window.focus.alpha: 255
    session.screen0.window.unfocus.alpha: 255
    session.screen0.slit.acceptKdeDockapps: true
    session.screen0.slit.alpha: 255
    session.screen0.slit.onhead: 0
    session.screen0.slit.placement: RightBottom
    session.screen0.slit.autoHide: false
    session.screen0.slit.layer: Dock
    session.screen0.slit.maxOver: false
    session.screen0.menu.alpha: 226
    session.screen0.iconbar.alignment: Relative
    session.screen0.iconbar.mode: {static groups}
    session.screen0.iconbar.usePixmap: true
    session.screen0.iconbar.iconTextPadding: 10
    session.screen0.iconbar.iconWidth: 128
    session.screen0.windowPlacement: RowMinOverlapPlacement
    session.screen0.autoRaise: true
    session.screen0.workspacewarping: false
    session.screen0.strftimeFormat: %l:%M
    session.screen0.defaultDeco: NORMAL
    session.screen0.colPlacementDirection: TopToBottom
    session.screen0.menuDelay: 200
    session.screen0.edgeSnapThreshold: 10
    session.screen0.clickRaises: true
    session.screen0.tabFocusModel: ClickToTabFocus
    session.screen0.focusNewWindows: true
    session.screen0.workspaces: 4
    session.screen0.noFocusWhileTypingDelay: 0
    session.screen0.fullMaximization: false
    session.screen0.rowPlacementDirection: LeftToRight
    session.screen0.maxDisableMove: false
    session.screen0.maxIgnoreIncrement: true
    session.screen0.workspaceNames: Workspace 1,Workspace 2,Workspace 3,Workspace 4,
    session.screen0.focusModel: ClickFocus
    session.screen0.tooltipDelay: 500
    session.screen0.showwindowposition: false
    session.screen0.windowMenu: /home/joel/.fluxbox/windowmenu
    session.screen0.allowRemoteActions: false
    session.screen0.focusSameHead: false
    session.screen0.maxDisableResize: false
    session.screen0.opaqueMove: true
    session.autoRaiseDelay: 250
    session.configVersion: 13
    session.styleFile: /usr/share/fluxbox/styles/Results
    session.keyFile: ~/.fluxbox/keys
    session.colorsPerChannel: 4
    session.tabsAttachArea: Window
    session.appsFile: /home/joel/.fluxbox/apps
    session.forcePseudoTransparency: false
    session.tabPadding: 0
    session.doubleClickInterval: 250
    session.slitlistFile: /home/joel/.fluxbox/slitlist
    session.ignoreBorder: false
    session.cacheMax: 200
    session.menuFile: ~/.fluxbox/menu
    session.styleOverlay: /home/joel/.fluxbox/overlay
    session.cacheLife: 5
    session.screen0.rootCommand: ~/.fehbg
    3) overlay
    ! The following line will prevent styles from setting the background.
    background: none
    file .fehbg is marked as executable and does exist
    feh --bg-scale '/media/Lobo/Media/1280X1024/Arch/1280x1024_hd_wallpaper_archlinux.png'
    the above everytime fluxbox is loaded, it uses the style's background...any ideas?
    Last edited by Joel (2014-12-18 19:47:40)

    Look at man fbsetbg
    You should also have a ~/.fluxbox/lastwallpaper that looks something like
    $full $full|/home/joel/.fluxbox/MyPaper.jpg||:0.0

  • Setting position of desktop window

    Hello,
    I'm probably dreaming, but seems to me I've done this before; no success now.
    This works:
    Tell app "Finder"
    open startup disk
    set position of container window of startup disk to {50,50}
    end tell
    This doesn't:
    Tell app "Finder"
    open file "PT.rtf" of startup disk --this opens properly
    set position of (?) to {50,50} --*
    end tell
    * The goal is to position the window of "PT.rtf"; have tried several things for ?, including a window ID approach, but always get error
    An unrelated (I think) TextEdit question:
    I've created a formatted TextEdit file with AS, setting font characteristics, bounds, etc. -- and then saved it to be called by another script at another time (that works). Is there any way to edit the properties of that file without editing and rerunning the script that originally created it? For example, just changing the bounds? If there is, I haven't found it.
    Thanks

    > The primary question had to do with setting the POSITION (not the bounds) of a TextEdit window on the desktop. This seems to me to be a Finder task
    Why do you think the Finder has anything to do with what another application does with its windows? It sounds like you're confusing desktop with screen. The Finder manages the desktop (disk icons, files on the desktop, etc.), but has no control over what any other application does with its windows.
    If you want to control ApplicationX's windows then you need to tell ApplicationX what to do with them, not the Finder.
    If I dissect your script:
    Tell app "Finder"
    now we're talking to the Finder
    open file "PT.rtf" of startup disk
    This opens the file, as you expect. The Finder uses the system directory to work out which application should handle .rtf files.
    set position of container window of file "PT.rtf" of startup disk to {50,50}
    'container' is a Finder object that relates to the item (folder, disk, etc.) that the target file is in. In this case the 'container' of the PT.rtf file is 'startup disk'
    --or of "window 1 of app "TextEdit"
    This is getting closer, but the Finder can't manipulate other application's objects
    Kel's earlier suggestion is the right approach - once you've opened the document (which, incidentally, doesn't need the Finder at all), you tell TextEdit to set the window position as required. However, the kicker is that you didn't look at TextEdit's dictionary - if you did you'd notice that there isn't any position property for a window in TextEdit - you have to use bounds:
    <pre class=command>tell application "Finder"
    open file "PT.rtf" of startup disk
    end tell
    tell application "TextEdit"
    set {l, t, r, b} to bounds of window 1
    set bounds of window 1 to {50, 50, 50 + (r - l), 50 + (b - t)}
    end tell</pre>
    To explain, 'bounds' represents the four corners of the window - left, top, right, bottom. To reposition the window you provide four new coordinates. In my example, I set the top and left coordinates to 50 and calculate new bottom/right coordinates by adding 50 to the current window height (b-t) and width (r-l).
    Incidentally, this is why I recommend not using the Finder to open the document. While it may be true that on your machine, today, TextEdit is the default application for .rtf files, it might not be true tomorrow, or on someone else's machine - you could change to SuperDuperText.app as your preferred .rtf application, so now you're asking the Finder to open the document (which will use SuperDuperText.app), then telling TextEdit to set the window bounds, even though it has no idea that you've just opened a document in some other application.
    A better approach is to do it all in one tell block, targetting the specific application you want:
    <pre class=command>tell application "TextEdit"
    open file (path to startup disk as text) & "PT.rtf"
    set {l, t, r, b} to bounds of window 1
    set bounds of window 1 to {50, 50, 50 + (r - l), 50 + (b - t)}
    end tell</pre>
    >When the script which created the TextEdit document is run, the window position does get set properly, but in accordance with the bounds. When the document is saved and then opened, however, the positioning appears random (although the bounds remain correct).
    This may be the crux of the problem - TextEdit documents do not save any position information. Because plain text and .rtf documents are expected to be portable (cross-platform), they don't store any position information since it may not be relevant to the target application. In this case, TextEdit is using its own algoritm to work out where to open the window, typically based on some offset from the last opened window.
    In short there just isn't any way to store a window position in a plain text document.

  • Message uses a character set that is not supported by the internet service

    Does any one have any advice on how to fix this problem?
    E-mails sent from my iphone 3G periodically arrive in an unreadable form at the recipient. The body of the e-mail has been replaced with the message "This message uses a character set that is not supported by the internet service...." The problem e-mails also include an attachment that contains an unformatted text file containing the original message surrounded by what appears to be lots of formatting data that is displayed as gibberish.
    This occurs sometimes, but not always, even with the same recipients. I am sending e-mail through a G-mail account that is configured on the iphone using IMAP. I have tried the gmail account to use the two available formatting options for mail, but neither fixes the problem.
    I have also upgraded to 2.01 and restored a few times without impact.

    Hi,
    I got somewhat similar problem with special charecters(German umlaud �,�,�..).
    I create a file with java having special charecters in it. Now if I open this file I am able to view the special charecters in it.But If I attach this file send it using following code then receiver can not see the umlaud charecters in it.They get replaced by _ or ?
    MimeBodyPart mbp2 = new MimeBodyPart();
    FileDataSource fds = new FileDataSource(fileName);
    mbp2.setDataHandler(new DataHandler(fds));
    mbp2.setFileName(output.getName());
    Multipart mp = new MimeMultipart();
    mp.addBodyPart(mbp2);
    msg.setContent(mp);
    Transport.send(msg);
    From you message it looks like you are able to send the mail attachment correctly(by preserving special charecters).
    Can you tell me what might be wrong in my code.
    I appriciate your efforts in advance.
    Prasad

Maybe you are looking for

  • Having a problem syncing music and I-tunes...please help!!!

    Hello, I am new to this and will try to explain it best as I can. From what I understand about syncing, the music on my Iphone will sync to the music library once I plug my phone up. It does this automatically. That is fine and what I want it to do.

  • How do I stop the endless requests to continue a trial of a product I have been paying for for ages?

    I have had my fill of this problem, and I am now at my wits' end. If there were any alternatives to Adobe, I'd be switching. I paid over $1000 for CS5 nearly 3 years ago, and when I upgraded to CS6, the subscription service was all that was available

  • Script for calculations using checkboxes in PDF form

    I have 7 checkboxes, at least one must be checked, but the user may select all. Each one has a value of 800, therefore selecting all seven would give a total of (800 + 800 + 800 + 800 + 800 + 800 + 800). Selecting only two: (800 + 800), etc. However,

  • Calculate a running total

    I have a form with a series of questions that I need to add up to 100. They will be putting in whole numbers and I need the total to not exceed 100. Is there a way to do that in a fillable form pdf?

  • Generic Icons?

    I have noticed that some of my icons have turned generic. Is there a way in Leopard to rebuild the desktop and restore the icons?