how to put script in Custom Columns?
-
yusef88
- Posts: 1148
- Joined: 28 Jan 2013 03:50
- Location: Windows 8.1 32-bit
-
SkyFrontier
- Posts: 2341
- Joined: 04 Jan 2010 14:27
- Location: Pasárgada (eu vou!)
Re: how to put script in Custom Columns?
13.80.0134 (latest beta), assuming you already have a 'new column':
right click the new column header, pick the last entry, 'configure custom columns...';
select an '(undefined)' item in the list, click the 'edit' button;
on 'type', select 'script' - pay attention to the 'item filter' and 'item type' options, defining target extensions for the former;
place your script as described in http://www.xyplorer.com/xyfc/viewtopic.php?f=3&t=11321 , which contains some working sample scripts.
-please not the importance of 'return', there!
I guess that's all.
right click the new column header, pick the last entry, 'configure custom columns...';
select an '(undefined)' item in the list, click the 'edit' button;
on 'type', select 'script' - pay attention to the 'item filter' and 'item type' options, defining target extensions for the former;
place your script as described in http://www.xyplorer.com/xyfc/viewtopic.php?f=3&t=11321 , which contains some working sample scripts.
-please not the importance of 'return', there!
I guess that's all.
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
-
yusef88
- Posts: 1148
- Joined: 28 Jan 2013 03:50
- Location: Windows 8.1 32-bit
Re: how to put script in Custom Columns?
i put this script and it seems to copy all list items (temporary internet files) to desktop so i canceled the custom column..thanks for the answer
Code: Select all
copyas "*.mp3", "%userprofile%\desktop";To see the attached files, you need to log into the forum.
-
autocart
- Posts: 1387
- Joined: 26 Sep 2013 15:22
Re: how to put script in Custom Columns?
The script will be executed on rebuild of list (i.e. on tab or folder change) for each item!!
Scripts in custom columns are meant to generate a result that should be displayed in the column.
For this to be made possible there is special scripting command/keyword "return", as also shown in SkyFrontier's link.
Scripts with file operations probably make no sense in this context.
See also: http://www.xyplorer.com/xyfc/viewtopic. ... 95#p100913
Scripts in custom columns are meant to generate a result that should be displayed in the column.
For this to be made possible there is special scripting command/keyword "return", as also shown in SkyFrontier's link.
Scripts with file operations probably make no sense in this context.
See also: http://www.xyplorer.com/xyfc/viewtopic. ... 95#p100913
[AHK] redirecting Windows Explorer to XY, [XYS] Mini Tree with open tabs (cur loc expanded, tab folders highlighted), [AHK] customInlineRenameKeys, [AHK] clipboardHelper_and_XYEscToList
-
yusef88
- Posts: 1148
- Joined: 28 Jan 2013 03:50
- Location: Windows 8.1 32-bit
Re: how to put script in Custom Columns?
thanks for the clarification
XYplorer Beta Club