Second issue: If I change folder locations to one which happens to have a tab, but I change to this location not by clicking on the tab itself but some other means like a Link on my tree or clicking the folder in the tree, shouldn't the script assigned for CEA Tab switch still work or should I say still "be invoked". The tab is made current or active on the tab bar, but the CEA script is not performed. I would have thought it would be. I'm quite sure the first issue just started with v25.80.0303 or possibly the beta just prior to that one. The second issue may have been like this for some time.
[Solved] Clicking on a folder in tree or via a tab,the CEA tab switch script is displayed
Forum rules
READ THIS AND DO IT!!!
Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
READ THIS AND DO IT!!!
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
-
klownboy
- Posts: 4468
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440
[Solved] Clicking on a folder in tree or via a tab,the CEA tab switch script is displayed
First issue: [Solved - see below
] When I change folder locations by clicking on a tab or by some other means, like clicking a folder in the tree, I see the text of the script assigned for CEA "Tab switch" written across on the screen. I don't think that should happen and it's very odd. This happens whether I click on a folder in the tree or on a tab itself. The text you see in the pic is my script assigned for CEA Tab switch.
Second issue: If I change folder locations to one which happens to have a tab, but I change to this location not by clicking on the tab itself but some other means like a Link on my tree or clicking the folder in the tree, shouldn't the script assigned for CEA Tab switch still work or should I say still "be invoked". The tab is made current or active on the tab bar, but the CEA script is not performed. I would have thought it would be. I'm quite sure the first issue just started with v25.80.0303 or possibly the beta just prior to that one. The second issue may have been like this for some time.
Second issue: If I change folder locations to one which happens to have a tab, but I change to this location not by clicking on the tab itself but some other means like a Link on my tree or clicking the folder in the tree, shouldn't the script assigned for CEA Tab switch still work or should I say still "be invoked". The tab is made current or active on the tab bar, but the CEA script is not performed. I would have thought it would be. I'm quite sure the first issue just started with v25.80.0303 or possibly the beta just prior to that one. The second issue may have been like this for some time.
To see the attached files, you need to log into the forum.
Last edited by klownboy on 11 Apr 2024 03:05, edited 2 times in total.
-
jupe
- Posts: 3462
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: Clicking on a folder in tree or via a tab,the CEA tab switch script is displayed
First issue looks like your CEA script isn't indented properly, or that stream comment is messed up (no closing */?).
The second issue sounds like a scripting issue too, do you in any of your CEA browse events (changing location) temporarily disable CEA, or anything similar (or via AHK), if you try temp setting them to action none, does your Tab Switch CEA then work? Or I remember you scripting something that only happens if your cursor is above the tabbar, could that be interfering? My event seems to always fire when its meant too.
The second issue sounds like a scripting issue too, do you in any of your CEA browse events (changing location) temporarily disable CEA, or anything similar (or via AHK), if you try temp setting them to action none, does your Tab Switch CEA then work? Or I remember you scripting something that only happens if your cursor is above the tabbar, could that be interfering? My event seems to always fire when its meant too.
-
klownboy
- Posts: 4468
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440
Re: Clicking on a folder in tree or via a tab,the CEA tab switch script is displayed
Yes thank you jupe. It was the "*/". I put a comment at the very bottom of the script today and had no closing */ . Darn! The script itself was/is fine and always working.

On the second issue. I have no other CEAs that involve changing locations (i.e., "Changing locations" and "File Operations" are all set to "None"). I'll do more digging in the morning though.
So jupe you're saying, when you change a location by clicking a folder in the tree, it will trigger a Tab Switch script just as if you clicked directly on a tab? Ok then, it's seems odd that in my case, the tab is being highlighted as the current tab as it should be when that same folder in the tree is selected, but the CEA script is not invoked. I'll check more in the morning.
Thanks again.
On the second issue. I have no other CEAs that involve changing locations (i.e., "Changing locations" and "File Operations" are all set to "None"). I'll do more digging in the morning though.
So jupe you're saying, when you change a location by clicking a folder in the tree, it will trigger a Tab Switch script just as if you clicked directly on a tab? Ok then, it's seems odd that in my case, the tab is being highlighted as the current tab as it should be when that same folder in the tree is selected, but the CEA script is not invoked. I'll check more in the morning.
Thanks again.
Last edited by klownboy on 11 Apr 2024 03:01, edited 1 time in total.
-
jupe
- Posts: 3462
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: Clicking on a folder in tree or via a tab,the CEA tab switch script is displayed
I just had a closer look at your screenshot, it starts with checking ControlAtPos() == TAB, so no wonder it doesn't fire.
-
klownboy
- Posts: 4468
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440
XYplorer Beta Club