How can I implement multiple windows/tabs in my Main-Menu?

I don't really know how to explain it. As an example, Skype has roughly 20 windows bundled with it, that are switched to when you click things like "Skype-Home" and "Profile". The layout changes too drastically to change the way it looks through just code, and it's not a new window being opened, it stays in the same window, the same main-window. I was wondering if this is possible through Cocoa-Applescript, and if so, what are the necessary steps to achieve this.
Taking it one step further, and if the above is possible, how could I implement a "tab" system in the application? The image below is an example of what I mean.

AppleScriptObjC can use pretty much everything in the Cocoa API, so yes, it is possible.
Note that a view is not the same as a window, and a window can have multiple views. There are also many ways to implement "tabs";  take a look at some of Apple's applications - they use various mixtures of toolbars, checkboxes, and radio buttons, for example.  An application such as this will be a lot more involved than what you have done so far though, using custom classes and subclassing existing ones, so be prepared to do a lot of reading and researching.

Similar Messages

  • How can I have multiple WINDOWS (NOT tabs) with INDEPENDENT content?

    How can I have multiple '''windows''' (''not ''tabs) with '''independent''' content?
    I used to be able to open separate windows with Firefox, and the content could be completely different in each window. No matter what I did in any window, no OTHER window open at the time, nor any of the content therein, was affected. This is no longer the case and it is extremely frustrating for me.
    I do ''not ''like tabs and do not use them. I prefer multiple windows plus I am so used to using them, for so many years now! But with v9.0.1 I suddenly can no longer do what I've always done with my browser without this aggravating problem constantly reminding me that I can't have what I want in firefox anymore.
    Or can I? Does anyone have a solution I don't realize exists?
    Thanks,
    Sowelu

    AppleScriptObjC can use pretty much everything in the Cocoa API, so yes, it is possible.
    Note that a view is not the same as a window, and a window can have multiple views. There are also many ways to implement "tabs";  take a look at some of Apple's applications - they use various mixtures of toolbars, checkboxes, and radio buttons, for example.  An application such as this will be a lot more involved than what you have done so far though, using custom classes and subclassing existing ones, so be prepared to do a lot of reading and researching.

  • How can i view multiple windows in safari? I used to do it with the 3 finger sliding, but that feature is gine now. please help

    how can i view multiple windows in safari? I used to do it with the 3 finger sliding, but that feature is gine now. please help

    Try a 2 finger Pinch to see the tabs.

  • How can you view multiple windows?

    If you have got several internet topics open how can you get 'mini screens or windows' of each site dispalyed on the desk top?
    I have done this before but cant find how to do it again!
    Thank You
    Big-G-Zero
    ibook   Mac OS X (10.4.2)  

    Are you referring to the system-wide Exposé functions or a Safari-specific 'Exposé-esque' feature?
    The former can be configured in the 'Dashboard & Exposé' preference pane in System Preferences. Hitting tab with either 'All windows' or 'Application windows' displayed will allow you to browse through the various windows on a per application basis.
    The latter is available as part of Saft. With Saft installed, the 'Show Tab Thumbnails' under the 'View' menu will line up your 'mini screens or windows'.
    Yang

  • How Can I Put Multiple Columns in a Drop-Down Menu?

    We are trying to put multiple columns in a drop-down menu, similar to what is on these web sites...
    http://www.cabelas.com/
    http://www.target.com/  (This site has the multiple columns on the Women, Home, Kitching & Dining, Toys, Electronics, and See More categories).
    If anyone has any suggestions for coding, please reply.
    Thank you.
    Wil Radcliffe

    As an <li> tag is not a block level element like a <p> or <div> tag you can store a <div> container within the <li> tag and create an element in that menu item and us the following tutorial to create multiple columns depending on the ordering:
    http://www.alistapart.com/articles/multicolumnlists
    Depending on your target browser you could also use the CSS3 column-count to define the amount of columns.  But with just a quick glance at this I would say it only works in the the later versions of Firefox, Chrome, Safari and IE9+.
    http://www.w3schools.com/cssref/css3_pr_column-count.asp

  • How can I restore the icon items in the main menu bar (clock,time,battery)?

    A few weeks ago I noticed that the items in the main menu bar are not updated, do not work, and cannot be selected. When I move the cursor over this area, the rainbow cursor appears and nothing can be selected. As a result, the time, date, battery status, finder, and sound icons in the upper right hand corner no longer function. I have shut down and restarted the computer, but the problem still persists. Any available help on this issue would be greatly appreciated. Thanks!
    Powerbook G4   Mac OS X (10.4.4)  

    Niel, I followed your suggestion, but nothing seemed to change. I couldn't find the exact file, but found one that was very similar....com.apple.systemuiserver.plist...... I dragged the icon to the desktop and then attempted to move it to the upper right corner, but the rainbow cursor was displayed and nothing happened. Do you have any other ideas? Thanks for your assistance.

  • How can i show multiple windows on start?

    Hi everybody:
    I have an application that need to show 5 windows at the same
    time when the application is started. The 5 windows are seen but
    the canvas is not shown, so, i see 5 windows with no elements. I
    have tried with SHOW_WINDOW built in, but it only shows the
    window, not the canvas. If i use the GO_ITEM built in, in one
    item from each block i can only see the last block visited.
    Is there any property that i must change in canvases? (the
    raise on entry is in "yes"); i have to do anything else?
    Thanks.

    Windows have a property called "Primary Canvas". This sets what
    canvas should be shown in a window by default.
    Typically Forms knows what to display because the cursor is in
    an item, the item is on a canvas, the canvas is required to set
    its Window...you see the window with everything in it.
    The window property primary canvas for when you do a show_window
    and do not navigate to anything in the window.
    Thanks,
    Candace Stover
    Forms Product Management

  • How can I play multiple files without having to click "Menu," find the ...

    ...file, click "Play," etc.?
    Anyone? I have ATV2 and really like it so far. Any way to queue files?

    And... if you set up playlist in iTunes you can mix media as long as you use AirPlay.
    I have a Smart Playlist (Movie Night) that starts with a movie trailer (podcast), next up is a short cartoon (TV show), and then a double feature of movies I haven't seen yet.
    If I pick this play list from ATV2 then only the items from the primary menu item show up (i.e. Movies, TV, etc).
    However, if I watch ATV2 via iTunes AirPlay then everything flows along just like in the olden days!
    Too cool!

  • How can I add a website to AppleTV's main menu ?

    E.G. a local weather station site or a site that isn't displayed as default in the main menu.

    Try a Roku...
    http://www.amazon.com/Roku-3-Streaming-Media-Player/dp/B00BGGDVOO/ref=sr_1_1?s=e lectronics&ie=UTF8&qid=1396572411&sr=1-1&keywords=Roku

  • How can I print multiple PDF files at once using Windows 7?

    How can I print multiple PDF files at once, on an HP LJ Pro 400 xcolocr printer without opening each
    one separately using Windows 7?

    I am sorry, but to get your issue more exposure I would suggest posting it in the commercial forums since this is a commercial printer. You can do this at http://h30499.www3.hp.com/hpeb/
    I hope this helps.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • Preview; How can I open multiple PDF's in one window with Preview?

    How can I open multiple PDF's in one window with Preview?
    I have gone to Previews preferences and selected 'Open groups of images in the same window' and have tried every setting imaginable and nothing works. What am I doing wrong?

    Hi, a few ways..
    http://www.monkeybreadsoftware.info/Freeware/CombinePDFs.shtml
    http://www.monkeybreadsoftware.info/Freeware/CombinePDFs.shtml
    http://www.macosxhints.com/article.php?story=20060327192826493&lsrc=osxh

  • How can I add multiple folders to iTunes with Windows 8?

    I have windows 8 and the latest version of iTunes on Windows 8. How can I put multiple folders of music onto iTunes

    Enable the menu bar with Ctrl+B. Then use File > Add Folder to Library.
    tt2

  • How can I implement a comfirmation window when closing javafx application?

    hi,guys
    I'd like to add a confirmation window when user is closing my javafx application,if user click yes, I will close the application,if no ,I wouldn't close it ,how can I implement this function?
    primaryStage.setOnCloseRequest(new EventHandler<WindowEvent>(){
                   @Override
                   public void handle(WindowEvent arg0) {
                        try
                             //todo
                        catch(Exception ex)
                             System.out.print(ex.getMessage()+"\r\n");
            });

    Hi. Here is an example:
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.geometry.Pos;
    import javafx.stage.*;
    import javafx.scene.*;
    import javafx.scene.paint.Color;
    import javafx.scene.layout.*;
    import javafx.scene.control.*;
    public class ModalDialog {
        public ModalDialog(final Stage stg) {
         final Stage stage = new Stage();          
            //Initialize the Stage with type of modal
            stage.initModality(Modality.APPLICATION_MODAL);
            //Set the owner of the Stage
            stage.initOwner(stg);
            Group group =  new Group();
            HBox hb = new HBox();
             hb.setSpacing(20);
            hb.setAlignment(Pos.CENTER);
            Label label = new Label("You are about to close \n your application: ");
            Button no  = new Button("No");
            no.setOnAction(new EventHandler<ActionEvent>() {
                public void handle(ActionEvent event) {
                       stage.hide();
            Button yes  = new Button("Yes");
            yes.setOnAction(new EventHandler<ActionEvent>() {
                public void handle(ActionEvent event) {
                       stg.close();
             hb.getChildren().addAll(yes, no);
             VBox vb =  new VBox();
             vb.setSpacing(20);
             vb.setAlignment(Pos.CENTER);
             vb.getChildren().addAll(label,hb);
            stage.setTitle("Closing ...");
            stage.setScene(new Scene( vb, 260, 110, Color.LIGHTCYAN));       
            stage.show();
    }Test:
       import javafx.application.Application;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.scene.Group;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.paint.Color;
    import javafx.stage.Stage;
    import javafx.stage.*;
    * @author Shakir
    public class ModalTest extends Application {
         * @param args the command line arguments
        public static void main(String[] args) {
            Application.launch(ModalTest.class, args);
        @Override
        public void start(final Stage primaryStage) {
            primaryStage.setTitle("Hello World");
            Group root = new Group();
            Scene scene = new Scene(root, 300, 250, Color.LIGHTGREEN);
           primaryStage.setOnCloseRequest(new EventHandler<WindowEvent>(){
                   @Override
                   public void handle(WindowEvent arg0) {
                                    arg0.consume();
                        try
                         ModalDialog md = new ModalDialog(primaryStage);
                        catch(Exception ex)
                             System.out.print(ex.getMessage()+"\r\n");
            primaryStage.setScene(scene);
            primaryStage.show();
    }

  • Help with Adobe.premiere.elements12. Please It would appear under the organizer tab that the photos are organised in the lowest folder in the folder structure within Windows Explorer.  How can I use the Windows Explorer structure to organise the photos wi

    Help with Adobe.premiere.elements12. Please
    It would appear under the organizer tab that the photos are organised in the lowest folder in the folder structure within Windows Explorer.  How can I use the Windows Explorer structure to organise the photos within Elements.

    In a situation such as yours, I tend to consolidate items into folders so I have folders of nice workable numbers of images, somewhere between 20 and 200 images. Now, whatever, once you've imported, do your moving within LR, not the OS! I will select all in a folder and drag into a folder a level or two or three above, and then delete the newly empty subfolders. I hope this helps a bit!
    Once you've reached just new Imports of camera output, you'll be flying along.

  • How can I play multiple movies on quicktime like I can on windows medplayer

    How can I play multiple movies on quicktime. When i click on open file it will only let me choose one movie to play.For example When ever I used windows media player I could drag my mouse over numerous files and it would play them one after another like in a list format. Can anyone help with this?
    Thank you

    Hi Brennan,
    Only HDMI is going to support audio & video on the single cable. Which MacBook Air do you have? Here's a great article regarding this - http://support.apple.com/kb/HT4241. Also keep in mind that only the current generation of MacBook Airs support this. The previous generation, also with MiniDisplay Port would support HDMI but you'd need to run a separate line from the headphone port over AUX for audio.
    The first and second generation models, which have micro-DVI, do not support audio. Regarding the RCA cables, Apple offers adapters that allow you to go to VGA and that would probably be your best bet. I do not believe there's a MiniDisplay Port to RCA solution out there, you'd need to do multiple adapters and that's always a questionable performance solution.

Maybe you are looking for

  • How to move entry from one container to another

    Hi! We are using DBMS_LDAP package to attempt to move an entry from an LDAP container to another container. We have tried modrdn2_s (takes a session, the old dn, the new dn, and a PLS_INTEGER indicating whether or not to delete the old entry; or at l

  • How to import multiple XML schemas in Toplink.

    Hi All, I try to import multiple Schema(defined by EPCGlobal) in toplink This schema imports few other schemas and all are available in the same location. For this I tried to create a project by selecting XML radio button, and specified an XSD. The c

  • How can I print a list of my Contacts in alphabetical order from my iMac

    I know how to change the alphabetical sequence of my contacts by first name & last name , but i would like to know how I can easily PRINT a list of my contacts in alphabetical order. I know how to print a list but the names are in random order. My qu

  • Doubt reg Delta : what abt changed things?

    Hey Experts, One basic doubt regarding Delta: plz Help . I want to do delta on say order number based on timestamp.Also these orders can be changed later. So say order 1000 has been fetched yesterday, but its changed today again..(say its value is ch

  • Need help with placing Flash animations in Captivate...

    I have a few short animations I did in Flash that I want to put in Adobe Captivate. They place fine and play fine. But I wanted to know if it is possible to have the last frame of the animation show for the rest of the captivate slide. Thanks!