Hi,
is there a way to switch on "Word wrap" by default in script-related text panes, eg. in the Run script textbox or the multi-line textbox in general?
I've found some "*wrap*"-settings in the ini, but they don't seem to be related to my "issue".
Thanks & cheers,
Filehero
PS: I'm really not known to be an arse-li****, but MiniTree in combination with Catalog simply rocks! Besides Lightroom, my best software buy for 5 years.
Scripting: switching text pane "Word wrap" permantly ON?
-
Filehero
- Posts: 2732
- Joined: 27 Feb 2012 18:50
- Location: Windows 11@100%
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: Scripting: switching text pane "Word wrap" permantly ON?
Hi,Filehero wrote:Hi,
is there a way to switch on "Word wrap" by default in script-related text panes, eg. in the Run script textbox or the multi-line textbox in general?
I've found some "*wrap*"-settings in the ini, but they don't seem to be related to my "issue".
Thanks & cheers,
Filehero
PS: I'm really not known to be an arse-li****, but MiniTree in combination with Catalog simply rocks! Besides Lightroom, my best software buy for 5 years.
If you check word wrap in Run script or Try script window it is remembered for the next time. In scripting there are two commands that support this: lookup input and text scripting commands in help.
-
Filehero
- Posts: 2732
- Joined: 27 Feb 2012 18:50
- Location: Windows 11@100%
Re: Scripting: switching text pane "Word wrap" permantly ON?
Hi serendipity,
thanks for your support.
Cheers,
Filehero
thanks for your support.
You're right. But how about the pane evoked by "text" (or any other multi-text boxes no matter what the calling context might be)?serendipity wrote: If you check word wrap in Run script or Try script window it is remembered for the next time.
Cheers,
Filehero
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: Scripting: switching text pane "Word wrap" permantly ON?
Did not understand, you mean pane evoked by "text" command?Filehero wrote:Hi serendipity,
thanks for your support.![]()
You're right. But how about the pane evoked by "text" (or any other multi-text boxes no matter what the calling context might be)?serendipity wrote: If you check word wrap in Run script or Try script window it is remembered for the next time.
Cheers,
Filehero
Could give a specific example maybe?
-
Filehero
- Posts: 2732
- Joined: 27 Feb 2012 18:50
- Location: Windows 11@100%
Re: Scripting: switching text pane "Word wrap" permantly ON?
Oups, sorry for being unclear.serendipity wrote:Did not understand, you mean pane evoked by "text" command?
Could give a specific example maybe?
Yes, I mean the pane/box coming up when using text() in a script. Between subsequent calls the "wrap"-flag is not remembered.
Cheers,
Filehero
-
admin
- Site Admin
- Posts: 66366
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Scripting: switching text pane "Word wrap" permantly ON?
wrap is an optional parameter of the text command:
Does this help?
Code: Select all
Syntax: text text, [width=600], [height=400], [caption], [wrap], [linebreaker="<br>"]FAQ | XY News RSS | XY X
-
Filehero
- Posts: 2732
- Joined: 27 Feb 2012 18:50
- Location: Windows 11@100%
Re: Scripting: switching text pane "Word wrap" permantly ON?
admin wrote:Does this help?
Code: Select all
$logFiles = folderreport("files", "r", , "r", , "|");
text $logFiles, 600, 400, "Does it wrap?", w;Cheers,
Filehero
XYplorer Beta Club