Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 13 of 13
  1. #1
    Join Date
    Mar 2006
    Posts
    5

    right click save exe

    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

  2. #2
    Join Date
    Dec 2005
    Posts
    24
    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...

  3. #3
    Join Date
    Mar 2006
    Posts
    5
    thank for reply neptuno
    but i still waiting for help
    i will show you a picture
    i create one aio als web/Email executable




    i hoppe somebody help me

    thanks

  4. #4
    Join Date
    Jun 2002
    Location
    Israel
    Posts
    1,843
    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

  5. #5
    Join Date
    Sep 2002
    Location
    Sol 3
    Posts
    3,160
    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
    TJ-Tigger
    "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
    "Draco dormiens nunquam titillandus."
    Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

  6. #6
    Join Date
    Dec 2005
    Posts
    24
    now i understand why you refer the ams...
    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

  7. #7
    Join Date
    Mar 2006
    Posts
    5
    neptuno
    that it
    thank you

  8. #8
    Join Date
    Sep 2002
    Location
    Sol 3
    Posts
    3,160
    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
    TJ-Tigger
    "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
    "Draco dormiens nunquam titillandus."
    Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

  9. #9
    Join Date
    Oct 2005
    Location
    American Dubai
    Posts
    629
    Quote Originally Posted by TJ_Tigger
    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.
    Last edited by Mina; 03-15-2006 at 01:33 PM.

  10. #10
    Join Date
    Dec 2003
    Posts
    891
    Quote Originally Posted by Mina
    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.

  11. #11
    Join Date
    Sep 2002
    Location
    Sol 3
    Posts
    3,160
    I was just playing with the quickactions and it did not run the On Click actions but the other events would execute.
    TJ-Tigger
    "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
    "Draco dormiens nunquam titillandus."
    Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

  12. #12
    Join Date
    Dec 2005
    Posts
    24
    Quote Originally Posted by conte
    neptuno
    that it
    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.
    Last edited by neptuno; 03-15-2006 at 07:22 PM.

  13. #13
    Join Date
    Mar 2006
    Posts
    5
    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 !

Similar Threads

  1. Change image when you click, then change again after a new click
    By tonybest in forum AutoPlay Media Studio 6.0
    Replies: 3
    Last Post: 11-17-2006, 07:09 PM
  2. Single file exe and cypto p/i questions
    By Roboblue in forum AutoPlay Media Studio 5.0
    Replies: 8
    Last Post: 10-25-2004, 05:52 AM
  3. Displaying a Save As Dialog
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 10-01-2003, 03:53 PM
  4. How do I call a Website?
    By Beaver in forum AutoPlay Menu Studio 3.0
    Replies: 3
    Last Post: 10-08-2000, 08:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts