x2 + LiteStep = goodness - It works!

Chitchat about x² / 2X products

Moderators: fgagnon, nikos, Site Mods

subterrane
New Member
Posts: 2
Joined: 2002 May 16, 18:48

Post by subterrane »

It seems to work just fine. I got an assertion error, but now it wont reproduce.
User avatar
nikos
Site Admin
Site Admin
Posts: 16341
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

thanks

a few litestep users have given feedback already so the news are rather pleasant in that front
tad
New Member
Posts: 2
Joined: 2002 Jun 23, 08:13

Post by tad »

:ok: i second this. works great, as did 2x; although i'm not sure how you could make a program incompatible with LiteStep, anyway. any plans for implementing all the things that made 2x great (ie, dual panes, shortcut buttons, etc)? thanks for all the hard work.
User avatar
nikos
Site Admin
Site Admin
Posts: 16341
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

xplorer² (aka x2) is an alpha project aiming to build & validate a brand new kernel for file management. Once that's ok, all the other bits & pieces will be bolted on
Mguel
Member
Member
Posts: 9
Joined: 2002 Aug 08, 02:33

Post by Mguel »

Hi,

I have been using litestep for a while, and tried recently 2xExplorer and it's really a great software.

One thing I miss though it to be able to open it maximized. This is discussed on some place and you recomend to set this on windows shortcuts. The bad thing is that I have a litestep shortcut to start 2xExplorer so I haven't been able to manage to open it maximized.

Is there a way to do it? maybe a command line?

Thanks in advanced
Mguel

PS: Win2000 + Litestep + 2xExplorer Z1
User avatar
nikos
Site Admin
Site Admin
Posts: 16341
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

are litestep shortcuts different from normal shortcuts? Don't they have a "Run" box where you can specify the window size? (i wouldn't know, perhaps some other litestep user can illuminate us all here)

another thing you can do is to save a layout (see View | Layouts menu) in the maximized state and then activate it every time you start 2x with just one keypress like [Ctrl+7]
Mguel
Member
Member
Posts: 9
Joined: 2002 Aug 08, 02:33

Post by Mguel »

Hi, first of all, thanks for answering.
are litestep shortcuts different from normal shortcuts?
Yep, to put it clearer I'll give some detail. To configure them you do it through the step.rc file, a text file which you edit to configure litestep. The syntax for a shortcut on Litestep it is:

Code: Select all

*Shortcut [CAPTION] [X] [Y] [NORMAL.BMP] [HOVER.BMP] [CLICK.BMP] #[GROUP][FLAGS] [HOVER.WAV] [CLICK.WAV] [ACTION] 
So for a shortcut to 2xExzplorer it could be as follows:

Code: Select all

*Shortcut "2xExplorer" 15 580 2xExplorer.png #1 "C:\Program Files\2xExplorer\2xExplorer.exe"
And the [ACTION] does support command line, i.e. before using 2xExplorer on the action part of my "file manager" shortcut I had: "explorer.exe /e, D:\", so I could use "C:\Program Files\2xExplorer\2xExplorer_Z1.exe /max" for example.
another thing you can do is to save a layout ... just one keypress like [Ctrl+7]
I'll try it at home ;-), but IMHO it would be faster that 2xExplorer remembers its last 'state' (maximized or not), or to have a check box on options to start 2xExplorer maximized or a combo box to: start 2xExplorer with 'n' Layout

But as I said before that is only my opinion so if you think it's a silly feature, just dismiss my suggestion ;)

Best regards,
Mguel
User avatar
rir3760
Member
Member
Posts: 19
Joined: 2002 Feb 10, 00:11
Location: Mexico

Post by rir3760 »

To start 2xExplorer maximized in LiteStep what you need to do is to run a Windows shortcut (2xExplorer.lnk) instead of the exe file (2xExplorer.exe).

In your case the steps needed are:

1.- Browse to your 2xExplorer folder, right-click on 2xExplorer.exe and select "Create shortcut".

2.- Rename the shortcut to "2xExplorer.lnk" and set it to start maximized.

3.- Change your LiteStep shortcut to:

*Shortcut "2xExplorer" 15 580 2xExplorer.png #1 "C:\Program Files\2xExplorer\2xExplorer.lnk"

Recycle and try it.

I tested this method with a Popup entry and it worked, it should work with shortcuts.

---

As a side-note I'm using Windows 98 + LiteStep (2002-05-15 at SourceForge):

2xExplorer 1.3.1.12 works like a poem ;)

2xExplorer Omega & xplorer2 are working OK (no crashes).

HTH
Mguel
Member
Member
Posts: 9
Joined: 2002 Aug 08, 02:33

Post by Mguel »

>I tested this method with a Popup entry and it
>worked, it should work with shortcuts.

But it doesn't. I tryed that work around some time ago but it didn't work, now just in case I made something wrong I repeated the try. 2x opens but not maximized. If I double clic the shortcut (the one I created on 2xExplorer folder, not the litestep one), it opens maximized (I'm saying this to make sure that you wont think that I made a mistake setting the shortcut to be executed maximized, also changed the shortcut name so there could be no mistake in pointing accidentally to the actual exe, and made multiple recycles during the process, and saved the rc file after making the changes too ;-)   )

Nevertheless thanks for the tip. I'll use it for popup.
Regards,
Mguel

PS: using July 26 Indie build, with shortcut2.dll (present on that build)
User avatar
rir3760
Member
Member
Posts: 19
Joined: 2002 Feb 10, 00:11
Location: Mexico

Post by rir3760 »

You are right, with LiteStep shortcuts using:

"C:\Path_To\2xExplorer.lnk"
or
!Execute["C:\Path_To\2xExplorer.lnk"]

in the [Action] section don't work. ???

Still, there are work-arounds to start 2xExplorer maximized using LiteStep shortcuts, for this you need to run a batch file or WSH script file. For example:

'--------------------------------
'-- Batch file - 2xExplorer.bat
@Echo Off
Start /Max "C:\Program Files\2xExplorer\2xExplorer.exe"
'--- End of batch file
'--------------------------------

or

'--------------------------------
'-- WSH File - 2xExplorer.vbs
Dim ows, sAppPath

Set ows = WScript.CreateObject("WScript.Shell")
sAppPath = "C:\Program Files\2xExplorer\2xExplorer.exe"

ows.Run Chr(34) & sAppPath & Chr(34), 3, False
'-- End of WSH file
'--------------------------------

Save the bat (or vbs) file to your 2xExplorer folder and edit your LiteStep shortcut to run 2xExplorer.bat (or 2xExplorer.vbs).


Hope this helps
Mguel
Member
Member
Posts: 9
Joined: 2002 Aug 08, 02:33

Post by Mguel »

GREAT! :D

Thanks a lot, I used the batch file and I finally have 2xExplorer to open maximized with one click.

One question though, on the batch file the " seems to be invalid, since when I use them the batch doesn't work. Luckyly the path to 2xExplorer has no space, but I have other programs in which the path include spaces... do you know if there is a way to define a path with spaces on a batch file?

And thanks again!!!

Best regards,
Mguel

PS: Alt + C it is something really great on new 2xExplorer Z1b (Omega), thanks nikos!
Mguel
Member
Member
Posts: 9
Joined: 2002 Aug 08, 02:33

Post by Mguel »

...using relative paths ;)

Mguel
User avatar
nikos
Site Admin
Site Admin
Posts: 16341
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

i wouldn't know anything about litestep stuff, but the "spaces in path" problem you mention can be circumvented by using the short 8.3 version of the full path, which is guaranteed to be compact

You can use [Shift+Alt+C] in the new Z1 version to get the path in 8.3 format
Mguel
Member
Member
Posts: 9
Joined: 2002 Aug 08, 02:33

Post by Mguel »

Smooth!!!

Thanks,
Mguel