• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Multiple file extensions in openpanel

Scheduled Pinned Locked Moved Developers' Forum
24 Posts 6 Posters 1.6k Views 6 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    Chris Fullmer
    last edited by 4 Feb 2009, 19:33

    Agreed! I'm excited!

    Chris

    Lately you've been tan, suspicious for the winter.
    All my Plugins I've written

    1 Reply Last reply Reply Quote 0
    • T Offline
      Tyler Miller
      last edited by 26 Feb 2009, 18:56

      Hey scripters -

      Our new Ruby API documentation site is up! Better docs, examples, tutorials, etc. Let us know what you think.
      http://code.google.com/apis/sketchup/

      -Tyler

      1 Reply Last reply Reply Quote 0
      • T Offline
        thomthom
        last edited by 26 Feb 2009, 19:04

        @tyler miller said:

        Hey scripters -

        Our new Ruby API documentation site is up! Better docs, examples, tutorials, etc. Let us know what you think.
        http://code.google.com/apis/sketchup/

        -Tyler

        Oooohh! 😍 πŸŽ‰

        This ought to be a SCF announcement!

        p.s. any chance of getting a compiled PDF? (yea I know, some people* keeps asking for more... 😳 )

        **** me***

        Thomas Thomassen β€” SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

        1 Reply Last reply Reply Quote 0
        • A Offline
          Al Hart
          last edited by 26 Feb 2009, 19:35

          For the record, (and to return to the original posting in the thread, I type the sample for UI,openpanel from the documentation into the new SU 7 Ruby console

          chosen_image = UI.openpanel "Open Image File", "c;\\", "Shapes.jpg"
          

          It works ok (but begs the question of why you would supply and existing path and file to UI.openpanel).

          When I change it to use wildcards,

          chosen_image = UI.openpanel "Open Image File", "c;\\", "*.jpg"
          

          It shows _.jpg as the file name (underscore instead of *) and does not filter for .JPG files.

          Al Hart

          http:wiki.renderplus.comimageseefRender_plus_colored30x30%29.PNG
          IRender nXt from Render Plus

          1 Reply Last reply Reply Quote 0
          • 1
          • 2
          • 2 / 2
          • First post
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement