Page 1 of 1
can't send files to a program icon!
Posted: 29 Nov 2013 17:42
by giuliastar
Hi
i can't send files to a program icon
i create a custom icon to calculate the hash and send to virus total
i want to send many files to this program
i tried to select many files and after click on the icon nothing , i tried to select several files and drag on the icon nothing
here the screenshot , i tried to enable "fire click on mouse down" nothing
here it's the icon
i run 13.40 ,windows 7 64bit
thanks
ps is it a bug?
Re: can't send files to a program icon!
Posted: 30 Nov 2013 04:50
by binocular222
You have to write a script on either field "On left click" or "On right click".
The script can refer to the dropped file as <drop>
Example:
Code: Select all
openwith """K:\hash\hasher.exe"" <drop>"
Re: can't send files to a program icon!
Posted: 30 Nov 2013 07:15
by giuliastar
binocular222 wrote:You have to write a script on either field "On left click" or "On right click".
The script can refer to the dropped file as <drop>
Example:
Code: Select all
openwith """K:\hash\hasher.exe"" <drop>"
thanks !
works with the script
but why do i need the script?
it's weird
Re: can't send files to a program icon!
Posted: 30 Nov 2013 08:39
by j_c_hallgren
giuliastar wrote:but why do i need the script?
it's weird
Not weird -- you need the script to define what the button does, ok?
The name field defines what it's called (it could be something like "My first button", for ex) and the Icon field defines what it looks like but you still have to give it what action to take when you click it...make sense now?
Re: can't send files to a program icon!
Posted: 30 Nov 2013 09:31
by giuliastar
j_c_hallgren wrote:giuliastar wrote:but why do i need the script?
it's weird
Not weird -- you need the script to define what the button does, ok?
The name field defines what it's called (it could be something like "My first button", for ex) and the Icon field defines what it looks like but you still have to give it what action to take when you click it...make sense now?
yes but the icon is related to a program
and i know nothing about scripts

Re: can't send files to a program icon!
Posted: 30 Nov 2013 10:01
by admin
Hm,
dropping stuff onto that button
should work, and it does here.

Re: can't send files to a program icon!
Posted: 30 Nov 2013 10:05
by giuliastar
admin wrote:Hm,
dropping stuff onto that button
should work, and it does here.

may i ask you the meaning about
Hm, dropping stuff onto that button should work, and it does here
?
with the script work 100%
without the script no
Re: can't send files to a program icon!
Posted: 30 Nov 2013 11:34
by admin
See here:
http://www.xyplorer.com/release_10.20.htm
This should work and does work.
Re: can't send files to a program icon!
Posted: 30 Nov 2013 11:46
by giuliastar
i did exactly like the tutorial
well but when i select 4 files and drag to the new icon , it opens 4 istances of the program
in my case 4 istances of MultiHasher.exe
is it normal?
thansk
Re: can't send files to a program icon!
Posted: 30 Nov 2013 11:53
by admin
Yes. It depends on the called program how it handles this.
In your first post your wrote: "i tried to select several files and drag on the icon nothing".
Now you write: "well but when i select 4 files and drag to the new icon , it opens 4 istances of the program"
