Double click jumps into script instead of opening the file

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Kucera
Posts: 108
Joined: 31 Mar 2008 01:37
Location: Canada
Contact:

Double click jumps into script instead of opening the file

Post by Kucera »

Hello,
all of a sudden, double clickig a .docx file. I get a "Stepping through a scrip" box, on top saying
File: (Internal)
Acript: (Untitled)
#1053;

and in the lower half

Miscellaneous |File Operations | Open Selected Item(s) with OS Default

with docx, pdf, zip, hitting Continue opens the file ok. With txt and no-extension files, there is more and it can't be opened, although I _can do it from the Custom file associations menu.
Came out of nowhere ...
Started in ver. 19.0, upgrading to 19.2 (I use the no-install zip) did not help
What can I do to fix it? What could I have done to cause this, anyway?
Thanks and regards Emil

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Double click jumps into script instead of opening the file

Post by highend »

So show your CFA defintions?
One of my scripts helped you out? Please donate via Paypal

Kucera
Posts: 108
Joined: 31 Mar 2008 01:37
Location: Canada
Contact:

Re: Double click jumps into script instead of opening the file

Post by Kucera »

highend wrote:So show your CFA defintions?
Here they are; but if you needed the scripts behind them or those # codes, I don't know how to get them :oops:
The thing is, I haven't done anything inside XY that I know of, strange.

Regards Emil
Attachments
CFA.png
CFA.png (124.9 KiB) Viewed 1313 times

Kucera
Posts: 108
Joined: 31 Mar 2008 01:37
Location: Canada
Contact:

Re: Double click jumps into script instead of opening the file

Post by Kucera »

highend wrote:So show your CFA defintions?
Now I also find that my button for switching left-right panes does not work, I have to step through the entire script before they switch. Here's that script, from the Edit window:
--------
"Number from 1" rename "b", <#01>, "p"
"Number from 0" rename "b", <#000>, "p"
"Rename EXIF Date Created" rename "b", "<dateexif yyyy-mm-dd hh-mm-ss>", "p"
"Rename Date Created" rename "b", "<datec yyyy-mm-dd hh-mm-ss>", "p"
"Rename Date Modified" rename "b", "<datem yyyy-mm-dd hh-mm-ss>", "p"
"Prefix Text" $string = input("Enter the text to prefix:"); rename "b", "$string*", "p"
"Search and Replace" $find = input("Enter the text to be replaced:"); $replace = input("Enter the text to be inserted:"); msg "Replace: ".$find." with: ".$replace; rename "s", "$find/$replace"
-
"Append created date" rename "b", '*-<datec yyyy-mm-dd>', "p"
-
"Swap Pane Locations"
$pA = "<curpath>";
Focus("PI");
$pI = "<curpath>";
Goto("$pA");
Focus("PI");
Goto("$pI");
Focus("P1")
-----

Is there a directory of these things that could have gotten corrupted? I got everything customized since years ago, would hate do have to re-do it, because, naturally, I have no idea how I accomplished those things. :(

jupe
Posts: 2797
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Double click jumps into script instead of opening the file

Post by jupe »

You have turned on Step Mode, disable it with this menu item:

Scripting | Step Mode

Or this shortcut key: (Ctrl+Alt+S)

It should fix both issues.

Kucera
Posts: 108
Joined: 31 Mar 2008 01:37
Location: Canada
Contact:

Re: Double click jumps into script instead of opening the file

Post by Kucera »

jupe wrote:You have turned on Step Mode, disable it with this menu item:

Scripting | Step Mode

Or this shortcut key: (Ctrl+Alt+S)

It should fix both issues.
BLESS YOU! :appl: Fixed it right away, and whats' more, it kind of explains it, I must have held the mouse in the wrong place and clicked, maybe when the screen was off ...
Thanks a million!!!!
Best regards Emil

Post Reply