Page 9 of 13
Re: Dual Pane Wishes
Posted: 24 Oct 2009 00:12
by TheQwerty
paul0 wrote:Would you please put those wishes for dual pane together into first message, such that we don't need go through all replies?
Since the first post is mine, please compile such a list and I'll add it in.
Re: Dual Pane Wishes
Posted: 26 Oct 2009 11:15
by Stefan
Stefan wrote:admin wrote:What a nice idea!

Will do... at least for <get ...>, not sure if more would be an overkill...
Idea: can i add the user name under which XY is running? To indicate an XY running with admin rights.
Or maybe smtg like adding an asterisk * behind XYplorer if run with admin rights.
v8.50.0023 - 2009-10-22 19:21
+ Titlebar: Now the TitlebarTemplate tweak knows the variable <get ...>.
Here is an example for how to get the current pane number into the titlebar:
[General]
TitlebarTemplate=[<get pane>] <path> - <app> @ <ini> - <ver>
v8.50.0025 - 2009-10-24 17:38
+ SC getinfo got a new named argument "username".
Examples:
echo getinfo("username");
echo "<get username>";
Useful, thank you!

TitlebarTemplate="<path> - <app> <ver> as <get username> - Pane <get pane>"
Re: Dual Pane Wishes
Posted: 26 Oct 2009 12:00
by admin
Stefan wrote:Stefan wrote:admin wrote:What a nice idea!

Will do... at least for <get ...>, not sure if more would be an overkill...
Idea: can i add the user name under which XY is running? To indicate an XY running with admin rights.
Or maybe smtg like adding an asterisk * behind XYplorer if run with admin rights.
v8.50.0023 - 2009-10-22 19:21
+ Titlebar: Now the TitlebarTemplate tweak knows the variable <get ...>.
Here is an example for how to get the current pane number into the titlebar:
[General]
TitlebarTemplate=[<get pane>] <path> - <app> @ <ini> - <ver>
v8.50.0025 - 2009-10-24 17:38
+ SC getinfo got a new named argument "username".
Examples:
echo getinfo("username");
echo "<get username>";
Useful, thank you!

TitlebarTemplate="<path> - <app> <ver> as <get username> - Pane <get pane>"
Cool. BTW, the idea with <get ...> was inspired by TheQwerty's idea with a variable <gci ...> ...
Re: Dual Pane Wishes
Posted: 26 Oct 2009 17:20
by PeterH
Stefan wrote:Useful, thank you!

TitlebarTemplate="<path> - <app> <ver> as <get username> - Pane <get pane>"
Hey - doesn't work for me???
I've tried:
Code: Select all
TitlebarTemplate="<path> - <app> @ <ini> as <get username> - <ver> | pane: <get pane>"
When starting XY no window opens. Task Mgr shows XY, but in state "Not Responding". After some seconds a 2nd XY is shown, same state. Killing one of them terminates both.
Just changing <get username> to <get pane> works ok - but doesn't show what I want

Did I understand something wrong?
Re: Dual Pane Wishes
Posted: 26 Oct 2009 18:27
by admin
PeterH wrote:Stefan wrote:Useful, thank you!

TitlebarTemplate="<path> - <app> <ver> as <get username> - Pane <get pane>"
Hey - doesn't work for me???
I've tried:
Code: Select all
TitlebarTemplate="<path> - <app> @ <ini> as <get username> - <ver> | pane: <get pane>"
When starting XY no window opens. Task Mgr shows XY, but in state "Not Responding". After some seconds a 2nd XY is shown, same state. Killing one of them terminates both.
Just changing <get username> to <get pane> works ok - but doesn't show what I want

Did I understand something wrong?
Try from address bar:
Works?
Re: Dual Pane Wishes
Posted: 26 Oct 2009 19:56
by Stefan
admin wrote:BTW, the idea with <get ...> was inspired by TheQwerty's idea with a variable <gci ...> ...
Thank you TheQwerty.
Re: Dual Pane Wishes
Posted: 26 Oct 2009 20:01
by Stefan
PeterH wrote:
Hey - doesn't work for me???
I've tried:
Code: Select all
TitlebarTemplate="<path> - <app> @ <ini> as <get username> - <ver> | pane: <get pane>"
Did I understand something wrong?
Hi Peter, for me it works:

