Hi
I am wondering if it is possible to assign or add script-multiple scripts to catalog items. Catalog is very convenient place have all the favorite scripts,better than user scripts. At least one can organize them if it is possible to run scripts.
Can catalog items run scripts-multiple scripts?
-
admin
- Site Admin
- Posts: 66258
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Can catalog items run scripts-multiple scripts?
Yes, easily! Either like this (use Edit button in Catalog Item properties to enter multi-line script):kartal wrote:Hi
I am wondering if it is possible to assign or add script-multiple scripts to catalog items. Catalog is very convenient place have all the favorite scripts,better than user scripts. At least one can organize them if it is possible to run scripts.
Code: Select all
"Super Reviews"
moveto "D:\Archives\Reviews\Super"
"Good Reviews"
moveto "D:\Archives\Reviews\Good"
"Completely Uninspired Trash (CUT)"
moveto "D:\Archives\Reviews\Bad"FAQ | XY News RSS | XY X
-
kartal
- Posts: 208
- Joined: 14 Aug 2008 18:06
Re: Can catalog items run scripts-multiple scripts?
thanks for the info. I guess your second suggestion is the one I was looking for for. Basically what I need is that when I open a folder, I want xyplorer to perform multiple operations. So clicking a catalog item could trigger-invoke multiple commands like copy, move, thumbnail mode etc.
;
Your first suggestiion is very useful too, but for different occasions.
;
Your first suggestiion is very useful too, but for different occasions.
-
kartal
- Posts: 208
- Joined: 14 Aug 2008 18:06
Re: Can catalog items run scripts-multiple scripts?
I have just tried this in catalog and I cannot make it work under catalog item. I use "open item" and in the item line I have
"load C:\XYplorer\Scripts\date.xys"
When I click the catolog item it does not do anything
"load C:\XYplorer\Scripts\date.xys"
When I click the catolog item it does not do anything
admin wrote:kartal wrote:Hi
Or simply load a XYS file using ::load command.
-
admin
- Site Admin
- Posts: 66258
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Can catalog items run scripts-multiple scripts?
(1) use Goto Location (not open item)kartal wrote:I have just tried this in catalog and I cannot make it work under catalog item. I use "open item" and in the item line I have
"load C:\XYplorer\Scripts\date.xys"
When I click the catolog item it does not do anything
admin wrote:kartal wrote:Hi
Or simply load a XYS file using ::load command.
(2) Location = ::load "C:\XYplorer\Scripts\date.xys" (mind the :: and the quotes!)
FAQ | XY News RSS | XY X
-
jacky
- XYwiki Master
- Posts: 3106
- Joined: 23 Aug 2005 22:25
- Location: France
- Contact:
Re: Can catalog items run scripts-multiple scripts?
Yeah, and for portability sake, plus it's easieradmin wrote:(2) Location = ::load "C:\XYplorer\Scripts\date.xys" (mind the :: and the quotes!)
Proud XYplorer Fanatic
-
admin
- Site Admin
- Posts: 66258
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Can catalog items run scripts-multiple scripts?
What an app!jacky wrote:Yeah, and for portability sake, plus it's easieradmin wrote:(2) Location = ::load "C:\XYplorer\Scripts\date.xys" (mind the :: and the quotes!), if C:\XYplorer is the application data path, a simple ::load "date" is enough (and doesn't even require the quotes) !
FAQ | XY News RSS | XY X
XYplorer Beta Club