i have one script on manage commands with keyboard shortcut assigned:
openwith "D:\apps\Calibre\edit-book.exe", , "D:\000\ePub\nevermind\ab.epub";
what this correct syntax to open all .epub files (not only single title) with my prog on this specific folder?? I have only one file each time, but the title change...
with *.epub not work correctly... or openwith support only one single file??
openwith file
-
highend
- Posts: 15004
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: openwith file
Maybe reading would solve your problem(s)...
It even has an example that perfectly matches...
Code: Select all
help "idh_scripting_comref.htm#idh_sc_openwith";One of my scripts helped you out? Please donate via Paypal
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
Re: openwith file
I have read help file, before your post, and after your post...
but the help file treat on example with one file selected...
I want, with my assigned letter, run my program with each file ePub on this folder mentioned on my previous post, without file selection...
I repeat, I have only one file ePub on this folder, but every time the name of this file is different...it’s possible this?
but the help file treat on example with one file selected...
I want, with my assigned letter, run my program with each file ePub on this folder mentioned on my previous post, without file selection...
I repeat, I have only one file ePub on this folder, but every time the name of this file is different...it’s possible this?
-
jupe
- Posts: 3478
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: openwith file
Something like this should work:
Code: Select all
openwith "D:\apps\Calibre\edit-book.exe", , listfolder("D:\000\ePub\nevermind", "*.epub", 1);-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
Re: openwith file
@ jupe
oh yeeesss! many tanxs to your great reply!
oh yeeesss! many tanxs to your great reply!
XYplorer Beta Club