- Titlebar_getUsername01_50p.png (12.23 KiB) Viewed 2426 times
Maybe:
Stefan wrote:
v8.50.0025 - 2009-10-24 17:38
+ SC getinfo got a new named argument "username".
Re: Dual Pane Wishes
Posted: 26 Oct 2009 22:35
by PeterH
admin wrote:PeterH wrote:Stefan wrote:Useful, thank you!

TitlebarTemplate="<path> - <app> <ver> as <get username> - Pane <get pane>"
Hey - doesn't work for me???
I've tried:
Code: Select all
TitlebarTemplate="<path> - <app> @ <ini> as <get username> - <ver> | pane: <get pane>"
When starting XY no window opens. Task Mgr shows XY, but in state "Not Responding". After some seconds a 2nd XY is shown, same state. Killing one of them terminates both.
Just changing <get username> to <get pane> works ok - but doesn't show what I want

Did I understand something wrong?
Try from address bar:
Works?
NO
No reaction. No Cursor in XY! (What?

) CPU 50%! (On dual core - that is just one core at 100% for xyplorer.exe)
Something's very wrong here! Had to terminate XY by task manager!
(Should I mention: XP SP3)
Re: Dual Pane Wishes
Posted: 26 Oct 2009 22:53
by avsfan
Hi Peter,
Silly question: What is your version of XY? If it's less than 8.50.0025, the get function doesn't support the username argument...
Good luck! I'm sure we'll be able to get it fixed soon!
andy
Re: Dual Pane Wishes
Posted: 27 Oct 2009 09:00
by admin
PeterH wrote:NO
No reaction. No Cursor in XY! (What?

) CPU 50%! (On dual core - that is just one core at 100% for xyplorer.exe)
Something's very wrong here! Had to terminate XY by task manager!
(Should I mention: XP SP3)
How many characters has your username?
Re: Dual Pane Wishes
Posted: 27 Oct 2009 15:41
by PeterH
avsfan wrote:Hi Peter,
Silly question: What is your version of XY? If it's less than 8.50.0025, the get function doesn't support the username argument...
Good luck! I'm sure we'll be able to get it fixed soon!
andy
The question may be silly - but I'm double silly to prove you right
(normally I'm up to date - but now I was on .0024

)
But ok, Don, I don't think use of an unknown variable should lead to such a problem? You could ignore it, return the name of the variable as value, return n/a, or whatever - but not hang XY?
Edit
By the way: it's great to see when XY works as administrator!!!
Re: Dual Pane Wishes
Posted: 27 Oct 2009 15:51
by PeterH
admin wrote:How many characters has your username?
As seen from my prev post: Administrator (= 13 chars) now (i.e. with current XY-version) works correct.
Is there a limit?
Re: Dual Pane Wishes
Posted: 27 Oct 2009 18:40
by avsfan
PeterH wrote:[quote="avsfan"Silly question: What is your version of XY? If it's less than 8.50.0025, the get function doesn't support the username argument...
The question may be silly - but I'm double silly to prove you right
(normally I'm up to date - but now I was on .0024

)
But ok, Don, I don't think use of an unknown variable should lead to such a problem? You could ignore it, return the name of the variable as value, return n/a, or whatever - but not hang XY?[/quote]
Hi Peter,
That's strange -- when I first tried it (I believe I was on .0022, but I'm not sure), it just made the template include the <get ...> as part of it rather than expanding it... In other words, it didn't hang, and I could tell that it didn't process the variable (which was entirely acceptable to me, as it let me know I needed to update!).
Anyway, I'm glad it's working for you!
Re: Dual Pane Wishes
Posted: 28 Oct 2009 14:43
by admin
PeterH wrote:admin wrote:How many characters has your username?
As seen from my prev post: Administrator (= 13 chars) now (i.e. with current XY-version) works correct.
Is there a limit?
That was a possible theory, and indeed the code was buggy here! So you helped me find a bug, even if it turned out it was not the bug that bugged you.
Of course, an unknown variable should not make the app hang, and I cannot see how this happened. But I recently worked in that area and probably version 0024 was in a state where this was actually causing an error. Anyway, it does not anymore.
Re: Dual Pane Wishes
Posted: 28 Oct 2009 15:27
by PeterH
Seems you are right! I've tested with a wrong name this morning, and the reaction was ok!
So I think I made a mistake on just an (old) XY-version beeing "rather sensitive".