Page 1 of 1
error - "folder could not be accessed"
Posted: 26 Aug 2010 18:55
by Joso
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?
Re: error - "folder could not be accessed"
Posted: 26 Aug 2010 19:00
by TheQwerty
Try:
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:
Re: error - "folder could not be accessed"
Posted: 26 Aug 2010 20:10
by Joso
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.
Re: error - "folder could not be accessed"
Posted: 26 Aug 2010 20:39
by TheQwerty
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.
Re: error - "folder could not be accessed"
Posted: 26 Aug 2010 21:09
by Joso
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.
Re: error - "folder could not be accessed"
Posted: 27 Aug 2010 11:13
by zer0
Joso wrote:Do we get a prize for finding a bug?
Your prize is that it gets fixed
