Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 11:55:33 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  Mach Screens
| | |-+  How to load file without using explorer.
Pages: 1   Go Down
Print
Author Topic: How to load file without using explorer.  (Read 553 times)
0 Members and 1 Guest are viewing this topic.
jrobson
Active Member

Offline Offline

Posts: 78


View Profile
« on: June 30, 2011, 03:41:56 PM »

As title says, again need to load a file without using explorer, which requires too many tab button pressings.

Is there an alternative way to create a file list from the hard drive and select a file from the list for mach to load?
Logged
Sargon
Active Member

Offline Offline

Posts: 99


View Profile
« Reply #1 on: July 05, 2011, 05:01:26 AM »

You would have to write a script to read the filenames and display them in a dialog box. This would be a fairly advanced script using dialog functions available in the scripting.

In short, it can be done, but only if you're willing to work at writing it. I can help you along if you want to try and write it, but it's too much for me to write at this point, I just don't have time to wade through the configuring of the dialogs and figuring out the logic required to move through the directories. Displaying just a single, pre-determined directory would be much easier than a complete explorer replacement, but again it will take some effort to put it together.

In short, this is very achievable, just waiting to be written!

Let me know if you want some help.

Chris
Logged
jrobson
Active Member

Offline Offline

Posts: 78


View Profile
« Reply #2 on: July 05, 2011, 09:14:40 AM »

Hi,

Thank you, I've thought about your solution, it should work but is a bit of coding.
I've hired someone to try and hack the windows box... I don't know if it will be possible, if not then I will ask the developer to look into using the screen to do it instead...

Logged
Sargon
Active Member

Offline Offline

Posts: 99


View Profile
« Reply #3 on: July 06, 2011, 07:29:05 PM »

What about writing one in Visual Basic (ie 6.0 or .net)? There's probably even open source code you can use that's already complete. Simply link to the dll in a vb script and load the file it returns. Should be fairly quick and you can change it's behaviour at will.

Just an idea.

Chris
Logged
jrobson
Active Member

Offline Offline

Posts: 78


View Profile
« Reply #4 on: July 07, 2011, 02:31:37 AM »

Okay I see what you mean Chris, I didn't even think of that(not a software programmer), thanks, yes that will work great with so much less effort!
Logged
Sargon
Active Member

Offline Offline

Posts: 99


View Profile
« Reply #5 on: July 07, 2011, 05:55:11 AM »

No problem at all. Have fun with it! It's amazing how a little bit of code can make life so much easier.


Chris
Logged
jrobson
Active Member

Offline Offline

Posts: 78


View Profile
« Reply #6 on: September 01, 2011, 06:38:53 PM »

Okay done with the file manager and g editor, now to enable to manager to pass a file to mach. How would I go about explaining to the developer to "mark" the file in the file manager that then gets sent to mach?
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!