Object Plugin: ExplorerObjects

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • ali215215215
    Forum Member
    • Sep 2010
    • 3

    #16
    ThumbList files of item ComboBox

    i need on viwe files in page ,temperament ThumbList files of item ComboBox no item large ,please need me.
    thanks very much of you

    Comment

    • Cybergraph
      Indigo Rose Customer
      • Feb 2007
      • 1633

      #17
      As far I can see in the help, it is not possible because available options are:

      EXPLORER_LARGEICON 0 Large icon mode.

      EXPLORER_SMALLICON 1 Small icon mode.

      EXPLORER_LIST 2 List icon mode.

      EXPLORER_REPORT 3 Report mode (columns, default mode).

      These are for the ExplorerList; for the ExplorerCombo there are no options for different visualizations.
      We are slowly invading your planet to teach lazy humans to read the user manual.
      But don't be scared: we are here to help.

      Comment

      • Nasroo
        Forum Member
        • Oct 2009
        • 11

        #18
        I've tested the plug-in on win7. I can't open files by double click from the explorer plug-in. Does it support opening files ?
        Also; How can I specify path inside project directory, a relative path ?

        Comment

        • Cybergraph
          Indigo Rose Customer
          • Feb 2007
          • 1633

          #19
          Not everything in life comes ready-made.

          Give a look to the example provided with the plugin (and also to its help file) and you will discover how to select paths, open files and many other stuff.
          We are slowly invading your planet to teach lazy humans to read the user manual.
          But don't be scared: we are here to help.

          Comment

          • Nasroo
            Forum Member
            • Oct 2009
            • 11

            #20
            Originally posted by Cybergraph View Post
            Not everything in life comes ready-made..
            Absolutely, I did that. I used functions provided by the plug-in to open files. I still have some bugs to resolve.

            Thank you very much.

            Comment

            • daneczek76
              Forum Member
              • Nov 2012
              • 1

              #21
              very useful plugin. thank you

              Comment

              • RizlaUK
                Indigo Rose Customer
                • May 2006
                • 5552

                #22
                and your first post was to show appreciation for my work, I thank you
                Embrace change in your life, you never know, it could all work out for the best

                Comment

                • tumnus
                  Forum Member
                  • Jan 2013
                  • 12

                  #23
                  Hi guys

                  I wonder if I can trouble your brains. This is my first post on here. I am trying to create an autorun menu, that opens a navigable explorer such as this, but allows you to double click the files and open them.

                  Not only do I need to open them, but I need to open them using an EXE which is on the same removable disk containing the autorun menu, AND it is a file extension that windows does not recognise.

                  So I have a bit of a task, to be able to double click a file and pass arguments to open it with an EXE on the disk.

                  Can I do this, is it possible? Are there people that can help me do it?

                  I've been messing around with all kinds of autorun menu software and this is the only suite and plugin that comes close.

                  Many thanks

                  Tom

                  Comment

                  • tumnus
                    Forum Member
                    • Jan 2013
                    • 12

                    #24
                    I might add I searched the help html files and could not find anything about making the files open.

                    I tried the script option for open > file but that seems to only be for a file you specify in the script, rather than what's selected in the window. It's at this point I know I'm shooting in the dark

                    Comment

                    • tumnus
                      Forum Member
                      • Jan 2013
                      • 12

                      #25
                      aha!

                      I dreamt hard and added: File.Open(sPath..tSel.Name, "", SW_SHOWNORMAL); and it worked!

                      great plugin. now I have to see if I can over come this unknown exe issue

                      Comment

                      • Ulrich
                        Indigo Rose Staff Member
                        • Apr 2005
                        • 5130

                        #26
                        Check the documentation for File.Run(). The first argument should be the path to the proper executable for opening the kind of file, the second one the argument - the path to the document which was selected.

                        Ulrich

                        Comment

                        • tumnus
                          Forum Member
                          • Jan 2013
                          • 12

                          #27
                          Yeah I thought that, I came up with the following:

                          File.Run("L:\\Viewer\\PDCViewer.exe", "sPath..tSel.Name", "AutoPlay\\", SW_SHOWNORMAL, false);

                          I've got the drive letter in there for test purposes as \\Autoplay wasn't working on preview.

                          The application now loads, but the argument isn't doing anything. I thought it needs another set of quotations (as the program wants the argument in quotes, but that won't work. It may already be outputing in quotes though.

                          hmm

                          Comment

                          • tumnus
                            Forum Member
                            • Jan 2013
                            • 12

                            #28
                            I think the problem is the following line of code requires quotations around the argument for the exe to load the file:

                            File.Run("L:\\Viewer\\PDCViewer.exe", sPath..tSel.Name, SW_SHOWNORMAL, false);

                            But I cannot put quotes into that syntax as "sPath..tSel.Name" no longer works as a variable

                            See the problem anyone?

                            Comment

                            • MadDogDean
                              Indigo Rose Customer
                              • Apr 2010
                              • 672

                              #29
                              Tom,

                              Have a look into the section dealing with concatenation.

                              You can use the "'s but you need to "enquote" them and then concatenate

                              Try:

                              Code:
                              --Your style:
                              "sPath..tSel.Name" 
                              
                              --Enquoting the "
                              
                              File.Run("L:\\Viewer\\PDCViewer.exe", "\""..sPath..tSel.Name.."\"", "AutoPlay\\", SW_SHOWNORMAL, false);
                              In this case the \" escapes the action of the ", so in essence we are using " just like any other string.

                              Code:
                              MyString = "A short string";  <-- this returns [B]A short string[/B]
                              MyQuotes = "\"";  <-- this returns[B] "[/B]
                              Hope this helps.

                              Cheers,
                              MadDogDean

                              Comment

                              • tumnus
                                Forum Member
                                • Jan 2013
                                • 12

                                #30
                                Hi maddogdean thanks that's really helpful I shall try working with that

                                Comment

                                Working...
                                X