Dual Pane Wishes

Features wanted...
TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Dual Pane Wishes

Post 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.

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Europe

Re: Dual Pane Wishes

Post by Stefan »

Stefan wrote:
admin wrote:What a nice idea! :D 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! Image
TitlebarTemplate="<path> - <app> <ver> as <get username> - Pane <get pane>"

admin
Site Admin
Posts: 64884
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Dual Pane Wishes

Post by admin »

Stefan wrote:
Stefan wrote:
admin wrote:What a nice idea! :D 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! Image
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 ...> ...

PeterH
Posts: 2826
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: Dual Pane Wishes

Post by PeterH »

Stefan wrote:Useful, thank you! Image
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?

admin
Site Admin
Posts: 64884
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Dual Pane Wishes

Post by admin »

PeterH wrote:
Stefan wrote:Useful, thank you! Image
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:

Code: Select all

::echo "<get username>";
Works?

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Europe

Re: Dual Pane Wishes

Post by Stefan »

admin wrote:BTW, the idea with <get ...> was inspired by TheQwerty's idea with a variable <gci ...> ...
Thank you TheQwerty.

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Europe

Re: Dual Pane Wishes

Post 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
Titlebar_getUsername01_50p.png (12.23 KiB) Viewed 2440 times
Maybe:
Stefan wrote:
v8.50.0025 - 2009-10-24 17:38
+ SC getinfo got a new named argument "username".

PeterH
Posts: 2826
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: Dual Pane Wishes

Post by PeterH »

admin wrote:
PeterH wrote:
Stefan wrote:Useful, thank you! Image
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:

Code: Select all

::echo "<get username>";
Works?
NO :!:
No reaction. No Cursor in XY! (What? :shock: ) 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)

avsfan
Posts: 554
Joined: 29 Jun 2006 09:00
Location: Fort Collins, Colorado

Re: Dual Pane Wishes

Post 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

admin
Site Admin
Posts: 64884
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Dual Pane Wishes

Post by admin »

PeterH wrote:NO :!:
No reaction. No Cursor in XY! (What? :shock: ) 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?

PeterH
Posts: 2826
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: Dual Pane Wishes

Post 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 :oops: :oops:
(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!!!

PeterH
Posts: 2826
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: Dual Pane Wishes

Post 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?

avsfan
Posts: 554
Joined: 29 Jun 2006 09:00
Location: Fort Collins, Colorado

Re: Dual Pane Wishes

Post 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 :oops: :oops:
(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!

admin
Site Admin
Posts: 64884
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Dual Pane Wishes

Post 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.

PeterH
Posts: 2826
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: Dual Pane Wishes

Post 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".

Post Reply