Re: LaunchPad 03

new topic     » goto parent     » topic index » view thread      » older message » newer message

Antonio Alessi wrote:
> 
> Al Getz wrote:
> > 
> > Hi Antonio,
> > 
> > The 'open with' list would refer to the list of files to be
> > opened with the same program, if that program accepts multiple
> > file opens (ie probably a multiple document type program, or
> > else have the program open several times for different docs).
> > The 'close' list would be a list of any programs associated with
> > that button.  I guess each item on this list would have to
> > accept drops from files (as you tried with Explorer) so that it
> > can register that file with the program.
> > 
> > I guess two 'modes' of operation would be appropriate:
> > mode one where the user registers all their programs and files and
> > mode two where the user actually opens all this stuff.
> > 
> > Yes, the main window accepts drops from Windows Explorer, and creates
> > a button (you get the message that it's not a shortcut but it will
> > create the button anyway right? ).  This was meant to make it easy
> > to create buttons directly from Windows Explorer files (ie exe programs
> > or text files or whatever).  If you already have your system set up
> > to associate an exe file with a document file you can drop that doc type
> > file onto the main window and get a button that opens the file with
> > the associated exe program.
> > 
> > One thing i havent done yet is get Internet Explorer drops to work,
> > ie when you drop an internet path onto the main window directly from
> > IE (it does accept internet paths from the shell however).  This
> > must be a different clip format so i'll have to look into what format
> > this is and how to access the data.
> > 
> > 
> > Al
> > 
> 
> Hi Al,
> 
> I'm not sure that a list of files to be opened with the same program 
> could be really useful: multiple files change frequently, even during 
> the same session, so they should be updated every time. 
> For that is much more suitable a program with the default autoload. 
> Programming this task should not be "expensive" then.
> 
> Ok for the 'close' list, but at this point I have lost how to create
> the startup programs multi-list; but I'm sure not you :)
> 
> LaunchPad 03 
> ____________
> 
> Feedback: 
> }}}
<eucode>
> I met some problems with the WinClass:
> D:\EUPHORIA\utils\WinClass1006r\launchPad\LP-400.exw:4
> can't find GetStartupDir2.ew in D:\EUPHORIA\utils\WinClass1006r\launchPad
> or in D:\EUPHORIA\include
> include GetStartupDir2.ew as GSD
> </eucode>
{{{

> other required files by your prograqms are missing:
> }}}
<eucode>
> GetStartupDir.ew
> UpperSort.e
> pathops.e (pathops.ew could replace it)
> </eucode>
{{{

> I had problems trying to rename Launchpad tabs (I did, but it was not easy).
> 
> 
> Some more suggestions?
> 
> .Reduce the frames and buttons size, the Launchpad will be soon populated.
> .Free the unused Lauchpad window space; the display is always too small.
> 
> .Create 2 or 3 small buttons (can take them ready from dEbUg_magic_box.ew) 
> for the automatic resizing of the window (1) with tabs only as default, 
> (2) with the 3 options to check, and (3) with the lower text box when needed)
> 
> .Set default work dir as the default program start dir; the user can change
> 
> it if needed.
> 
> .could the Launchpad allow to drag and drop a file into an editor by its
> button?
> Since a button for a text-file can be set - thanks to the system's "open with"
> -
> suppose the editor is opened already: if I launch then a file to be edited
> it could replace that currently loaded, or open a new instance of the same
> editor;
> to avoid this enough to drag the file into the editor: so, having the
> Launchpad
> 
> ready, we could drag the button instead of searching that file through 
> an Explorer folder (it is too much slow to load files by the program menu! 
> I rarely use it..). This way the Launchpad could become a sort of multivalent,
> 
> dynamic pad for hot objects.
> 
> 
> It should be enough for a Sunday :)
> 
> antonio


Hello again,

Well guess what?  I changed my mind too about creating and maintaining
an 'open with' list.  Instead, i'll keep it simple by having a single
line in the list correspond to one .exe (or other) program.
This way the lines in the list will look like a batch file, almost.
BTW i did try the batch file thing and it does work, just a bit monitor
flashing.
Once i get the 'open' list for each button working, i'll work on the
'close' function.

I guess this will mean the following:


1. A tab button or tab display area will accept drops from another
   button from the current tab to create a new button.

2. Only the tab display area will accept drops from other Launch apps
   or from Windows Explorer or from an OLE enabled text app
   (like Wordpad for example) for creating new buttons.

3. For associated a file to be opened with a current button, drops
   will be accepted onto the button face but then the user will have
   to be prompted to decide to either:
   a.  Create a new 'open' file (like an exe program)
   b.  Create an association to an already present exe program (from a.)
       (like a text file for Notepad for example).  This will join
       with the last exe type file already present, unless it already
       has one and then it will create a new line with the same exe
       program named first (like: Notepad MyText.txt).

I guess next will be the 'close all' list, which will required finding
out how to track programs open with the ShellExecute command so they
can be closed individually.


Take care,
Al

And, good luck with your Euphoria programming!

My bumper sticker: "I brake for LED's"

 From "Black Knight":
"I can live with losing the good fight,
 but i can not live without fighting it".
"Well on second thought, maybe not."

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu