You are here

eXpresso 1.2.? Development Test 3

115 posts / 0 new
Last post
gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
eXpresso 1.2.? Development Test 3

This post is outdated, to get the latest version please go over here

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
Icon

I have heard, but don't know for sure, that editing AutoHotkeySC.bin with Resource Hacker to replace the default icons with custom ones will work... Maybe try that?

Thanks for the release! Biggrin

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
No, I'm talking about new

No, I'm talking about new pause and running icons in the tray.
I'm pretty sure this is because the default running icon is just using the eXpresso.exe icon Sad

I've got all the new AHK icons and NSIS launcher icons all changed though. Smile

Funny, I always thought eXpresso/CAFEMod/CAFE/Coffee was written in C++, now I wish it was :/

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
We're talking about the same icons

We're talking about the same icons, all right. At least, I think we are... I'm talking about eXpresso's Paused and Running tray icons; not any launcher icons or AHK icons. Wink

Before you compile the eXpresso script, edit AutoHotkeySC.bin using Resource Hacker and replace the icons with the appropriate eXpresso ones; then compile eXpresso and the tray icons should be correct.
I haven't actually tried this myself, but I've heard that's how to do it...

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

OliverK
OliverK's picture
Offline
Last seen: 2 years 9 months ago
Developer
Joined: 2007-03-27 15:21
glad you did this Now I

glad you did this Smile Now I don't have to.

Sorry all for not getting this done, I had school work that took priority. gluxon, if you need help, let me know. I haven't done AHK in awhile, but I'll help if I can.

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Go ahead, feel free to steal

Go ahead, feel free to steal it back Blum

lol.

Bruce Pascoe
Offline
Last seen: 12 years 2 months ago
Joined: 2006-01-15 16:14
I miss the old name and icon.

I miss the old name and icon. eXpresso sounds too much like a Java thing. And the tray icon looks a bit like Java, too.

Stevoisiak
Stevoisiak's picture
Offline
Last seen: 4 years 6 months ago
Joined: 2008-02-05 11:22
Agreed

The old name WAS the best...

Still, nice to see this app's revival.

Simplifying daily life through technology

wraithdu
Offline
Last seen: 10 years 9 months ago
Developer
Joined: 2007-06-27 20:22
Cool, I'll download this and

Cool, I'll download this and work on integrating my changes this week sometime.

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
Found a bug

Sorry to rain on the parade, but I found a bug, and a nasty one at that.
Pressing the Enter key will cause some unexpected behavior; for example, try running any multilingual PA.c installer and use the keyboard to navigate it. Here's what happened to me:
* Run installer
* "Select language" screen comes up
* I press Enter, expect language to be English (default)
* eXpresso selects the next item in the language list (Catalan), then allows the enter keypress
* End result: Catalan installer

That's just one example; another is my programming IDE. There are a lot of value-entry fields in the IDE, and pressing Enter doesn't work (i.e. doesn't enter the value in the textbox; it's as if the keypress got "eaten" by a keyboard hook) when eXpresso's running.

(Strangely enough, Coffee didn't have that problem... not trying to poke at eXpresso, just wondering a bit)

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
What? Should I start renaming

What? Should I start renaming Coffee now? Blum

Should be reported to Brian All, if he's active.
[Edit: Nevermind. I'll look at it, thanks :)]
[DoubleEdit: It's not happening to me either Sad Video Example? :D]

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
Strange

I wonder why it's not happening for you...

I'm on Windows XP Pro, with a non-standard PA.c folder. Maybe that has something to do with it?

As for a video demo, I can't put one up right now (on dialup, which takes forever); I'll probably be at the library tomorrow and I'll post a video demo then. Where would you like me to upload it to?

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Yeah. I'm on a crappy Windows

Yeah.

I'm on a crappy Windows 7 RC.

I'd largely appreciate a vid Biggrin

I'm pressing enter at the language presentation screen (english selected). Nothing weird happens.

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
I'll see if I can get you the

I'll see if I can get you the vid tomorrow... where do you want me to upload it?

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

digitxp
digitxp's picture
Offline
Last seen: 12 years 6 months ago
Joined: 2007-11-03 18:33
Bit.ly?

I heard bit.ly has a video sharing service now.

Insert original signature here with Greasemonkey Script.

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
Thanks anyway, I'm going to

Thanks anyway, I'm going to use TinyPic; they're one of my favorite "temp-upload" sites...

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
As promised...

Sorry this took so long; I uploaded it twice to TinyPic before I realized they don't accept SWF files. Sad

Anyway, here you go... http://megaswf.com/view/0bc3678a0c0a73b250a33c670a20734e.html

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

wraithdu
Offline
Last seen: 10 years 9 months ago
Developer
Joined: 2007-06-27 20:22
What window classes do you

What window classes do you have eXpresso set up to interact with? Using the AutoHotKey window info tool, what are the window classes of your PApps Installer and your IDE? eXpresso will let clicks and Enter through to non-matched windows.

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
I just have eXpresso set to

I just have eXpresso set to interact with "TfcForm" (no quotes); FreeCommander uses that window class. That shouldn't be a problem, right?

managedWindows=TfcForm||
runguimode=1

(btw, the problem is happening in Windows Explorer; I haven't even tried FreeCommander with eXpresso yet)

The window class of the PAF installer is "ahk_class #32770" (no quotes), and the window class of my IDE is "ahk_class RBWindow" (no quotes again).

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
Fixed, thanks! :D

The whole bug set (programming IDE, PAF installers, really really slow ENTER keypress handling, etc.) was apparently fixed in the latest release (1.1) - thanks! Biggrin
Coffee can take a flying leap, eXpresso kicks its backside!! WOO WOO!! Biggrin
(Sorry, I'm a little excited :P)

Just one minor thing - you didn't replace all instances of CAFE.... a very minor thing though.

Thanks for the great release! Biggrin

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

wraithdu
Offline
Last seen: 10 years 9 months ago
Developer
Joined: 2007-06-27 20:22
Ummm, I diff'd the sources

Ummm, I diff'd the sources and there's absolutely NOTHING that would have anything to do with your bugs. Seriously, nothing. Maybe this version of eXpresso was compiled with a different version of AHK? Other than that there's no reason it should act any differently.

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
I don't know what caused the

I don't know what caused the bugs... probably a different version of AHK. All I know is this:
* Coffee didn't have the bug
* The first version (1.0) of eXpresso had the bug
* The second version (1.1) of eXpresso didn't have the bug

I'm guessing it's just a different AHK version, but idk...

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Uhh... I'm glad it's fixed

Uhh...

I'm glad it's fixed then Shock

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
You're right. I just added my

You're right.

I just added my copyright and updated some script info. AND added icon pause functions. There's really absolutely nothing that could have made the fix :/

This is a weird program Blum

OliverK
OliverK's picture
Offline
Last seen: 2 years 9 months ago
Developer
Joined: 2007-03-27 15:21
Check the sources for Coffee

Check the sources for Coffee and eXpresso. John said that there's nothing different.

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
I know, which is why this bug

I know, which is why this bug is so weird...

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
I originally only wished to

I originally only wished to update all the eXpresso stuff.
Now it's so much fun I want to take over until Brian gets back Biggrin

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Development Test 2 Released.

Development Test 2 (12-10-09)

  1. FINALLY FIXED the pause/running icons. (Looks like the code was never integrated, the original developers much have just hacked AutoHotKey's S icon or something, correct me if I'm wrong)
  2. Entire NSIS Launcher rewritten
  3. My Copyright added, now that I actually did some stuff (2 days worth of developing!!! :D)
  4. Cleaned up PortableApps.com Format in the App (appinfo.ini, installer.ini, readme.txt
  5. Fixed some more renaming from CAFE to eXpresso issues (forgot the lang files.)
computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
yes, the original devs seem

yes, the original devs seem to have hacked the default AHK icons - that's what I mentioned earlier, remember? Wink
Editing AutoHotkeySC.bin with Resource Hacker will replace the icons, which is apparently what the original devs did...

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Ughghg.... no I wish he just

Ughghg.... no Blum

I wish he just did what I did instead Blum

horusofoz
horusofoz's picture
Offline
Last seen: 6 months 1 week ago
Joined: 2008-04-03 22:45
Nice.

Thanks for taking this over. How to transfer associations from CAFE MOD to eXpresso? Or do you need to start from scratch there?

PortableApps.com Advocate

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
Just copy cafe.ini to the

Just copy cafe.ini to the eXpresso folder, then rename cafe.ini to eXpresso.ini and replace the eXpresso.ini that's already there.
Sorry if that sounds complicated, but it's really not a complicated process...

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

horusofoz
horusofoz's picture
Offline
Last seen: 6 months 1 week ago
Joined: 2008-04-03 22:45
Can you specify folder paths.

Can you specify folder paths. I've tried a couple different locations and still no luck Sad

PortableApps.com Advocate

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Yeah. X:\PortableApps\CAFE\Da

Yeah.

X:\PortableApps\CAFE\Data\settings\CAFE.ini

to

X:\PortableApps\eXpresso\Data\settings\eXpresso.ini

Yeah, so just rename it Biggrin

horusofoz
horusofoz's picture
Offline
Last seen: 6 months 1 week ago
Joined: 2008-04-03 22:45
Hmm..

Not sure why but for some reason this didn't work previously. It was the first place I tried as it was the most logical but didn't work then I tried a couple variations. Working now so most likely an error on my behalf.

Thanks:)

PortableApps.com Advocate

OliverK
OliverK's picture
Offline
Last seen: 2 years 9 months ago
Developer
Joined: 2007-03-27 15:21
You should be able to make

You should be able to make the installer do that for you. Just make a backup first.

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

horusofoz
horusofoz's picture
Offline
Last seen: 6 months 1 week ago
Joined: 2008-04-03 22:45
Note

When double clicking a new extension, Expresso still C.A.F.E. (Accented 'E').

PortableApps.com Advocate

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Hm... do me a favor. Delete

Hm... do me a favor. Delete the Language directory.

Must missed it when I was doing Notepad's Replace function. I searched for CAFE to be replaced by eXpresso.

The difference is that sometimes, it's called C.A.F.E with the dumb E thing Blum

Well, it'll be fixed in the next version.

[Edit: Done, too minor for a new Dev Test though, so get your bugs posted and sent in :D]

horusofoz
horusofoz's picture
Offline
Last seen: 6 months 1 week ago
Joined: 2008-04-03 22:45
Another Minor

In the instructions.txt there is eXpresso Mod instead of Simple eXpresso. This is quite likely elsewhere but haven't looked.

PortableApps.com Advocate

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
O_O eXpresso Mod... lol

Shock

eXpresso Mod... lol Blum

wraithdu
Offline
Last seen: 10 years 9 months ago
Developer
Joined: 2007-06-27 20:22
I'm really gonna try to get

I'm really gonna try to get my mouse hook in there tomorrow for some limited (private?) beta testing. Just haven't had time yet Sad

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
What's the point in a mouse

What's the point in a mouse hook?

BTW, I'm working on the Convey SendTo thing in Brian/Zach's to do list Blum

wraithdu
Offline
Last seen: 10 years 9 months ago
Developer
Joined: 2007-06-27 20:22
I'm hoping it will yield

I'm hoping it will yield better double click detection for a greater number of people. I just have to work out how to handle the other mouse based hotkeys since I'm doing away with the GroupAdd method.

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Uhhhhh.... well, good luck on

Uhhhhh.... well, good luck that that :/

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 3 months 3 weeks ago
DeveloperModerator
Joined: 2008-07-24 18:46
Difference Between eXpresso and Portable File Associator

I currently use PFA for similar functionality.

Can someone explain the differences between the apps?

(NOTE: I have downloaded eXpresso to take look at it, but currently have PFA auto-starting. Obviously, I'd choose one or the other in the long run, and preferably one would be integrated directly into the platform.)

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Both integrate into the

Both integrate into the platform and both have advantages and disadvantages.

PortableFileAssociator uses the registry, which isn't so bad, but a minor downfall. Just means that if you were to suddenly shut off your computer while it's running, that would be bad :/

PortableFileAssociator's advantage is that it can change icons. Horray! Smile
On the other hand, eXpresso can edit do a Type + Run thing and Manage Windows.
But Icon changing are coming in the 2.0 release Blum

I'd chose eXpresso just cause it's partly made by me but it's really your choice Biggrin

BTW, never got PortableFileAssociator to work for me. Just opens the app but not the file IN the app, sorry wraithdu Blum

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 3 months 3 weeks ago
DeveloperModerator
Joined: 2008-07-24 18:46
By integrating into the

By integrating into the platform, i meant as a part of the "stock" platform, i.e., built-in functionality.

wraithdu
Offline
Last seen: 10 years 9 months ago
Developer
Joined: 2007-06-27 20:22
No problem Anyway, I

No problem Wink

Anyway, I reconsidered on my drive home...no mouse hook. However I think the double click and hotkey handling can be better optimized in eXpresso, and I'd like to do that. Any way we can work together on this for a while? I'll only need a day or two to do the work, and it shouldn't impact the overall operation of the app (hopefully it will just improve it). However we'd have to take turns on it Wink

I'm half way through my changes from the latest release source above. Would that be a major setback for your work with the SendTo updates?

BTW, if you're having problems with PFA, I can help with that. And PFA should properly handle both a hard computer crash and a shutdown while the app is running, so no registry hoopla should result Smile

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Thanks. And you don't need to

Blum

Thanks. And you don't need to ask to help me. After all, the dumb thing's GPL. lol Blum

No, it wouldn't be a setback :D. I'm analyzing Convey Portable. It's much simpler than I thought it would be Biggrin

Should be done before the day ends Blum

Thanks Biggrin

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
Two bugs & a patch

There's a bug when you cancel adding an association: the tooltip pops up and says "eXpresso successfully added a new association" or something like that. Here's the patch; it's in eXpresso.ahk, near the end of the code.

If opener
{
opener:=GetRelPath(A_ScriptFullPath,opener)
IniWrite, %opener%, %inifile%, %section%, %extension%
opener:=GetAbsMovPath(opener)
Run, "%opener%" "%filename%",,UseErrorLevel
}

TrayTip, eXpresso, Multiline`nText, 20, 17

#Persistent
TrayTip, eXpresso:, A new association has sucessfully been added.
SetTimer, RemoveTrayTip, 10000
return

needs to be changed to

If opener
{
opener:=GetRelPath(A_ScriptFullPath,opener)
IniWrite, %opener%, %inifile%, %section%, %extension%
opener:=GetAbsMovPath(opener)
Run, "%opener%" "%filename%",,UseErrorLevel

TrayTip, eXpresso, Multiline`nText, 20, 17

#Persistent
TrayTip, eXpresso:, A new association has sucessfully been added.
SetTimer, RemoveTrayTip, 10000
return
}

One other bug I noticed: eXpresso really slows down Enter handling. Without eXpresso running, pressing Enter is handled almost instantaneously; with eXpresso running, there's a half-second lag or so between the time I press Enter and the time it's handled. (This happens in Notepad, in Firefox, in Notepad++, in OOo, and in every other app I use)

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
O_O No offense, but is your

Shock

No offense, but is your computer like, busted or something? Shock
Thanks for finding the Cancel button bug (I added it in 1.1 since it was so annoying that I had to click no and then go in the ini and delete the extention :P).

But the Enter/Return lag isn't noticable on my computer. It's just as fast O_O.
I'm testing on Notepad... AND on this post, lol! Blum

Well, I'm going to look at eXpresso's source code some more to see why it's even hooking the enter button anyway :/

And thanks! Biggrin

[Edit: Wait, I think it's for executing a file with the enter button. If that's the case, I don't see any workarounds at the moment Sad ]

[Double Edit: Fixed, thanks for the code, although you only moved the } thing. I would have added a bunch of variables deciding which button was clicked :'(.]

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
No, my computer isn't

No, my computer isn't busted... it's nearly brand-new (I've only had it for a few months, since September IIRC) and I've been careful not to clutter it up - only 2 of my apps are non-portable... the one "abnormal" thing I've done is analyze a variant of the Goored malware, and I was extremely careful with that.

You're welcome about the Cancel bug... I think it's actually an old bug from CAFE, but don't know for sure. Anyway, just a simple fix... Smile
(And when you said you'd have added a bunch of variables, does that mean my way wasn't as good? Not upset or anything, just curious)

What kind of computer do you have? I'm on Windows XP Pro. (And btw, sometimes the lag isn't there... I haven't been able to consistently reproduce it, but it's there most of the time)

eXpresso's hooking the Enter key to handle file-launching; unfortunately, eXpresso seems to be taking a LONG while to process the keystroke before passing it on.

And one more bug while I'm at it... Sad
If a file is double-clicked in an Open File dialog, eXpresso launches the file. I ran into this a couple of times today... without eXpresso running, double-clicking the file closes the Open File dialog and sends back the double-clicked file; with eXpresso running, the Open File dialog stays up and the double-clicked file gets launched.
I'm going to guess this is due to the eXpresso double-click hook, and that it's not fixable, but I'm hoping otherwise...

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
By adding a bunch of

By adding a bunch of variables, I mean as in more work, less efficiency.

I have no idea how to deal with this :/

Oh well... I'll come up with something eventually Biggrin

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
I actually have a fairly

I actually have a fairly decent idea of how to handle the "Open File" dialog bug, at least...
the AHK window spy tool shows that the "Open File" dialog has a ClassNN of "SysListView321" (no quotes), so maybe tell eXpresso to ignore all windows of that class? (IIRC, Vista and Seven use a different class, though, so that's going to be an extra pain in the backside)

Or maybe wraithdu has a different idea?

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

wraithdu
Offline
Last seen: 10 years 9 months ago
Developer
Joined: 2007-06-27 20:22
I'll take a look at the enter

I'll take a look at the enter thing while I'm optimizing. But yeah...you're haunted for sure.

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Thanks, feel free to add your

Blum

Thanks, feel free to add your name to the Copyright list if you haven't already Blum

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Mystery of the weird pause

Mystery of the weird pause icon solved Blum

https://portableapps.com/node/13453#comment-100185

Brian has been just hacking AutoHotKey Blum
I'm just happy I was able to integrate it into the source... *sniffle* + *tears*

The post also mentions the idea of theming, that's actually a really good idea! Biggrin It'll probably be even easier to integrate than the Convey Send To Biggrin

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Isn't it weird that eXpresso

Isn't it weird that eXpresso doesn't have it's own site for a homepage?

/me wantz to make one

Biggrin

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
Two more bugs... :(

Ok, this will probably firmly establish my computer as broken to you guys... but that's a risk I'm going to run. Blum

First, double-clicking something that isn't a file treats it like a file anyway. For example, open Firefox, go into about:config, and double-click any setting; instead of the pref-editing box coming up, eXpresso traps the double-click and asks if you want to create a file association for the "file".

Next, the "Do you want to add a file association" box frequently freezes - clicking "Yes", "No", or "Cancel" has exactly no effect. Worse still, the dialog appears to be eating all mouse clicks... Sad

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

wraithdu
Offline
Last seen: 10 years 9 months ago
Developer
Joined: 2007-06-27 20:22
I'm getting near to finishing

I'm getting near to finishing my changes. So far so good. I'm still trying to work out one little thing (might just let it go...).

Re: SysListView32... noooooo those are all list views, and that's a control class, not a window class. There's no good way to prevent the thing with the Open File dialog: 1) it has a generic dialog window class (I suppose we could build in a better black list, right now it just blacklists 'Control Panel'), 2) the window title of the Open File dialog can be customized, so it might change.

Oh, and another thing you'll have to handle in your launcher:

When choosing the Refresh eXpresso menu option or removing a managed window class (which triggers the same refresh), the app is relaunched. This tricks your launcher into thinking eXpresso has exited and removes the INI file, oops. My suggestion to work around it would be to have your launcher's RunWait() sit in a loop. Once eXpresso closes, wait like 2 or 3 seconds and see if it comes back (the reload should be near instant). You can use my ProcFunc header here:

https://portableapps.com/node/12561

and use ${ProcessExists} and ${ProcessWaitClose} function to wait for the new instance to close. If no new instance appears within 2 seconds or so, then you can safely cleanup and exit.

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
Re: SysListView32 hmm...

Re: SysListView32
hmm... maybe blacklist modal dialogs? I can't think of a modal dialog that would need eXpresso to intervene...

Re: Refresh eXpresso
You might want to wait longer than 2 seconds; at least on this computer, launching Notepad takes 5-10 seconds depending on what's running. Waiting for 2 seconds could cause problems on slow computers like this one, since eXpresso (non-portable) would be left running after the launcher closes...

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

TaffinFoxcroft
TaffinFoxcroft's picture
Offline
Last seen: 10 years 3 months ago
Developer
Joined: 2006-12-14 17:24
Toast?

It might be an idea to try replacing tray tips with toaster popups, as they are more flexible.
Great work so far guys, can't wait to see wraithdu's fixes.
Regarding the enter lag, you could replace the enter code with #IfWinActive, but this wouldn't work for alternative file managers.
Also, double-clicking on an explorer window to maximise it reloads eXpresso.
EDIT: Why not add in a command line switch to tell it where expresso.ini is? it would avoid having to move the file and fix the problem with the launcher moving it prematurely.

But there’s no sense crying over every mistake,
You just keep on trying till you run out of cake.

wraithdu
Offline
Last seen: 10 years 9 months ago
Developer
Joined: 2007-06-27 20:22
Enter to launch files should

Enter to launch files should be fixed in my build, along with dbl click to maximize a managed window class. gluxon and computerfreaker are testing now. I'm waiting for some feedback if there are any problems or bugs with what I've done.

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
Feedback

Well, I ended up writing a couple of papers this afternoon, so I had plenty of opportunities to use eXpresso. Got testing and school work done at the same time - a rare feat! Biggrin

Anyway, here's what I've got...

* Enter to launch files works
* Double-clicking an Explorer window to maximize it works
* Double-clicking an "about:config" entry in Firefox works
* Enter lag is still present, although the lag seems somewhat smaller

(I think that's all you wanted tested, if there's more let me know)

Definitely some good fixes, wraithdu! Thanks! Biggrin

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

wraithdu
Offline
Last seen: 10 years 9 months ago
Developer
Joined: 2007-06-27 20:22
Is the Enter lag present in

Is the Enter lag present in all apps, or just managed windows (FreeCommander for you I think)? Did you apply the fix I mentioned in my email? Using my build it should be:

managedWindows=TfcForm

What happens when you press Enter on a file/folder in an Open File dialog? It should work properly now as well.

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
Sorry, I hadn't gotten your

Sorry, I hadn't gotten your fix e-mail. I don't have my box pulled up 99.9% of the time... Wink
I just got your e-mail, applied the fix, and the Enter lag is gone. Thanks! Biggrin

Pressing Enter on a file/folder in an Open File dialog works just fine; unfortunately, double-clicking on a file/folder in an Open File dialog starts the rename process instead. (I see you already mentioned that below, sorry)

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

wraithdu
Offline
Last seen: 10 years 9 months ago
Developer
Joined: 2007-06-27 20:22
I'm definitely stuck on this

I'm definitely stuck on this other little thing...if you double click an already selected file on the file name, not the icon, it will trigger the slow-double-click-rename function. This happens when a selected file is clicked on the name outside of the double click time. There doesn't seem to be a time limit here either, I've tried waiting a few minutes between clicks and it still renames the file. The original CAFE had this problem also, and happens because the second click of a double click is eaten by cafe, leading to a single click on a (possibly) already selected file. I can't think of a good solution quite yet.

I wonder if there's an API call to disable this feature? Then we could temporarily disable it then re-enable it.

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
Possibly related:

Possibly related: double-clicking a folder will open the folder and automatically single-click after the folder opens. Not a big deal, just selects the file under the mouse cursor, but it might be a related issue...

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

wraithdu
Offline
Last seen: 10 years 9 months ago
Developer
Joined: 2007-06-27 20:22
Not related, I've fixed all

Not related, I've fixed all the other little bugs you've talked about...just part of cleaning up the code, nothing specific. I've also changed the launcher to accommodate what I mentioned above, which required renaming it to 'eXpressoPortable.exe'. I'm going to send the source back to gluxon, but I can send you the two new EXEs if you want to test. I just need an email address.

@Gluxon
I had Oliver's email address when I was talking to him earlier this week, but not yours. Where can I email you the new sources?

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
Great, thanks! I'd love to

Great, thanks! Smile

I'd love to test the new build... here's how to reach me.
* Take my forum name and add "eatsspam"
* I'm on GMail

Thanks again!

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
O_O bcheng.gt (AT)

Shock

bcheng.gt (AT) gmail.com

I need yours too Biggrin

Stevoisiak
Stevoisiak's picture
Offline
Last seen: 4 years 6 months ago
Joined: 2008-02-05 11:22
File assosiations not remembered

For some reason, my file associations are not remembered when I switch PC's.

I'm gonna try a reinstall when I get home, but I don't think it'll work, considering this is a new flashdrive.

Simplifying daily life through technology

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
No, that's not quite what's

No, that's not quite what's happening. Read the post under this and the following.

Bruce Pascoe
Offline
Last seen: 12 years 2 months ago
Joined: 2006-01-15 16:14
Found a bug

Restarting eXpresso (either via right-click and hitting "Refresh eXpresso" or just relaunching it) causes it to lose all its settings, including associations. Closing it down completely and starting again brings them all back, but still a pretty nasty bug nonetheless. It actually scared me at first, because I have quite a few associations that I don't feel like redoing all over again.

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
wraithdu's private beta fixed

wraithdu's private beta fixed that; it just isn't public yet. Wink

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

Simeon
Simeon's picture
Offline
Last seen: 9 years 5 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
ah

Its that new license called "Selective Open Source", isnt it??? Wink

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 6 months ago
Developer
Joined: 2009-08-11 11:24
No, it's that selective

No, it's that selective license called "Limited testing". Wink Blum

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

wraithdu
Offline
Last seen: 10 years 9 months ago
Developer
Joined: 2007-06-27 20:22
Just to clarify, the cause of

Just to clarify, the cause of that bug is that 'refreshing' any AHK script really means that the script re-runs itself and then exits. This causes the ExecWait command in the NSIS launchers to think the program has ended and so it moves the eXpresso.ini file back to the Data\Settings directory. The new instance of eXpresso then has no INI and reverts to defaults. I'll add it to my list of gripes against AHK...

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Yeah, I would post that under

Yeah, I would post that under bugs but the MY fix is comming.

I don't really like how your method (the loop in the launcher) since it involves renaming the exe to eXpressoPortable.exe Note to Eric Pilsits (That's such a cool name!!!): Don't you DARE work on theming and sendto Blum You could probably do it faster than I can but it ruins all the fun for me Sad

wraithdu
Offline
Last seen: 10 years 9 months ago
Developer
Joined: 2007-06-27 20:22
No problem, the app's all

No problem, the app's all yours.

I'm interested in your workaround. I mean, Portable is pretty much standard naming for PApps launchers, so I'm not sure why you want to break with tradition. Besides the fact that naming the launcher and main app the same is kind of confusing. I see no reason not to keep the Portable moniker in the launcher's name.

The loop in my edit to the launcher was there to catch the eXpresso restart when 'reloading' the script. Didn't it make sense? Or are you saying the really original launcher (before you released your version) had a loop as well? In which case it would definitely make sense as well.

Either way, you planning on a release soon? I'd like to see how you integrated my changes.

EDIT: The simple workaround is to just tell eXpresso where the INI is in the Data\Settings directory and forego the INI copying/moving altogether. Native app support for the PApps directory structure is usually the best way to go when developing apps specifically for the platform.

Bruce Pascoe
Offline
Last seen: 12 years 2 months ago
Joined: 2006-01-15 16:14
Rule of thumb

"[app] Portable" is the convention for apps adapted from a non-portable version, like Firefox. Apps specifically designed for portability--Toucan for example--tend to eschew the convention. Look at Toucan's directory some time--both the launcher and the app itself are named Toucan.exe.

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Exactly. I want eXpresso to

Exactly. I want eXpresso to be one of those apps, like toucan.

If we do rename it, it should at least be eXpresso USB.

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Releasing it right now. I

Releasing it right now.

I wanted to get theming and convey into this, but this bug seems to be a big deal. I'll post a good version without those features for now.

And yes, there was a loop in the launcher BEFORE I rewrote it Sad

wraithdu
Offline
Last seen: 10 years 9 months ago
Developer
Joined: 2007-06-27 20:22
Cool. I'll check it out

Cool. I'll check it out tomorrow.

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Development Test 3 Released.

Development Test 3 (12-20-09)

  1. Fixed cancel button errors on new association (Thanks to conputerfreaker + waithdu)
  2. Removed the MOD in the eXpresso instructions.txt
  3. Fixed Double Clicking for about Everything (wraithdu)
  4. Fixed Window Double Clicking (waithdu)
  5. Many other things fixed by wraithdu I'm unsure of
Bruce Pascoe
Offline
Last seen: 12 years 2 months ago
Joined: 2006-01-15 16:14
Missed one

Near the bottom of the instructions:
"Hotkeys for eXpresso Mod"
Might want to try search-and-replace this time.

Restarting still doesn't work--actually, now it's worse. Hitting "Refresh eXpresso" causes a message box saying simply "Restart" to come up, followed by "eXpresso cannot be started." And relaunching eXpresso from the menu still loses settings.

Oh, and one other question: Why are you incrementing the version number with each Dev Test? The version number is supposed to stay the same, you just increment the Dev Test ID. If the version number changes, then it's considered a new version and you're supposed to start with Dev Test 1.

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 8 years 9 months ago
Joined: 2007-04-15 21:08
Just version number

Just the version number should change - it's eXpresso that's changing. You can drop off the Development Test bit altogether, I reckon.

I reckon that you should make it eXpresso 1.0.2 and keep going that way. After a while go to 1.1, then 1.2, etc.

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

wraithdu
Offline
Last seen: 10 years 9 months ago
Developer
Joined: 2007-06-27 20:22
As best as I can see reading

As best as I can see reading source in plain old notepad (ha!) you're still going to have problems here:

FindProcDLL::FindProc "${APPNAME}.exe"

because the launcher is going to find itself and you'll allways get TRUE out of this test.

Additionally you are relaunching the launcher from within eXpresso with the '-restart' switch. The other problem with this is now you have THREE instances of eXpresso.exe in existence (original launcher, actual eXpresso app, and the new launcher) and there's no way the new launcher instance will work right. Even assuming you change the launcher name to something different, you still have introduced a race condition... will the new launcher get to the FindProc code before the old instance of eXpresso ends??? There's no way to know for sure, and if it does, then your relaunch fails. I really think the loop that I had is your best option, and you'll have to rename the launcher to support the 'Reload' command.

Your only other option is to change eXpresso to read the INI from the Data\Settings directory so it is never moved. Then you can run eXpresso via Exec (instead of ExecWait) from the launcher and not have to worry about reloads at all.

Bruce Pascoe
Offline
Last seen: 12 years 2 months ago
Joined: 2006-01-15 16:14
More harm than good

Well, looks like the double-click "fixes" actually made everything worse. It seems that while eXpresso is active now, double-clicks on many things don't register. It took me a bit to realize this; I actually thought the mouse I was using at the time was going bad, until I went onto my netbook and had the same problem, then I realized eXpresso was the culprit.

Even more strangely, the problem gets even worse if eXpresso is paused. In that case, double-clicks stop working entirely.

This issue makes eXpresso completely unusable. Please fix ASAP! (Or at least give me a link to Dev Test 2 in the meantime...)

wraithdu
Offline
Last seen: 10 years 9 months ago
Developer
Joined: 2007-06-27 20:22
Double clicks while paused

Double clicks while paused won't register because the 'human' double click time is lowered to 30ms to prevent interference. I'm not sure if pausing is a function of eXpresso or something default in AHK, so just don't use that for now.

Can you be more specific about when double clicks are not registering? Are things not working on managed or unmanaged windows? On what types of things aren't clicks registering... files, dialog boxes, something else? Do you have an old and slow computer, or something newer? Can you post your eXpresso INI file?

I supposed if your computers are really slow, then even the app can't click fast enough to make the 30ms time, in which case it could be raised to something like 50 or 60ms. It must be faster than a normal person can dbl click however to avoid extra dbl clicks.

I've had absolutely zero problems in my testing so you'll have to be very specific here.

Bruce Pascoe
Offline
Last seen: 12 years 2 months ago
Joined: 2006-01-15 16:14
...

OS is Windows 7 Ultimate, PCs tested are a 2GHz Celeron and a 1.6GHz Acer netbook. There doesn't seem to be a pattern: Sometimes a double-click will register, other times it won't. Let's see if I can't find any patterns, though...

* Double-clicking on title bars to maximize only works half the time. So far I've seen it work with foobar2000's main window, and Explorer windows, but in my tests it doesn't work for the Chrome tab bar, nor SpeedCrunch. The pattern seems to be that standard title bars work, while nonstandard ones like Chrome's don't. SpeedCrunch is an exception, though, having what looks like a standard native title bar...
* Desktop icons work, but only if you manually minimize/close everything to get there--double-clicking on them stops working if you use "Show Desktop" instead.

That's it--those are the only patterns I can find.

Pages

Log in or register to post comments