Page 1 of 1

[SOLVED] Send file to your App listed in SendTo context menu

Posted: Wed Aug 28, 2024 10:16 pm
by Randy Walker
No problem putting a shortcut of my app into the context menu, but How to get my app to accept the file for processing? << That is the question. MY fingerprinter app really needs this facility:
https://www.purebasic.fr/english/viewtopic.php?t=85190

If I right click a file, select sendto >Fingerprinter it does open the app but does not process the right clicked file, so this is the problem.

Anyone conquer this problem?

[EDIT] 08/28/24 -- problem solved THANKS to HeXOR for giving me hint about Programparameter()

Re: Send file to your App listed in SendTo context menu

Posted: Wed Aug 28, 2024 10:59 pm
by RASHAD
Right click the file and use OPEN With
When Window ask to make it always say NO
Because your application can cypher any type(Image,text....)

Re: Send file to your App listed in SendTo context menu

Posted: Wed Aug 28, 2024 11:01 pm
by HeX0R
Your app needs to handle ProgramParameter()

Re: Send file to your App listed in SendTo context menu

Posted: Wed Aug 28, 2024 11:13 pm
by Randy Walker
HeX0R wrote: Wed Aug 28, 2024 11:01 pm Your app needs to handle ProgramParameter()
AHhhhh yes!!! Just what I was looking for and didn't know to look for. I searched "parameters" everywhere except in PB help. Silly (stupid) me.
Thank you HeXOR :)

Re: Send file to your App listed in SendTo context menu

Posted: Thu Aug 29, 2024 12:56 am
by Randy Walker
HeX0R wrote: Wed Aug 28, 2024 11:01 pm Your app needs to handle ProgramParameter()
Hi HeXOR -- That did the trick and I updated my original fingerprinting post.
Thank you VERY much!!!!