Get URL and setting window properties

Hi, I want to open a new internet window using actionscript on a button but I also want to control the characteristics of that window when it opens:
1. I want it to be a specific size - 180 x 200
2. I want all the standard page elements removed - the scrollbar, browser tools etc - so there is just a box to close it.
3. I want it to be centered on the screen
Can I get this much detail with actionscript regarding the new window when I open it?
Many thanks in advance for your time.
Steve

Thanks, I used one of the scripts there and it works but there is still one property I would like to manipulate:
I want to center the window on the screen - do you know what I add to this? Is there an x and y property or a general 'center' command?
onClipEvent (mouseUp) {
var jscommand = "window.open('http://www.mylink.html','win','height=200,width=180,toolbar=no,scrollbars=no');";
getURL("javascript:"+jscommand+" void(0);");
Thanks a lot, I appreciate the help.
Steve

Similar Messages

  • I want to get and set windows system time through lab view

    Hi
    I want to get and set windows system time with the help of lab view 8.5.
    please help me out.
    ekanth

    You can use the call library function node. Once you drop it on your block diagram double click it and you will be able to select the dllyou want to use. Choose kernel32.dll and you will see methods listed called getsystemtime and setsystemtime. Use those
    CLA, LabVIEW Versions 2010-2013

  • URL to set session properties?

    Is there a URL to SET session properties?  I know I can get a list of them by calling "/XMII/PropertyAccessServlet?mode=list&Content-Type=text/xml", but is there a way to set them in a similar manner?

    Hi all,   If you want me to start a new thread let me know...
    I'm having funky, although repeatable, results using the URL to set a session parameter via AJAX call,
    which always gets a Successful message.
    /XMII/PropertyAccessServlet?mode=Store&PropName=plantId&PropValue=60
    I am verifying the session parameter 2 ways:
    1.  Refresh the page and view source  (I took the lt and gt out)
    ...............span id="savedPlantId" style="visibility:hidden;"
    2.  AJAX call to /XMII/PropertyAccessServlet?mode=List
    Quirk #1:   I see the value in the span.  I do not see it in the servlet list.
    Quirk #2:   I can change the value a couple (2 or 3 times) then it doesn't change after that
    Quirk #3:   When it stops changing via the AJAX call, I can still change it with a browser URL
    http://<server>:50000/XMII/PropertyAccessServlet?mode=Store&PropName=plantId&PropValue=199
    Any hints or ideas? 
    Yes, I am trying to use a single pixel applet, but having trouble with that too!  See a different post. 
    I really would prefer to use the URL as there is no visual indication to the user
    and an applet (and JVM) doesn't have to load.
    --Amy Smith
    --Haworth
    Oh, and P.S.   Is there a mode=Delete to remove the session parameter?

  • Creating Items and setting the properties programtically

    Hi ,
    Can any one provide me some details of how to create item programatically and setting its properties.
    Ex: I have to create a message choice
    set its id, picklist view definition ,picklist display attribute, picklist value attribute, prompt, action type and event
    Regards,
    Krishna

    Hi Krishna,
    OAMessageChoiceBean abc = (OAMessageChoiceBean) createWebBean
    (pageContext, MESSAGE_CHOICE_BEAN);
    abc.setPickListViewUsageName("ListVO");
    abc.setListValueAttribute(" ");
    abc.setListDisplayAttribute(" " );
    abc.setID("ID");
    this wl help u I guess..
    for more details Refer JDev Guide.

  • How to get and set graph propertis using UIGraph instance

    Hi,
    I have added barGraph graph component on *.jspx and also added buttons like "Get properties" and "Set Properties". On "Get Properties" button action, I want to get all the attrributes of barGraph using UIGraph and also want to get "getGroupAttributes" and "getSeriesAttributes".
    I saw examples on gettiing the Group attributes using the click event on the graph.
    Is there any way to get the attributes on some button action like "Get Properties" without any click event on graph?
    Thanks,
    Gopal

    [Copying the answer here from the internal forum discussion so that other customers can benefit]
    Hi Gopal,
    You can call getValue on the UIGraph to get the GraphDataModel, then to use the data access APIs from there.
    Once you get the DataAccess from the GraphDataModel, you can call getMemberMetadata to get the members on the row and column edge.
    This method is documented in the interface CDFDataAccess:
    http://docs.oracle.com/cd/E16162_01/apirefs.1112/e17492/oracle/dss/util/CDFDataAccess.html#getMemberMetadata%28int,%20int,%20int,%20java.lang.String%29
    You should use the following constants for the series and groups:
    DataDirector.COLUMN_EDGE=groups
    DataDirector.ROW_EDGE=series
    Use the method getEdgeExtent to find out how many members are in the series and groups:
    http://docs.oracle.com/cd/E16162_01/apirefs.1112/e17492/oracle/dss/util/CDFDataAccess.html#getEdgeExtent%28int%29
    Method getLayerMetadata is the correct way to get the names of the layers, a.k.a "dimensions" displayed in the graph.
    DataAccess is used to read the data from the Graph. You set the data in the Graph by setting tabular data, using data binding by dragging and dropping from the data control palette, or by implementing a custom DataSource and setting it on the graph.
    http://docs.oracle.com/cd/E16162_01/apirefs.1112/e17492/oracle/dss/dataView/CommonDataview.html#setDataSource%28oracle.dss.util.DataSource%29
    However, implementing a custom data source is not trivial, and you should only use that approach if you can't use tabular data or regular binding against the available data controls.
    This doc chapter might help in understanding data source requirements for different Graph types:
    http://docs.oracle.com/cd/E16162_01/web.1112/e16181/dv_graph.htm#CEGBGCDG
    Hope this helps,
    Katia

  • Why do users get "unable to set template properties" message?

    Hi there,
    I am trying to administer a new site that was created with DW and has a .dwt (Templates/ locatedat the site root). I'm creating "Publisher" role connection keys so users can edit their subsections of the site. Users should be able to modify template properties when they edit/create new pages.
    While testing the keys, the users report that they can connect and edit pages. However, when they try to modify template properties on either a new or existing page, they get this message "Unable to set template properties" and are prevented.
    I've tried redefining the site and starting all over, tried CS3 vs. CS4 to see if it was a compatibility issue, looked at forum after forum but can't find any answers. I am experienced with DW but new to Contribute administration so I don't know what else to try. Hoping that someone will have encountered this before and can suggest a solution.
    Thanks in advance!
    ps- Let me know if there's other info I can provide to help troubleshoot.

    I did find this April 9, 2009 post from majtom2grndctrl that suggests the issue is how contribute treats https:// sites. My site is set up as majtom2grndctrl described and I am having the same problem.
    "I've got a problem with not being able to edit Template Properties on our test sites we host on HTTPS servers. I've narrowed down the problem to Contribute CS4 ignoring the website root configuration when it looks for the Templates folder. For example, say you have a site hosted at the following address:
    https://www.yourdomain.com/yourfolder/
    Contribute is configured to know your site is in /yourfolder/, but for whatever reason, when you open or create a page, and Contribute reads the InstanceBegin template="/Templates/file.dwt" tag at the beginning of HTML documents, it looks for a Templates folder at the HTTP server root, not in /yourfolder/. This prevents Contribute from loading the template while editing a document, and any attempt to edit Template Properties will yield the infamous "Unable to set template properties" dialog box."

  • How to get Search and offline Availability properties in SharePoint using powershell with CSOM

    Hi,
    I want to get the information about the SharePoint sites being crawled or not. I tried to get "Search and offline Availability in SharePoint" settings properties but I couldn't get those properties.
    I followed below thread with no luck : http://www.c-sharpcorner.com/uploadfile/anavijai/search-and-offline-availability-in-sharepoint-2010/
    I couldn't find $web.AllowAutomaticASPXPageIndexing property at site level but i can see $list.NoCrawl
    at list level.
    Can any body help me out to get those values?
    Any help would be greatly appreciated.
    Thank you.
    AA.

    Hi,
    Since AllowAutomaticASPXPageIndexing is a member in SPWeb members while not in Web members, we can not use Client Side Object Model with it. If you need to use it in client side, you need to create a web service for it.
    https://msdn.microsoft.com/EN-US/library/microsoft.sharepoint.client.web_members.aspx
    https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spweb_members.aspx
    Regards,
    Rebecca Tu
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Can't get Canvas and Timeline Windows to Show

    Not sure what happened but Canvas and Timeline windows won't show. Pls help!

    I'm completely new to Final Cut Pro (I just got Studio), and I've been having the same exact problem: I open up Final Cut Pro, open a new project, and I only get the Browser and Viewer windows. I go to Window/Arrange, and I still can't open up the Timeline or the Canvas. I would just double click on a Sequence, but I don't know what the difference is between a sequence and a clip.
    Just to help you guys out, I'm working on the "Into the Blue" thing from the Training DVD; I had started working on it, but quit Final cut, and when I double clicked on the Project (I Saved it to Mac HD) to open it, I only get the Browser and Viewer. Please forgive my ignorance, but help! I'm panicking because I don't know what to do!
    17-inch Powerbook G4   Mac OS X (10.4.5)  

  • Creating buttons on the fly and setting button properties

    If I have a view and want to add buttons to it "on the fly" from values in an array, is that something straightforward to do?
    I have an array of UIImageVIew objects and would like to create buttons from them (showing the image on the buttons) and associate those buttons with a method in my implementation file. That would be a lot more general and flexible than creating the buttons in the Interface Builder I would imagine.
    And one more question - can I freely set button properties while doing that? Or in Objective-C can I only set properties that are already pre-defined for that class?
    Thanks!
    doug

    Thanks for your reply.
    That.... works! Thanks!
    And I can generate the button and click on it and it calls my other method and that works too. Cool!
    The syntax is still very mysterious to me, but I suppose eventually I'll understand what it all means.
    Breaking it down to see what it means:
    [button1 addTarget:self action:@selector(selectedHandler1:) forControlEvents:UIControlEventTouchUpInside];
    * button1 is the object I created (I'm going to try to do this in a loop next.)
    * addTarget is a message I am sending to button1 and the content of the message is "self", which refers to - this button? I'm not sure why such a message would be necessary.
    * action is another message sent to button1 and the contents of that message are a little harder to parse. I see the result, and can mimic the syntax now that I've seen it, but I don't really understand what the @ is for, or the : after the method name or why this wouldn't just be "action: selectedHandler". I'm sure the language designers have a logical reason for all that, but I don't quite "grok" those extra symbols yet.
    * forControlEvents is another message sent to button1 and the event message itself is clear in its meaning.
    Anyway, that is working and I can refer more to the UIButton class reference now and try to set more stuff, like position it better, etc.
    Thanks very much!
    doug

  • Create Parameter  and set Parameter properties using API

    I want to create a parameter with RAS API.
    Here I want to create a string parameter and initialize it and set the values.
    This is the code I use to create a parameter.
    I use here the RAS API, because I want to create a parameter
            Dim myParameterField As New CrystalDecisions.ReportAppServer.DataDefModel.ParameterField
            myParameterField.ParameterType = CrParameterFieldTypeEnum.crParameterFieldTypeReportParameter
            myParameterField.ValueRangeKind = CrParameterValueRangeKindEnum.crParameterValueRangeKindDiscrete
            myParameterField.Type = CrFieldValueTypeEnum.crFieldValueTypeStringField
            myParameterField.Name = "mystring"
            m_RasDoc.DataDefController.ParameterFieldController.Add(myParameterField)
    later, I call the following code to set the values of the parameter "mystring".
    I use DOTNET-SDK, because I dont know how to do this with the RAS API
            Dim crParameterDiscreteValue As ParameterDiscreteValue
            Dim crParameterFieldDefinitions As ParameterFieldDefinitions
            Dim crParameterFieldLocation As ParameterFieldDefinition
            Dim crParameterValues As ParameterValues
            crParameterFieldDefinitions = m_crNetDoc.DataDefinition.ParameterFields
            crParameterFieldLocation = crParameterFieldDefinitions.Item("mystring")
            crParameterValues = crParameterFieldLocation.CurrentValues
            crParameterDiscreteValue = New CrystalDecisions.Shared.ParameterDiscreteValue
            crParameterDiscreteValue.Value = "myvalue"
            crParameterValues.Add(crParameterDiscreteValue)
            crParameterFieldLocation.ApplyCurrentValues(crParameterValues)
            crParameterFieldLocation.ApplyDefaultValues(crParameterValues)
            crParameterFieldLocation.IsOptionalPrompt = False
    later, I save this report to disk.
    When I open the generated report in the Crystal Designer, there are no default values for this created parameter 'mystring'.
    Is it possible to set DefaultValues using RAS API?
    Can I populate the combobox for a parameter in parameter Dialog? Can I set the standard value field?
    Thank you
    Otto

    Hello,
    at first i want to create a new parameter. Then set the parameter value in the parameterlist and store a standard default value.
    I want if this stored report will be opened with the Crystal Reports Designer and I start with the view button, the default values should be set in the parameter text field, so that the user must not type in the parameter values.
    Please help me!
    Thank to all helpers.

  • URL and Google windows are missing from the window display. What is going on?

    Running Firefox 18.0 on a MacBookPro recently purchased. The windows are suddenly missing from the Firefox display window.

    Make sure that toolbars like the "Navigation Toolbar" and the "Bookmarks Toolbar" are visible:
    *"View > Toolbars"
    Open the Customize window to set which toolbar items to display:
    *View > Toolbars > Customize
    *Check that the "Bookmarks Toolbar items" is on the Bookmarks Toolbar
    *If the "Bookmarks Toolbar items" is not on the Bookmarks Toolbar then drag it back from the toolbar palette in the customize window to the Bookmarks Toolbar
    *If missing items are in the toolbar palette then drag them back from the Customize window on the toolbar
    *If you do not see an item on a toolbar and in the toolbar palette then click the "Restore Default Set" button to restore the default toolbar set up
    *https://support.mozilla.org/kb/How+to+customize+the+toolbar
    *https://support.mozilla.org/kb/Back+and+forward+or+other+toolbar+items+are+missing
    You can also check for problems with the localstore.rdf file.
    *http://kb.mozillazine.org/Corrupt_localstore.rdf

  • Printing Get Info and Finder Window

    Probably something simple: I'm desperate to find out how to print the Get Info window on a Word document and to print the finder window. I need to be able to prove when a document was created. Thanks.

    Try the third-party utilities Print Window or PrintFinder. You'll find them at VersionTracker or MacUpdate.
    You can snapshot a selected portion of any screen by pressing the COMMAND-SHIFT-4 keys. The pointer will change to a cross hairs that you can use to select the portion of the screen you want to snapshot. Once the selection is made and you release the mouse button the picture will be saved by default to the Desktop. Pressing ESC after the keys selection will abort the process.
    There are other screen and window printing software that you will find at the above referenced sites. Just do a little searching.

  • How do I get backslash and @ in Windows 7 runing parallel desktop.

    Can anybody steer me the right way to get the backslash and the @ command in Windows 7 running under parallel desktop 6.? I need these two to get some programs up and going. Thanks.

    Can anybody steer me the right way
    The Parallels forums: http://forums.parallels.com
    Apple discussions only provide support for Apple products

  • Get url and Mask

    Hello
    i have 2 problemes :
    1- is there a way to make use of any universal URL in flash ? i mean. not needing to have the full path of the target in the button since the target is in the same folder than the page where is the flash ?
    2- now, thats a funny one, i can make mask to make thing appear in an animation fashion style, no probleme as with any Adobe program... however unlike all other Adobe programs, it seem i am unable to find HOW make the exact reversed result... I want to make thing disappear without using the alpha channel, because i want to make it in an animation style way. It is to use for a sub-menu, where when you click the button to open the sub-menu, you see it appear nicely and in an animated way. But when you click again the button to close it, or once you picked your choice, it close the sub-menu in the exact reverse way it was open...
    Any clue ?.
    Thx.

    Url Probleme : Fixed
    Mask probleme : It seem i fixed my probleme.. With the reverse Frame option, we can make thing disappear too..
    All that remain si to see if it will live up to my expectation.
    Thx anyway

  • HT1491 I have bought the ring tone but it is not in my sounds. How do i get it and set it as my ring tone?

    I have bought a ring tone but it is not in my sounds. It is in my music, but how do i make it a ring tone?

    From your OLD computer...
    Copy your ENTIRE iTunes FOLDER to an External Drive... and then from the External Drive to your New Computer..
    Full Details Here  >  http://support.apple.com/kb/HT1751
    Also see this migrate iTunes library post by turingtest2

Maybe you are looking for