- Help - specify *.ico or Folder path on Input on click button

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • melissa
    No longer a forum member
    • Feb 2007
    • 107

    - Help - specify *.ico or Folder path on Input on click button

    Hi Every one

    How i can specify *.ico path or Folder on click button , and it will appear in Input

    example :

    i made 2 buttons

    - The first button is for *.ico , to specify the path of the icon

    - the second button is for a folder , to specify the path of the folder

    it should be something like this picture



    is not bring the icon or the folder , i want just browse or specify the path in Input

    thank you
  • melissa
    No longer a forum member
    • Feb 2007
    • 107

    #2
    i still waiting people

    Comment

    • Mina
      Forum Member
      • Oct 2005
      • 630

      #3
      That's pretty simple. You should try reading the Help file, and search the forums before asking. Im sure you would've found an answer.


      --for ico
      Code:
      icoF = Dialog.FileBrowse(true, "Locate File", _DesktopFolder, "Icon Files|*.ico|", "", "dat", false, false);
      if icoF[1] ~= "CANCEL" then
      Input.SetText("Input1", icoF[1]);
      end
      --for folder
      Code:
      Fpath = Dialog.FolderBrowse("Please select a folder:", "AutoPlay\\Docs");
      Input.SetText("Input1", Fpath);

      Comment

      • melissa
        No longer a forum member
        • Feb 2007
        • 107

        #4
        Thank you Mina for help , but witch help you mean ? is autoplay media studio help ?

        if you mean that , i don`t think so i`m gonna find the code as you gave me

        i been looking in forum but i didn`t find what i want , i donwloaded 47 example

        but is not helping me so i wrote my question in forum .

        thank you again .

        Comment

        Working...
        X