uznut Posted April 7, 2005 Share Posted April 7, 2005 (edited) when i click the radio buttons they do the file move before the ok button is hit any suggestions GuiSetState() Do $Msg = GuiGetMsg() If $msg = $OK Then elseif GUICtrlRead($R1) = 1 Then FileMove("s:\file transfer\ach\achfle.dat", "c:\file transfer\ach\data\achup.dat" ,1) elseif GUICtrlRead($R2) = 1 Then FileMove("s:\file transfer\ach\" & $FN2, "c:\file transfer\ach\data\achup.dat" ,1) endif If $msg = $CAN Then exitloop endif Until $msg = $GUI_EVENT_CLOSE Edited April 7, 2005 by uznut Link to comment Share on other sites More sharing options...
w0uter Posted April 7, 2005 Share Posted April 7, 2005 (edited) GuiSetState() Do $Msg = GuiGetMsg() If $msg = $OK Then if GUICtrlRead($R1) = 1 Then FileMove("s:\file transfer\ach\achfle.dat", "c:\file transfer\ach\data\achup.dat" ,1) if GUICtrlRead($R2) = 1 Then FileMove("s:\file transfer\ach\" & $FN2, "c:\file transfer\ach\data\achup.dat" ,1) endif If $msg = $CAN Then exitloop endif Until $msg = $GUI_EVENT_CLOSEedit forgot to remove the quote tags :"> Edited April 7, 2005 by w0uter My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
uznut Posted April 7, 2005 Author Share Posted April 7, 2005 ? Link to comment Share on other sites More sharing options...
w0uter Posted April 7, 2005 Share Posted April 7, 2005 (edited) hell yeah you do. the community is definitely lucky to have you. Edited June 19, 2006 by w0uter My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
Helge Posted April 7, 2005 Share Posted April 7, 2005 #AutoIt LanguageIf $msg = $OK Then elseif GUICtrlRead($R1) = 1 Then FileMove("s:\file transfer\ach\achfle.dat", "c:\file transfer\ach\data\achup.dat" ,1) elseif GUICtrlRead($R2) = 1 Then FileMove("s:\file transfer\ach\" & $FN2, "c:\file transfer\ach\data\achup.dat" ,1) endif#Translated to EnglishEy ! If someone press the OK-button can you do....naah, just forget it ! Instead you can, while here, if someone clicks on RADIO1 move this file to this place, or if someone click RADIO2 you move this file here. Thanks !Now that's not what you wanted, or was it ? Link to comment Share on other sites More sharing options...
uznut Posted April 7, 2005 Author Share Posted April 7, 2005 thanks im dumb Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now