How to vertically align Prompts on the same line in OBIEE

Can we vertically align "Product Line (Owned)" and "Product Line(Not Owned)" in this Prompt on same vertical line?
so that "Product Line(Owned)" can start from the same vertical line where "Product Line(Not Owned)" starts
we tried few options by adding a text element in dashboard and playing with td.GFPFilter
but couldn't find a solution to it.
we were looking into this thread
Dashboard Prompt Alignment
Currently we have it like this, alignment is not same due to "Not Owned" text being longer than "Owned" text
"Product Pillar (Owned)"--------------"Product Line (Owned)"---------------------"Product (Owned)"
"Product Pillar (Not Owned)"--------------"Product Line (Not Owned)"---------------"Product (Not Owned)"
we want to have it like this,
"Product Pillar (Owned)"--------------"Product Line (Owned)"-------------"Product (Owned)"
"Product Pillar (Not Owned)"---------"Product Line (Not Owned)"--------"Product (Not Owned)"

Hi Rupak,
I just tried it and it the solution is pretty easy. Just add a text-box to your dashboard holding the following:
<style>td.GFPFilter {width: 200px}</style>You need to check "Contains HTML markup"
Regards,
Stijn

Similar Messages

  • How to get two parameters in the same line of selection screen?

    hello
    i need to get my selection csreen like bellow.
    r1 radiobuttion  -some space --p1 parameter
    i should not get the parameter in the next line of  radiobuttion.
    how to get two parameters in the same line of selection screen?

    hi....
    modify the following code
    it will work
    SELECTION-SCREEN BEGIN OF BLOCK SL1 WITH FRAME TITLE TEXT-003.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 10(15) TEXT-001
                     FOR FIELD P1.
    SELECTION-SCREEN POSITION POS_LOW.
    PARAMETERS : P1 TYPE   C USER-COMMAND R2 RADIOBUTTON GROUP R2 DEFAULT 'X',
      P2 TYPE SCARR-CARRNAME,
      P3 TYPE CHAR1 RADIOBUTTON GROUP R2.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK SL1.

  • How to write two item in the same line?

    In the smartforms,how to write two item in the same line?
    eg
    1   *************                                    2  *****************
    3  **************                                   4  ******************
    5  ***************
    Anyone got any idea to do this.
    Thanks in advance

    Hi,
    In the smartform the main windows is 20cm.I use the table output my data.Because the output is two item in same line,I define two rows in the table line type.
    Question:
    Should I define the table width 20cm?
    In the main area of table , should I define two folders and each of folder include a line? The second item I had already defined as Append Directly,but the item 1 and item 2 don't in the same line.
    Regards

  • How do I put text on the same line in CSS?

    Ok, I am placed three images on the page, and I like to have before, during, after underneath each images, and on the same line, I did the text-align:right and all that, but it keeps on putting the text on line below. Here is my CSS and html.Thanks!
    #small-box-container #bottom1{
        width: 600px;
        height: 130px;
        background-image:  url(../../../graphic%20design/website_sijiewang1/sijie/images/deck_before_sm.jpg);
        background-repeat: no-repeat;
        margin-top: 90px;
        margin-left: 50px;
    #textbox 1 {
        font-size: 14px;
        font-family: Arial, Helvetica, sans-serif;
        width: 200px;
        height: 100px;
    #small-box-container #bottom2{
        width: 439px;
        height: 130px;
        background-image: url(../../../graphic%20design/website_sijiewang1/sijie/images/deck_during_sm.jpg);
        background-repeat: no-repeat;
        margin-left: 180px;
    #small-box-container #bottom3{
        width: 439px;
        height: 130px;
        background-image: url(../../../graphic%20design/website_sijiewang1/sijie/images/deck_after_sm.jpg);
        background-repeat: no-repeat;
        margin-left: 180px;
    <div id="bottom1">
                     <div id="bottom2"> 
                    <div id="bottom3"></div>
                    <div id="textbox1"div style="clear: both;"></div>
                    <p style="text-align:left">Before</p>
                      <p style="text-align:center">During</p>
                      <p style="text-align:right">After</p> </div>
    </div>

    I might have mis-read this but do you want the three images in a row, next to one another? Then the text lined up under each image?
    If so the code below will do this. Just one point the images are wide 600px plus 2 x 439px.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    <style type="text/css">
    #small-box-container {
    width: 1478px;
    #small-box-container p {
    margin: 0;
    padding: 135px 0 0 0;
    #small-box-container #bottom1{
    float: left;
        width: 600px;
        height: 130px;
        background-image:  url(../../../graphic%20design/website_sijiewang1/sijie/images/deck_be fore_sm.jpg);
        background-repeat: no-repeat;
    #small-box-container #bottom2{
    float: left;
        width: 439px;
        height: 130px;
        background-image: url(../../../graphic%20design/website_sijiewang1/sijie/images/deck_du ring_sm.jpg);
        background-repeat: no-repeat;
    #small-box-container #bottom3{
    float: left;
        width: 439px;
        height: 130px;
        background-image: url(../../../graphic%20design/website_sijiewang1/sijie/images/deck_af ter_sm.jpg);
        background-repeat: no-repeat;
    }</style>
    </head>
    <body>
    <div id="small-box-container">
    <div id="bottom1">
    <p>Before</p>
    </div>
    <div id="bottom2">
    <p>During</p>
    </div>
    <div id="bottom3">
    <p>After</p>
    </div>
    </div> <!-- end small-box-container -->
    </body>
    </html>

  • SAPScript: How to combine two text in the same line?

    Dear Gurus,
    I have a case to combine hard code text and long text in the same line.
    For example, i need to display following line:
    'Project name:' <long_text>
    How to do it in SAPScript?
    Can we do it with following code?
    /: 'Project name: ' INCLUDE Z_TEST OBJECT TEXT ID ST LANGUAGE &NAST-SPRAS&
    Thanks & Regards,
    Ari

    Hi,
        You can achieve that by this method,
    Goto Tcode SO10
    Give the Object Name 'Z_TEST' & Id
    See the Paragraph format for the Text,  you can do it from Menu
    Format>Line . If it is /: change it to =.  Save
    Now in the SAPScript Text editor in which you want to print
    P1 'Project Name :'
    /: INCLUDE Z_TEST OBJECT TEXT ID ST LANGUAGE &NAST-SPRAS&
    the output will be
    Project name : Abc xyz
    Regards
    Bala Krishna.
    Edited by: Bala Krishna on Oct 17, 2008 7:11 PM

  • How to import multiple elements into the same line in structure Framemaker (i.e. no carriage return between elements).

    I have a successful import process going now (DTD, EDD, ReadWriteRules, and Template) that imports a number of elements, but each onto a separate line. I now need to import three elements in a row on a single line. How do I set up to do that?

    Dear Wild,
    A container element a structured document can either be a paragraph element, that contains one or more complete FrameMaker paragraphs (elements corresponding to chapters, titles, and list items, for instance, are typically paragraph elements), or a text range element, with content that comprises part of a paragraph. An EDD doesn't need to identify paragraph elements since containers are paragraphs by default. You make an element a text range with a text format rule that specifies TextRangeFormatting.
    In your case, if you have a wrapper element that contains the three elements you want to appear on a single line, in the EDD, add a text format rule for the three inline elements that specifies TextRangeFormatting; specify the formatting of the overall paragraph in the element definition for the wrapper. If you don't have a wrapper, though, the overall paragraph will inherit formatting from whatever the containing element is; the containing element may be the document's root element or a major division such as a chapter or section. If that element's formatting is not what you want here, you can leave the "inline" elements as separate paragraph so that you can specify their formatting, but make the first two run-in heads (which is done in the Placement property of the pagination properties).
    --Lynne

  • How to align output formatted and output text in the same line?

    Hi All,
    I want an output formatted label and a text on the same line,. I've surrounded these components wth a panel form layout and they automatically align one below the other. how do I kepe them in the same line?
    Thanks.

    Try as per the code snippet below:
    <af:document title="TestPage.jspx" id="d1">
    <af:messages id="m1" inline="true"/>
    <af:form id="f1">
    *<af:panelGroupLayout id="pgl1" layout="horizontal">*
    *<af:outputFormatted value="outputFormatted1" id="of1"/>*
    *<h:outputText value="outputText1" id="ot1"/>*
    *</af:panelGroupLayout>*
    </af:form>
    </af:document>
    Thanks,
    Navaneeth

  • How can I keep left- and right-aligned paragraphs together on the same line?

    I am currently trying to typeset a menu. Basically, I want the Dish Title to be left-aligned and the Price right-aligned — but on the same line. I can achieve the effect by typing in a shift+tab after the Dish Title text and then inserting the price, but I would rather have two distinct paragraphs styles, so that I can adjust them globally to see what looks good. I can achieve the effect by adjusting the Price character baseline of the price and moving it up, but then if I need to make any price changes, I find it a pain trying to get the cursor in the right place in situations where a baseline is substantially altered.
    Back in the old days (in Ventura!!), I could just remove the line break after the "Dish Title" style and the "Price" would move up to the same line, but I can't seem to be able to do this in CS6.
    Any ideas?

    Please show some examples. It's easier to help you.
    If I understand right, use a paragraph style with a right aligned tab and nested styles and grep styles. That's extremly flexible.
    Have fun

  • Adding Multiple Questions On The Same Line

    Hi,
    I am creating my first form from scratch and would like to know how to add multiple quoestions on the same line.  for example
    Home Phone                 Work Phone           Cell Phone                  Email Address
    I know it sounds pretty basic but I seem to be stuck
    Thanks

    Hi,
    Please refer to the following post:
    http://forums.adobe.com/message/5665660
    Regards,
    Brian

  • How can I write left and right in the same line of a richtextbox?

    I want to write, in the same line, text with a right aligment and other with left aligment. How can I do it?
    thanks

    I want to write, in the same line, text with a right aligment and other with left aligment. How can I do it?
    thanks
    As
    Viorel_ says "Perhaps there are other much easier solutions. For example, create two
    RichTextBoxes with no borders (if you only need two columns of text)" but the real issue would be saving the info in the RichTextBox's (RTB's) RTF or Text to two different RTF or TextFiles. Although I suppose if it was just going to
    a TextFile then you could somehow use a delimited text file so each same line number of each RTB is appended to the same line and delimited. That way you could probably load a split array with each line from the text file splitting on the delimeter per line
    and providing RTB1 with index 0 of the split array and RTB2 with index 1 of the split array. I'm not going to try that.
    This is some leftover code from a long time ago. It has three RTB's. RTB1 is there I suppose because the thread asking for this code wanted it. RTB2 is borderless as well as RTB3. The Aqua control in the top image below is the Panel used to cover RTB2's
    scrollbar. So RTB3's scrollbar is used to scroll both controls.
    I forgot to test if I typed past the scroll position in RTB2 if both would scroll as maybe RTB3 would not since it would not have anything to scroll to I suppose.
    Maybe this code can help or maybe not. The bottom two images are the app running and displaying nothing scrolled in RTB2 and RTB3 then the scroll used in the bottom image.
    Disregard the commented out code in the code below. It was there so I left it there. I suppose you should delete it. Also I didn't set the RTB's so one was left aligned and the other right aligned. I believe the Panel becomes a control in RTB2's controls
    when it is moved to cover RTB2's vertical scrollbar but don't remember although that seems the case since both RTB2 and RTB3 are brought to front so if the Panel was not one of RTB2's controls I would think it would be behind RTB2 and RTB2's vertical scrollbar
    would display but don't remember now. In fact I don't really remember how that part works. :)
    Option Strict On
    Public Class Form1
    Declare Function SendMessage Lib "user32.dll" Alias "SendMessageW" (ByVal hWnd As IntPtr, ByVal msg As Integer, ByVal wParam As Integer, ByRef lParam As Point) As Integer
    Const WM_USER As Integer = &H400
    Const EM_GETSCROLLPOS As Integer = WM_USER + 221
    Const EM_SETSCROLLPOS As Integer = WM_USER + 222
    Dim FixTheProblem As New List(Of String)
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    Me.CenterToScreen()
    Panel1.BackColor = Color.White
    Panel1.BorderStyle = BorderStyle.Fixed3D
    RichTextBox2.BorderStyle = BorderStyle.None
    RichTextBox2.ScrollBars = RichTextBoxScrollBars.Vertical
    RichTextBox3.BorderStyle = BorderStyle.None
    RichTextBox3.ScrollBars = RichTextBoxScrollBars.Vertical
    RichTextBox3.Size = RichTextBox2.Size
    RichTextBox3.Top = RichTextBox2.Top
    RichTextBox3.Left = RichTextBox2.Right - 20
    Panel1.Size = New Size(RichTextBox2.Width * 2 - 16, RichTextBox2.Height + 4)
    Panel1.Left = RichTextBox2.Left - 2
    Panel1.Top = RichTextBox2.Top - 2
    RichTextBox2.BringToFront()
    RichTextBox3.BringToFront()
    FixTheProblem.Add("Curry: £6.50")
    FixTheProblem.Add("Mineral Water: £4.50")
    FixTheProblem.Add("Crisp Packet: £3.60")
    FixTheProblem.Add("Sweat Tea: £2.23")
    FixTheProblem.Add("Motor Oil: £12.50")
    FixTheProblem.Add("Coca Cola: £.75")
    FixTheProblem.Add("Petrol Liter: £3.75")
    FixTheProblem.Add("Shaved Ice: £.50")
    FixTheProblem.Add("Marlboro: £2.20")
    FixTheProblem.Add("Newspaper: £.25")
    FixTheProblem.Add("Spice Pack: £.75")
    FixTheProblem.Add("Salt: £.50")
    FixTheProblem.Add("Pepper: £.30")
    For Each Item In FixTheProblem
    RichTextBox1.AppendText(Item & vbCrLf)
    Next
    RichTextBox1.SelectionStart = 0
    RichTextBox1.ScrollToCaret()
    Dim Fix As String = ""
    For Each Item In FixTheProblem
    Fix += Item.Replace(":", "^:") & vbCrLf
    Next
    Fix = Fix.Replace(vbCrLf, "^>")
    Dim FixSplit() As String = Fix.Split("^"c)
    For i = 0 To FixSplit.Count - 1
    If CBool(i Mod 2 = 0) = True Then
    RichTextBox2.AppendText(FixSplit(i).Replace(">"c, "") & vbCrLf)
    ElseIf CBool(i Mod 2 = 0) = False Then
    RichTextBox3.AppendText(FixSplit(i) & vbCrLf)
    End If
    Next
    End Sub
    Dim RTB2ScrollPoint As Point
    Private Sub RichTextBox2_Vscroll(sender As Object, e As EventArgs) Handles RichTextBox2.VScroll
    Dim RTB2ScrollPoint As Point
    SendMessage(RichTextBox2.Handle, EM_GETSCROLLPOS, 0, RTB2ScrollPoint)
    SendMessage(RichTextBox3.Handle, EM_SETSCROLLPOS, 0, New Point(RTB2ScrollPoint.X, RTB2ScrollPoint.Y))
    'Me.Text = RTB2ScrollPoint.X.ToString & " .. " & RTB2ScrollPoint.Y.ToString
    End Sub
    Private Sub RichTextBox3_Vscroll(sender As Object, e As EventArgs) Handles RichTextBox3.VScroll
    Dim RTB3ScrollPoint As Point
    SendMessage(RichTextBox3.Handle, EM_GETSCROLLPOS, 0, RTB3ScrollPoint)
    SendMessage(RichTextBox2.Handle, EM_SETSCROLLPOS, 0, New Point(RTB3ScrollPoint.X, RTB3ScrollPoint.Y))
    'SendMessage(RichTextBox2.Handle, EM_SETSCROLLPOS, 0, New Point(0, 10))
    End Sub
    End Class
    La vida loca

  • HOW TO PUT TWO PANNEL IN THE SAME PAGE

    HI ALL
    I NEED TO KNOW HOW TO PUT TWO PANNEL IN THE SAME PAGE TO FULLY UTILIZE FULL PAGE AREA BECAUSE THE PANNEL WIDTH IS TOO SMALL , SO I WANT TO MAKE THE PAPER CONTAIN TO PANNELS VERTICALLY.
    THANK YOU

    So Barb,
    I like to use multiple desktops and move back and forth between then using gestures. At the moment I have 5 open: Chrome, Firefox, Safari, Photoshop CS 6 and a desktop. I use "gestures" to navigate between them:
    Mac Basics: Multi-Touch gestures - Apple Support
    and I use Mission Control (F3) to move the various desktops around in the order I want them.
    Mac Basics: Mission Control - Apple Support
    So say I'm searching for a photo to open in CS 6, I find it on the open desktop then hit select "open" in CS 6 and go to that folder in the select pane.
    Even right now I'm typing this in Safari and "gesturing" back to Chrome where I did the search about multi touch and mission control. I drag copy the URL there  and gestured back here to paste the URL into this text.
    If you did a lot of photo searches, I set professional clients of mine in Chicago up with dual monitors (In this case you'd have an external monitor on extended desktop.). So all you need to do is just glance over at the second monitor slide your cursor over there open stuff up find your photo and go back to Photoshop and open it up.
    Hope this helps.

  • Can we create two dashboard prompts for the same column in the samepage

    hi ,
    can we create two dashboard prompts for the same column on the same page,
    I have a date column and I am trying to create 2 dashboard prompts on the same page one as from date and the other one as to date.Is this possible to create.When I am trying to create it is giving me error like cannot use same column for creating the prompt
    Any suggestions or ideas

    863997 wrote:
    hi ,
    can we create two dashboard prompts for the same column on the same page,
    I have a date column and I am trying to create 2 dashboard prompts on the same page one as from date and the other one as to date.Is this possible to create.When I am trying to create it is giving me error like cannot use same column for creating the prompt
    Any suggestions or ideasYou are correct. You cannot build two prompts on the same column. Use this link for instructions on how to build a "between prompt" because of this fact:
    http://oraclebizint.wordpress.com/2008/02/26/oracle-bi-ee-101332-between-prompts-for-date-columns-using-presentation-variables/

  • Put the prompt on the same screen with the report

    Hello all,
    I have a prompt on a report and when i run the report i will first get the prompt after i select the prompt elements then it will take me to the report and i have a request now to put the prompt on the same screen with the report. I am curious to know how i can do that. Could you please let me know
    Thanks,
    RC
    Edited by: user1146711 on Nov 4, 2011 8:59 AM

    Here you are looking to have report prompt and report on the same page which is not possible.
    If you still want to achieve this ..then create a report with all columns say reprot1 and report2 your prompts.
    Go to dashboard ...add ...report2 prompts on the above...report2 with all columns 1 down...
    Now when you see .....report prompts on top and report on down....now when you select some prompt it will take you to the new page....
    Use guided navigation.

  • How to keep desktop folders in the same place?

    I use an iMac (with Mac OS X V.10.6.6) and I have some folders and files on my desktop. However, lately after I shutdown my iMac and start it again, all the folders and files on my desktop move and scatter. I want to keep them in the same order that I originally arranged. How do I keep them in the same place? Is it normal for them to move around after shutdown?
    It´s a new iMac (with about 6 monts old) and it only appens sometimes...
    PS. I don't want to sort them out by name or date modified or anything like that. I just want to keep them in the same order that I put them.

    As this oddity strikes also on my machine, I wrote this script.
    --[SCRIPT récupérerrestaurer_positionicônes]
    Enregistrer le script en tant que Progiciel (Application sous 10.6.x) : récupérerrestaurer_positionicônes.app
    Installer dans le Dock.
    Sélectionner les icônes du bureau dont la position doit pouvoir être rétablie.
    Lancer le script
    Cliquer le bouton "Enregistrer leur position"
    Un fichier texte contenant les informations relatives à ces icônes sera créé dans le dossier défini à partir de la property 'dest'
    Par défaut c'est dans "<startupVolume>:Users:<userAccount>:Library:Application Support:".
    Pour remettre les icônes en place, lancer l'application et cliquer le bouton "Rétablir leur position"
    --=====
    Save the script as an Application Bundle (Application under 10.6.x) : récupérerrestaurer_positionicônes.app
    Install it in the Dock for easy access.
    Select Desktop's icons whose location must be reset when needed.
    Run the script.
    Click the button "Get there position".
    A text file containing the datas linked to these icons will be created in the folder defined according to the property 'dest'.
    Default location is : "<startupVolume>:Users:<userAccount>:Library:Application Support:".
    Run the script and click the button "Reset there position" to move the icons back to their original location.
    --=====
    KOENIG (VALLAURIS, France)
    2010/03/16
    --=====--=====
    property toutlebureau : true
    property dest : 3
    1 = liste dans : "<startupVolume>:Users:<userAccount>:Library:Preferences:"
    2 = liste dans : "<startupVolume>:Users:<userAccount>:Applications:Utilities:"
    3 = liste dans : "<startupVolume>:Users:<userAccount>:Library:Application Support:"
    property nomDuRapport : "position des icones.txt"
    property rapport : {}
    --=====
    on run
    run script mon_script
    end run
    script mon_script
    my nettoie()
    if dest = 1 then
    set p2d to path to preferences as text (*
    "<startupVolume>:Users:<userAccount>:Library:Preferences:" *)
    else if dest = 2 then
    set p2d to path to utilities folder from user domain as text (*
    "<startupVolume>:Users:<userAccount>:Applications:Utilities:" *)
    else
    set p2d to (path to library folder from user domain as text) & "Application Support:" (*
    "<startupVolume>:Users:<userAccount>:Library:Application Support:" *)
    end if
    set p2r to p2d & nomDuRapport
    if my parleAnglais() then
    set prompt to "What to do with icons ?"
    set {btn1, btn2, btn3} to {"Cancel", "Get their position", "Reset their position"}
    else
    set prompt to "Que faire avec les icônes ?"
    set {btn1, btn2, btn3} to {"Abandonner", "Enregistrer leur position", "Rétablir leur position"}
    end if
    set maybe to button returned of (display dialog prompt buttons {btn1, btn2, btn3} default button 3)
    if maybe is btn1 then (*
    Cancel / Annuler *)
    error number -128
    else if maybe is btn2 then (*
    Get their position / Enregistrer leur position *)
    tell application "Finder"
    set itms to name of every item of the desktop
    repeat with itm in itms
    try
    set {x, y} to get desktop position of item itm
    copy "" & itm & return & x & ", " & y to end of my rapport
    end try
    end repeat
    end tell -- Finder
    set rapport to my recolle(my rapport, return)
    crée un fichier texte dans le dossier "Bibliothèque:Application Support" du compte utilisateur *)
    tell application "System Events"
    if exists file p2r then delete file p2r
    make new file at end of folder p2d with properties {name:nomDuRapport}
    end tell -- System Events
    write rapport to (p2r as alias)
    else (*
    Reset there position / Rétablir leur position *)
    set my rapport to paragraphs of (read file p2r)
    repeat with i from 1 to ((count of rapport) - 1) by 2
    try
    set itm to item i of rapport
    tell application "Finder" to set desktop position of item itm to my decoupe(item (i + 1) of rapport, ", ")
    end try
    end repeat
    tell application "Finder" to update folder p2d
    end if
    my nettoie()
    end script
    --=====
    on nettoie()
    set my rapport to {}
    end nettoie
    --=====
    on decoupe(t, d)
    local l
    set AppleScript's text item delimiters to d
    set l to text items of t
    set AppleScript's text item delimiters to ""
    return l
    end decoupe
    --=====
    on recolle(l, d)
    local t
    set AppleScript's text item delimiters to d
    set t to l as text
    set AppleScript's text item delimiters to ""
    return t
    end recolle
    --=====
    on parleAnglais()
    local z
    try
    tell application "Finder" to set z to localized string "AL1"
    on error
    set z to "Cancel"
    end try
    return (z is not "Annuler")
    end parleAnglais
    --=====
    --[/SCRIPT]
    I run it by hand to get the icons positions.
    I may also run it to restore these positions but in real life, I use a subset of the same script which is automatically ran when I boot the machine.
    This subset retain only the code restoring the icons positions.
    --[SCRIPT récupérerrestaurer_positionicônes]
    Enregistrer le script en tant que Progiciel (Application sous 10.6.x) : récupérerrestaurer_positionicônes.app
    Installer dans le Dock.
    Sélectionner les icônes du bureau dont la position doit pouvoir être rétablie.
    Lancer le script
    Cliquer le bouton "Enregistrer leur position"
    Un fichier texte contenant les informations relatives à ces icônes sera créé dans le dossier défini à partir de la property 'dest'
    Par défaut c'est dans "<startupVolume>:Users:<userAccount>:Library:Application Support:".
    Pour remettre les icônes en place, lancer l'application et cliquer le bouton "Rétablir leur position"
    --=====
    Save the script as an Application Bundle (Application under 10.6.x) : récupérerrestaurer_positionicônes.app
    Install it in the Dock for easy access.
    Select Desktop's icons whose location must be reset when needed.
    Run the script.
    Click the button "Get there position".
    A text file containing the datas linked to these icons will be created in the folder defined according to the property 'dest'.
    Default location is : "<startupVolume>:Users:<userAccount>:Library:Application Support:".
    Run the script and click the button "Reset there position" to move the icons back to their original location.
    --=====
    KOENIG (VALLAURIS, France)
    2010/03/16
    --=====--=====
    property toutlebureau : true
    property dest : 3
    1 = liste dans : "<startupVolume>:Users:<userAccount>:Library:Preferences:"
    2 = liste dans : "<startupVolume>:Users:<userAccount>:Applications:Utilities:"
    3 = liste dans : "<startupVolume>:Users:<userAccount>:Library:Application Support:"
    property nomDuRapport : "position des icones.txt"
    property rapport : {}
    --=====
    on run
    run script mon_script
    end run
    script mon_script
    my nettoie()
    if dest = 1 then
    set p2d to path to preferences as text (*
    "<startupVolume>:Users:<userAccount>:Library:Preferences:" *)
    else if dest = 2 then
    set p2d to path to utilities folder from user domain as text (*
    "<startupVolume>:Users:<userAccount>:Applications:Utilities:" *)
    else
    set p2d to (path to library folder from user domain as text) & "Application Support:" (*
    "<startupVolume>:Users:<userAccount>:Library:Application Support:" *)
    end if
    set p2r to p2d & nomDuRapport
    if my parleAnglais() then
    set prompt to "What to do with icons ?"
    set {btn1, btn2, btn3} to {"Cancel", "Get their position", "Reset their position"}
    else
    set prompt to "Que faire avec les icônes ?"
    set {btn1, btn2, btn3} to {"Abandonner", "Enregistrer leur position", "Rétablir leur position"}
    end if
    set maybe to button returned of (display dialog prompt buttons {btn1, btn2, btn3} default button 3)
    if maybe is btn1 then (*
    Cancel / Annuler *)
    error number -128
    else if maybe is btn2 then (*
    Get their position / Enregistrer leur position *)
    tell application "Finder"
    set itms to name of every item of the desktop
    repeat with itm in itms
    try
    set {x, y} to get desktop position of item itm
    copy "" & itm & return & x & ", " & y to end of my rapport
    end try
    end repeat
    end tell -- Finder
    set rapport to my recolle(my rapport, return)
    crée un fichier texte dans le dossier "Bibliothèque:Application Support" du compte utilisateur *)
    tell application "System Events"
    if exists file p2r then delete file p2r
    make new file at end of folder p2d with properties {name:nomDuRapport}
    end tell -- System Events
    write rapport to (p2r as alias)
    else (*
    Reset there position / Rétablir leur position *)
    set my rapport to paragraphs of (read file p2r)
    repeat with i from 1 to ((count of rapport) - 1) by 2
    try
    set itm to item i of rapport
    tell application "Finder" to set desktop position of item itm to my decoupe(item (i + 1) of rapport, ", ")
    end try
    end repeat
    tell application "Finder" to update folder p2d
    end if
    my nettoie()
    end script
    --=====
    on nettoie()
    set my rapport to {}
    end nettoie
    --=====
    on decoupe(t, d)
    local l
    set AppleScript's text item delimiters to d
    set l to text items of t
    set AppleScript's text item delimiters to ""
    return l
    end decoupe
    --=====
    on recolle(l, d)
    local t
    set AppleScript's text item delimiters to d
    set t to l as text
    set AppleScript's text item delimiters to ""
    return t
    end recolle
    --=====
    on parleAnglais()
    local z
    try
    tell application "Finder" to set z to localized string "AL1"
    on error
    set z to "Cancel"
    end try
    return (z is not "Annuler")
    end parleAnglais
    --=====
    --[/SCRIPT]
    As it was for my own use, I didn't change the explanations at the beginning.
    Yvan KOENIG (VALLAURIS, France) jeudi 3 février 2011 12:37:56

  • 2 differently aligned sub regions on a region in the same line

    Hi!
    I would like to place 1 region aligned on left, 1 on the right of a parent region. I added style="float:left/right" to sub regions.
    <div>
    #SUB_REGION#
    </div>
    is added to parent region's sub regions template.
    If I leave this way, then They are eligned correctly, but not in the same "line", but under each other. If I add style="float:left/right" to sub regions template, than sub regions will aligned side by side, but I can't force to place in the same line one left, one right.
    What is strange, than if float added in region's sub regions template, (side by side), and change float of on of the sub regions in firebug, that appears good.
    How to do it correctly?

    selection-screen : begin of block B1 with frame title TEXT-001.
    selection-screen : begin of line.
    selection-screen : comment 1(23) TEXT-001.
    parameter        : P_01 radiobutton group R1.
    selection-screen : comment 30(8) TEXT-001.
    parameter        : P_02 radiobutton group R1.
    selection-screen : comment 42(10) TEXT-001.
    parameter        : P_C01 type rlgrap-filename obligatory.
    selection-screen : end of line.
    selection-screen : end of block B1.
    Change the text elements accordingly
    Regards
    - Gopi

Maybe you are looking for