Duplicate windows from single nib file?

I've got a Window inside a Nib file that I want to display multiple copies of, but I have no idea how I would pull this off.
I've tried existing suggestions of placing the window in a seperate nib file with the File's owner set to the NSWindowController class, and then creating multiple instances of this class with the initWithWindowNibName call, however for some reason this seems to fall short when I add a WebView to the window, as it no longer displays a window when I call the showWindow method.
Is there a better alternative to achieve what I'm looking for?

Any update on this ability?  We create many in house videos that need to be encoded to 14 different
bitrates for use with Flash Media Server as dynamic http streams.
Currently when I am ready to export a finished sequence, I will pick my first preset and queue it in AME.  Then I duplicate that thirteen times, setting each of the new thirteen queued items to their appropriate bitrates.  Then I have to change each of the output names to be "filename_bitrate.flv".
This process is much slower when queued in AME than if I exported each individually from PP.  I just don't have the time to manually export each version.
I have also started noticing that some of the last few projects won't render beyond the quality of the first queued item.  Do I need to render the largest bitrate file first?
Any indication from Adobe on the correct workflow to create multiple bitrate files to be consumed by FMS as dynamic http streams would be appreciated.
The link above is dead.  Does anyone have an updated link to the document above?

Similar Messages

  • Main window ptr. from separate NIB file

    Hi All,
    This sounds like the simple kind of job a programmer would do everyday, but I haven't been able to figure it out yet.
    My NSObject app has the usual main window and MainMenu.nib file, and my user-defaults are kept in an NSWindowController subclass complete with its own separate Preferences.nib file. It does the job but I'd prefer to attach the prefs window to the main window as a sheet rather than present it as a separate pane.
    Assuming this is possible, I'd at least need a pointer to the main window to start with. How can I get the main window's pointer from within this separate nib file, please?
    Thanks in advance
    Ernie

    Thanks guys. I've figured this out now!
    Ernie

  • Launching app window from other implementation file

    Hi. I am developing an plugin for OsiriX. In that app i have 3-4 nib files. Also in for plugin there are files (.h & .m) called PluginFilter where method called - (long) filterImage:(NSString*) menuName is present from which the plugin start execution. Now my problem is that, I have return the code to launch main window is in some other .m file and I have to call that file using the method mentioned above.
    Following is my .m file from where I am trying to call the main window controller
    import "XGridInOsiriXFilter.h"
    import "MainWindowController.h"
    @implementation XGridInOsiriXFilter
    (void) initPlugin {
    (long) filterImage:(NSString*) menuName {
    MainWindowController *mainWindowController = [[GridSampleMainWindowController alloc] init]; [mainWindowController showWindow:self ]; [mainWindowController release];
    return 0; }
    @end
    But its not launching the main window. How can I overcome this problem.
    The program is showing no warnings and no errors.

    Why don't you use the web.show_document(url, '_blank') built-in?

  • Multiple Output formats from Single Source File? (Like Squeeze)

    I'd really love to be able to batch process encodes in the following manner:
    Drop my source video file into AME CS5, select an MP4 preset, and then have it encode multiple bitrate versions while adding filename extensions [e.g. _High (700 kb/s), _Mid (550 kb/s), _Low (400 kb/s)].
    The simple answere is to drop, or duplicate, my input clip 3 times and just select 3 presets I could set up under the Hi, Mid, Lo parameters. But that's exactly what I'm trying to work around. I encode video ads for major web-video sites, and the volume is just manageable to batch process these (drag and drop large quantities, select multiple presets at once, hit Start.) To handle each ad we service would be far too time consuming, even for as simple as AME makes it to duplicate/choose new preset. (In the end, our ads jump onto our FTP via AME's FTP upload option, one of it's smartest features!)
    We have quite a bit of encoding resources here at work, but AME has been giving us the most favorable results. Other options, such as Sorenson Squeeze, let you import your source clips, then apply 2 or more presets to them, before encoding the whole batch. Is there any similar functionality in Media Encoder? (Really don't want to move our workflow into Squeeze, with it's inferior MP4 encoding.)
    Does anybody have any experience with this sort of high-volume multiple-outputs from individual source files? Any tips with scripts or Apple's "Automator" that could streamline this type of batch processing?

    Any update on this ability?  We create many in house videos that need to be encoded to 14 different
    bitrates for use with Flash Media Server as dynamic http streams.
    Currently when I am ready to export a finished sequence, I will pick my first preset and queue it in AME.  Then I duplicate that thirteen times, setting each of the new thirteen queued items to their appropriate bitrates.  Then I have to change each of the output names to be "filename_bitrate.flv".
    This process is much slower when queued in AME than if I exported each individually from PP.  I just don't have the time to manually export each version.
    I have also started noticing that some of the last few projects won't render beyond the quality of the first queued item.  Do I need to render the largest bitrate file first?
    Any indication from Adobe on the correct workflow to create multiple bitrate files to be consumed by FMS as dynamic http streams would be appreciated.
    The link above is dead.  Does anyone have an updated link to the document above?

  • How to pass values from single Databank file across different scripts?

    Hi Guys,
    I have a question regarding using single databank file across different scripts.
    Lets say there 5 web service scripts and these are very generic scripts where the input/request xml schema of each script is parameterized without having any databank as script asset.
    These 5 web service scripts are like library functions and so we dont want to attach any databank as script asset.
    However I have a driver script to call all of these 5 library scripts and now I attach a databank (a .csv file) to the driver script as script asset. Say this .csv file has got 10 different columns with just single record/row.
    As and when the function call goes to those 5 scripts i.e one by one, then based on the function call the corresponding columns are used and the data for those columns must be read.
    Is there any solution to acheive this?
    Faster help is highly appreciated.

    Hi JB,
    what i was looking for, was an approach to use a databank file (.csv file) in a parent script and then by reading that .csv file, the data should be moved from the parent script to individual child scripts.
    The child scripts are very generic scripts and are like library functions which are not data dependent. they are fully parameterized and they dont have any sort of databank attached to them.
    Now the question is if the databank has got 10 columns where first 3 columns belong to one child script, second 3 columns belong to 2nd child script and so on.
    Then how do we pass the values from parent script to a child script and what is the best/recommended approach.

  • Multiple idocs from single flat file

    Hi All
    I want to send data from a flat file to SAP(file to idoc)
    My flat file structure is
    id,name,number,city
    2,R1,234,SD
    2,R2,457,MD
    3,R4,789,HG
    3,R6,235.HG
    The Field 'id' will change..after  every change in 'id' ,seperate idoc should be created.
    I have checked the following thread.
    Re: Content conversion for seperate idoc
    In the above thread ,it is asked to map v.no with remove context and use SPLIT BY VALUE on value change then do the mapping accordingly ,you can create 3 idocs for the same.
    I'm confused about how to do these mappings.
    Please explain the mapping in detail.
    Please help
    Regards
    Reema

    if  your source data type is like
    MT_Source
        Record           0-unbounded
           id                    ----1
           name              -----1
           number           -----1
           city               -------1
    then in the sender file communication channel you have to specify  file content conversion parameters as
    Parameter name               parametervalue
    Document Name                 MT_Source
    Recordset Structure           Record,*
    choose + to add more parameters
    Name                                  Value
    Record.fieldSeparator                      ,
    Record.fieldNames                        id,name,number,city
    Record.endSeparator                      'nl'
    then do the maping
    as
    id ---->removeContext---->SplitByValue(Value change)---->Target Idoc
    map according to your requirement for other fields

  • New browser window from single movie frame?

    Sorry but I am a total newbie>
    I have a 4 frame movie imported into one layer and want to
    specify a different URL to be opened in a separate window for each
    frame. So I have made each frame a keyframe and added from the
    behaviors a geturl event for each frame. When this is published it
    loops the movie and opens a new browser window for every frame for
    every loop, resulting in dozens of browser windows. How can I make
    this a mouse clickable event so only when I click on a frame will
    the new browser window launch?
    I am trying to use onrelease, but I am not sure how this
    should work as I can't find a good example.

    1) you can't 'click on a frame' in the SWF file when it's
    running, you must click on a 'button' or 'movieclip' instance the
    you construct ON a particular frame, or all in the same frame with
    different buttons on theStage.
    2) you need to add a 'stop()' action to your actions layer to
    stop the SWF from 'playing' which is why it continues to open more
    windows, MovieClip timelines play and loop by default.
    3) more information that you will ever need is located in the
    Flash Help files(F1) along with many tutorials to learn the basic
    concepts, open them and go to 'Getting Started in Flash' to learn
    some basics.

  • How can i duplicate records from a flat file to a cube

    Hi all,
    i got the next problem, i m loading a flat file, fur example:
    Material KF1 KF2
    A 10 12
    B 25 30
    01 02
    I Need duplicate the records for material A and B but with the values of Not assign, in other words the result in the cube would be like this:
    Material KF1 KF2
    A 10 12
    B 25 30
    01 02
    A 01 02
    B 01 02
    How can i do this, i know this must be a rutine, but where in the star? final? expert rutine? and how would be the code to do it, help guys and thanks!

    you can use end routine to accomplish that...
    hope the below code helps...
    DATA : IT_RESULT_PACKAGE LIKE TABLE OF RESULT_PACKAGE.
    DATA : WA_RESULT_PACKAGE LIKE RESULT_PACKAGE.
    SORT RESULT_PACKAGE BY MATERIAL.
    IT_RESULT_PACKAGE[] = RESULT_PACKAGE[].
    LOOP AT RESULT_PACKAGE ASSIGNING <RESULT_FIELDS>.
    READ TABLE RESULT_PACKAGE INTO WA_RESULT_PACKAGE WITH KEY MATERIAL IS INITIAL BINARY SEARCH.
    IF SY-SUBRC = 0.
    WA_RESULT_PACKAGE-MATERIAL = <RESULT_FIELDS>-MATERIAL.
    APPEND WA_RESULT_PACKAGE INTO IT_RESULT_PACKAGE.
    CLEAR WA_RESULT_PACKAGE.
    ENDIF.
    ENDLOOP.
    CLEAR RESULT_PACKAGE[].
    RESULT_PACKAGE[] = IT_RESULT_PACKAGE[].
    this code will be suitable only if the material as unique entry with initial value...
    else you would require to use a loop statement instead of the read statement which has been used...
    rgds, Ghuru

  • Multiple idoc segments from single flat file

    hi,
    I want to upload data throught LSMW,   in a single row i have many item. can anyone give me idea, how to proceed.
    2.  i have to show a custom error report linked to lsmw.. how to do it..
    waiting for your reply
    Thanks & Regards
    Dinesh

    What object do you need to load?
    What exactly is in the file (what kind of data) ?
    If it is a simple file with few fields, then i think a recording is the fastest methods. It does give you a detailed error log.
    But all this depends on the file you have

  • Opening a dialog window from the JSX file

    I can open a new window in a normal jsx script with
    var dlgMain = new Window();
    dlgMain.show();
    But this code will give an EvalScript error when run inside a JSX file in an HTML5 extension. (What I actually need is to open a file selector window and get the full path of the file). How can I do this with an HTML5 extension?

    Solved with the following code:
                        var inFolder = File.openDialog("Select File");
                        var idPlc = charIDToTypeID("Plc ");
                        var desc1 = new ActionDescriptor();
                        var idnull = charIDToTypeID("null");
                        desc1.putPath(idnull, new File(inFolder));
                        var idFTcs = charIDToTypeID("FTcs");
                        var idQCSt = charIDToTypeID("QCSt");
                        var idQcsa = charIDToTypeID("Qcsa");
                        desc1.putEnumerated(idFTcs, idQCSt, idQcsa);
                        var idOfst = charIDToTypeID("Ofst");
                        var desc2 = new ActionDescriptor();
                        var idHrzn = charIDToTypeID("Hrzn");
                        var idPxl = charIDToTypeID("#Pxl");
                        desc2.putUnitDouble(idHrzn, idPxl, 0.000000);
                        var idVrtc = charIDToTypeID("Vrtc");
                        var idPxl = charIDToTypeID("#Pxl");
                        desc2.putUnitDouble(idVrtc, idPxl, -0.000000);
                        var idOfst = charIDToTypeID("Ofst");
                        desc1.putObject(idOfst, idOfst, desc2);
                        executeAction(idPlc, desc1, DialogModes.NO);

  • Need to load and unload swf from single htm file

    I need to load or unload swf file or we can say that i need load 3 project one by one in current window

    mit,
    So are you saying you need to have one swf file call a second file to play, then call a third to play...
    Which Captivate version are you using?
    Are the swf files all captivate published swf's?
    Do you have access to Flash Professional and if so what version?
    how are you running your file, is it scorm packaged or just html based?
    I may be able to help with your issue, but need these details.

  • Install windows from iso on older mac

    Hi everybody
    I have a mid 2010 MacBook Pro (15"), running Yosemite, and I want to install Windows on it using bootcamp.
    Since my optical drive doesn't work properly, I hope for installing windows from an iso file.
    The problem is the system's bootcamp assistant have not such option.
    Is there a workaround for it?

    You can modify the Bootcamp info.plist using Enable Bootcamp to install from usb for OSX 10.9**WORKS** , but for Macs with built-in Optical drives, BC Assistant sets the CSM-BIOS layer to boot from the Optical drive. There is no way for a user to change it. Some 2011/2012 Macs allow a USB/ISO combination, but older Macs will run into issues with Keyboard and Mouse drivers which may not work.

  • Boot Windows from VHD

    Hey.
    I have to work with Windows Server 2012 for a university project but my laptop doesn't have Intel VT-x. I know that it's possible to boot Windows from a VHD file, in Windows I just need to add the file.vhd to MBR.
    Can I boot a VHD file with Windows on it from syslinux? If yes how I install Windows on the file using Linux?
    Thanks in advance,
    Hugo Rodrigues.

    GloW_on_dub wrote:Not sure to understand, why not use virtualbox ?
    Because my laptop doesn't support Intel VT-x and Windows Server 2012 it's only available in x86_64 and I only can virtualize x86 systems
    ayekat wrote:
    It's very unlikely that you can simply boot directly from a VHD file without some sort of hypervisor (since there is a non-negligible amount of virtualisation going on here).
    According to this, you are not really "adding the file to the MBR", but rather adding an entry to the Windows-bootloader to take the file into account. I suppose that behind the scenes it's loading some kind of Microsoft Virtual blabla to launch the system that's on the VHD.
    This was just to clarify; I cannot tell you whether it is possible from syslinux or GRUB, but it will probably invole a lot of hacking, since you need to load some hypervisor like VirtualBox, VMWare or at least qemu/KVM.
    I know it's possible to do it with a VHD with a Linux OS. Look up in here
    ayekat wrote:The fact that your hardware does not support hardware virtualisation (Intel VT-x), is annoying...
    Yeah it kinda sucks
    Last edited by Hugao (2014-05-07 14:53:44)

  • Loading a window from nib

    Hi,
    let me try to explain what i want. I have an empty nib file and i've added a panel to it that is used as a sheet. Now normally what i wold do with multiple windows is as follows:
    a) user performs some action to activate the new window
    b) the window is instantiated and shown until the user closes it
    c) some action is performed and the window is destroyed
    How could i do that in cocoa? I don't need any explanation on how to use sheets, all i need is pointers on how to instantiate a panel from the nib and then release it. I'm currently using nsbundle's loadNibNamed, but this instantiates the panel immediately. Is there any way to instantiate it manually and destroy it when not needed any longer? Ideal solution would be a if the window was read from the nib every time instead of loading the nib to memory.

    Hi,
    this is why Cocoa/Objective-C code tends to get less spaghetti. Try to follow a strict MVC design paradigm and you will be happy whenever you need to adjust the code. More code often is a good thing, especially if you need flexibility.
    Delegates and owners (as it is the case of a NIB) are powerful solutions to write real OO code. Only the window controller of this window is responsible for how it should behave etc.
    Of course you can have multiple windows in a single NIB and connect them via IBOutlets to one class. So you could control the window from one controller - especially if it is more a panel like window, that rarely pops open.
    Volker

  • Location of File Containing Data for "reopen all windows from last session"

    I'm a heavy-duty Safari user and usually keep 100+ tabs and windows open, carefully invoking the command "reopen all windows from last session" each time I restart. Unfortunately, I screwed up today and started and quit Safari without invoking "reopen all windows from last session," and all of my open tabs and windows are gone.
    I can recover the tabs manually using my history listings, but there must be an easier way: the information about the last session has to be stored somewhere. I did a Deja Vu backup on Friday and today I copied the files /~user/Library/Preferences/com.apple.Safari.plist and all the files from /~user/Library/Safari, including HistoryIndex.sk, History.plist, and LastSession.plist, from my backup to my hard drive, but the result was unchanged (that is, my 100+ tabs and windows were nowhere to be found).
    Given the time it takes for Safari to shut down, I assume it's storing a large history file somewhere, if only I knew where. Does anybody out there know or could otherwise help my recover from my stupidity?
    Thanks in advance.
    -- Kevin
    (proud Mac user for 23 years)

    I found a work-around. Since I frequently quit Safari and "reopen all windows from last session" upon restart, my history reflects all of the open tabs and windows contiguously. I thus reloaded the history file, invoked the command "History --> Show All History," found the most recent such contiguous history listing, shift-clicked and selected all relevant listings, and then double-clicked. All of my formerly open tabs and windows were reopened in tabs within a single window. I had to go back and rearrange things but it was far simpler than manually reopening all of those tabs and windows.
    -- Kevin

Maybe you are looking for