Select Directory



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 16/05/2009 at 17:31, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   11.021 
    Platform:    Mac  ;  
    Language(s) :     C++  ;

    ---------
    fn.FileSelect(FSTYPE_ANYTHING, GE_CHOOSE, "Choose a Directory")

    This used to say "Choose" on Macs in version 10 and earlier. Now says "Open." Any way to make it say "Choose" again?



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 16/05/2009 at 19:22, xxxxxxxx wrote:

    I hope you meant GE_DIRECTORY. Doesn't seem to be a GE_CHOOSE option. Otherwise this might be a change in R11 or a change in Mac. Did you change versions from OS 10.4 to 10.5 recently?



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 16/05/2009 at 19:32, xxxxxxxx wrote:

    Yes, I meant GE_DIRECTORY! Sorry, my head was in two places at once when I posted. My source code is correct, just posted it wrong here (I retyped instead of copy-pasting).

    fn.FileSelect(FSTYPE_ANYTHING, GE_DIRECTORY, "Choose a Directory")

    I am on version Mac OS 10.5.6. This is a problem in C4D 11 - the same code does not produce this issue in C4D 10.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 16/05/2009 at 20:30, xxxxxxxx wrote:

    If this one of the action buttons at the bottom, I'd say it is an internal thing and you have no control over that. With FileSelect() you really only have control over the type, the options, and the title.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 17/05/2009 at 01:34, xxxxxxxx wrote:

    Yes, I think so, too. If its really sooo important to get "Choose" instead of "Open" you might use a library of OSX and create your own filedialog instance.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 17/05/2009 at 01:35, xxxxxxxx wrote:

    hi, I think so too. If its soo important to get a "Choose" instead of "Open" you might use one of the libraries of OSX to create your own filedilog instance.

    bye

    p.s. btw, any ideas why the filedialog on OSX in Cinema needs about a second to be opened even the standard directory is just the Desktop and no external drive?



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 17/05/2009 at 05:30, xxxxxxxx wrote:

    Sometimes this is the same on Windows.
    I guess the dialog has to cache the directory structure first. How long that takes, depends on the amount of folders and subfolders and you hard disk, and also on the degree of fragmentation.

    Cheers,
    Jack



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 17/05/2009 at 06:03, xxxxxxxx wrote:

    Would agree if this would be the problem in other apps, too. But the dialog will be opened immediately in other apps. Only Cinema 4D has this problem. Hmm...

    And the second feature request: It would be nice to see a suffix-dialog. I mean a a dialog where all files are unselectable which does not match a specified suffix.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 17/05/2009 at 08:34, xxxxxxxx wrote:

    Maybe other applications cache the directory structure at an earlier point? And Cinema starts caching when the dialog is opened (and maybe doesn't keep the structure in the memory).

    And yes, I also would like very much to have the file extension/suffix in the Open and Save dialog. By now, I can only help myself on Windows by pre-defining a filename like "*.foo" and passsing it to the dialog when opening.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 25/05/2009 at 08:02, xxxxxxxx wrote:

    There is currently no CINEMA 4D SDK only way to change the title of the open button of the file requester.

    cheers,
    Matthias


Log in to reply