Results 1 to 3 of 3

Thread: Open file dialog

  1. #1
    Registered User
    Join Date
    Oct 2009
    Location
    Iceland
    Posts
    55

    Open file dialog

    Hi,
    How knows how to use FileRequester/FileRequester2 in python?
    SDK/lwsdk11.5/html/globals/filereq.html
    SDK/lwsdk11.5/html/globals/filereq2.html

    I need to open fileBrowser for getting fullpath name of file.

    Thanks
    Last edited by Styler; 06-05-2013 at 06:53 PM.

  2. #2
    Registered User
    Join Date
    Oct 2009
    Location
    Iceland
    Posts
    55
    Found it ).
    lwsdk.LWFileReqFunc('hail', 'name', 'initPath' )

  3. #3
    Quote Originally Posted by Styler View Post
    Found it ).
    lwsdk.LWFileReqFunc('hail', 'name', 'initPath' )

    Thank you! I wanted to add a little bit here:

    NewPath = lwsdk.LWFileReqFunc("Select a File to Save to...", ">*.txt", "E:\\Temp");

    The ">" in the file mask says "THis is for saving", so it'll provide the "Do you wish to overwrite?" dialog.
    Go TEAM VAD!! \/

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •