what's going on here?
when I run this script, I get the following error:
$p = "<curitem>"; focus "PI"; goto $p,1
'C:\Something' could not be accessed
the script does what it's supposed to, but produces this error message. Didn't used to. Something new?
error - "folder could not be accessed"
-
TheQwerty
- Posts: 4373
- Joined: 03 Aug 2007 22:30
Re: error - "folder could not be accessed"
Try:
EDIT: Nevermind the following isn't what you want.. (thought <curitem> was <curpath>)...
Though I believe what you want is now an official feature in Panes->Go Here in Other Pane, so you can use this command id in scripts:
Code: Select all
$p = "<curitem>"; focus "PI"; goto "$p",1;EDIT: Nevermind the following isn't what you want.. (thought <curitem> was <curpath>)...
Though I believe what you want is now an official feature in Panes->Go Here in Other Pane, so you can use this command id in scripts:
Code: Select all
#810;-
Joso
- Posts: 95
- Joined: 06 Apr 2010 14:13
Re: error - "folder could not be accessed"
close but no cigar - the newest beta .0104 does what I'm looking for (clt-shft-dbl click) - but I don't see that it has a function number as yet. - #810 transfers the current pane's path to the inactive pane, but what the code snippet does is open the current item (a subdir) in the inactive pane. Still curious as to why this code is producing an error message. Thanks for your help.
-
TheQwerty
- Posts: 4373
- Joined: 03 Aug 2007 22:30
Re: error - "folder could not be accessed"
Hmm.. looks like thsre's a bug in the goto command, though I can't get it with goto alone. You can get it with the following mostly:
I think Don's going to need to look at this when he gets back from vacation.
Code: Select all
focus "PI";goto "?:\";-
Joso
- Posts: 95
- Joined: 06 Apr 2010 14:13
Re: error - "folder could not be accessed"
yeah - I wasn't able to reproduce the error with ::goto <curitem> ... worked as expected. Also tried 0 and 1 parameters with the goto command - no change.
Do we get a prize for finding a bug?
Thanks for taking the time to look.
Do we get a prize for finding a bug?
Thanks for taking the time to look.
-
zer0
- Posts: 2676
- Joined: 19 Jan 2009 20:11
Re: error - "folder could not be accessed"
Your prize is that it gets fixedJoso wrote:Do we get a prize for finding a bug?
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build
Windows 7/10
Always using the latest stable two-decimal build
XYplorer Beta Club