When clicking on an item of a catalog it immediately opens the item.
This is great for folders or non executable files.
Now it can be a problem for .bat or .exe files.
I have various .bat items in my catalog to start/stop some servers.
The thing is that sometime I miss-click on the wrong-item and it starts/stops my server.
Can we have to option to open/launch on double-click and not on single-click ?
Thanks
Catalog: Option to launch programs(.bat, .exe) on double-click only
Re: Catalog: Option to launch programs(.bat, .exe) on double-click only
Why don't you use something like this in the meantime?
Code: Select all
if (confirm("Do you really want to execute this item?", , 1, 4) == 1) {
run """<your .bat script (full path)>""", %TEMP%, 0, 1;
}
One of my scripts helped you out? Please donate via Paypal
Re: Catalog: Option to launch programs(.bat, .exe) on double-click only
Thanks,
I tried to associate your script to the item through Properties>Edit..., but nothing happens when clicking on it
The script works fine if I go to Scripting>Try Script...
I tried to associate your script to the item through Properties>Edit..., but nothing happens when clicking on it
The script works fine if I go to Scripting>Try Script...
Re: Catalog: Option to launch programs(.bat, .exe) on double-click only
Show a screenshot of the catalog entry (after clicking on the Properties entry in the context menu) and the content of the window after clicking on the Edit... button
One of my scripts helped you out? Please donate via Paypal
Re: Catalog: Option to launch programs(.bat, .exe) on double-click only
Action on click must be "Go to Location"...
One of my scripts helped you out? Please donate via Paypal
Re: Catalog: Option to launch programs(.bat, .exe) on double-click only
Thanks it is working