View Full Version : right click save exe
conte
03-14-2006, 05:13 PM
hi everyone
i have made one ams exe to run on windows
i want to know if its posible to add a syntax as
right click -> save file.exe -> to any folders ???
thanks
neptuno
03-14-2006, 05:55 PM
Hi!!!
I didn't understand why you refer to am6 exe.....
It's possible to create that with the windows regedit. like this:
1º) start/ run type regedit
2º) look for: HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\Con textMenuHandlers
3º) create a new Key and call it "Copy to" and you will see than like this:
HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\Con textMenuHandlers\Copy to
4º) Now take a look at the window you will see a cote i dont know how to say in English in Portuguese its "Predefinição", in other words it appears a some expression now double click in that and type : {C2FBB630-2971-11d1-A18C-00C04FD75D13}
I think that it will resolve your problem (I Think :) )
Now try it select any file with the right click and you will see a new cote Copy to select that and windows will let you choose the destination folder...
conte
03-15-2006, 09:43 AM
thank for reply neptuno
but i still waiting for help
i will show you a picture
i create one aio als web/Email executable
http://img55.imageshack.us/img55/4307/testing6nk.jpg
i hoppe somebody help me
thanks
yosik
03-15-2006, 10:57 AM
If I understand you correctly, you have an exe file on your cd that you would like to copy to your HD.
If so, it is simple, using the File.Copy action.
Hope that helps.
Yossi
TJ_Tigger
03-15-2006, 12:00 PM
Worm made a IsInRect function in a project that tells if the mouse is inside the boundries of a button, You could use that along with the OnMouseButton event to simulate a rightmouse button effect.
The IsInRect function is in the slider and splitter framework projects in the Examples forum.
Tigg
neptuno
03-15-2006, 01:46 PM
now i understand why you refer the ams...:lol
point of situation: you want a botton that on left click it execute the exe file and in right click it copy that exe file to any destination folder you choose.
if that's what you are looking for:
copy your exe to the Docs Folder
1º) on the botton properties go to "quick actions" and on the action to run choose open program and select your exe
2º) on the Script:
On Right-Click:
sCopy = Dialog.FolderBrowse("Select folder:", _DesktopFolder);
-- If CANCEL was not chosen, then get the folder path
if (sCopy ~= "CANCEL") then
File.Copy("AutoPlay\\Docs\\name of your file.exe", sCopy, true, true, false, true, nil);
end
i hope it helps
conte
03-15-2006, 02:17 PM
neptuno
that it:yes
thank you
TJ_Tigger
03-15-2006, 02:17 PM
I forgot that buttons had an OnRightclick action. Your actions will all have to be on the scripts page or use a quick action. My understanding of quickactions is that they replace any actions on the script tab.
Tigg
I forgot that buttons had an OnRightclick action. Your actions will all have to be on the scripts page or use a quick action. My understanding of quickactions is that they replace any actions on the script tab.
Tigg
Hi tigg
Nope, Quick Actions don't replace any actions in the script tab. :)
Roboblue
03-15-2006, 03:05 PM
Hi tigg
Nope, Quick Actions don't replace any actions in the script tab. :)
But, quick actions will be performed before the script action.
I had set a quick action page jump. Later I added script to the button and forgot that I had done a quick action previously. I pulled my hair for an hour trying to figure out why it would just page jump (the script also had a page jump AFTER some other actions) before I remembered.
Won't Get Fooled Again, so says The WHO.
TJ_Tigger
03-15-2006, 03:11 PM
I was just playing with the quickactions and it did not run the On Click actions but the other events would execute.
neptuno
03-15-2006, 08:09 PM
neptuno
that it:yes
thank you
You are welcome.
For the record: I thanks to:TJ-Tigger, Mina and Roboblue they were (and are) my mentors.... this simple script was given to me by RoboBlue, that helped me in one of my projects.
conte
03-16-2006, 08:57 AM
ok neptuno
thanks to everyone
i don't know so much about Lua language
ill try to make a nice project it is one A.I.O {all in one}
the first step is done =-THANKS TO YOU GUYS-=
i want include if its posible {user name and password}
its like you sign in a web page
but you need to sign in a A.I.O
any possibility ???
thank you !
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.