Ashww Posted February 26, 2009 Posted February 26, 2009 Ok, well here is my code? expandcollapse popup#Region;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_outfile=installer.exe #EndRegion;**** Directives created by AutoIt3Wrapper_GUI **** #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= $MainGUI = GUICreate("WoW Installer", 412, 98, 193, 125) $Group1 = GUICtrlCreateGroup("Where to install?", 8, 8, 393, 49) $Input1 = GUICtrlCreateInput("C:\Users\Ashley\Desktop\", 16, 24, 377, 21) GUICtrlCreateGroup("", -99, -99, 1, 1) $Installbutton = GUICtrlCreateButton("Install", 8, 64, 395, 25, 0) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Installbutton Install() EndSwitch WEnd Func Install() $file = GUICtrlRead($Group1) $b = True If $b = True Then FileInstall("C:\Users\Public\Games\World of Warcraft\BackgroundDownloader.exe", $file & "World of Warcraft\BackgroundDownloader.exe") EndFunc It doent work - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Projects: Account Control Wii style gui Bingo Caller - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Want a website? Click here!- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -I use my Blackberry Storm to browse the forum! Please be patient!- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Prab Posted February 26, 2009 Posted February 26, 2009 I think if you change $file = GUICtrlRead($Group1) to $file = GUICtrlRead($Input1) it will work. FolderLog GuiSpeech Assist
Ashww Posted February 26, 2009 Author Posted February 26, 2009 I think if you change $file = GUICtrlRead($Group1) to $file = GUICtrlRead($Input1) it will work.ahhh missed that thanksbut it goes not responding - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Projects: Account Control Wii style gui Bingo Caller - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Want a website? Click here!- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -I use my Blackberry Storm to browse the forum! Please be patient!- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Monamo Posted February 26, 2009 Posted February 26, 2009 but it goes not respondingDoes the folder "World of Warcraft" already exist on your desktop? Based upon your sample default data, it would try to drop the file into a resulting path of: C:\Users\Ashley\Desktop\World of Warcraft\BackgroundDownloader.exe I don't see any checks for an appropriate folder structure before attempting to drop the file - if that destination folder doesn't exist, you're gonna come up short. - MoChr(77)& Chr(97)& Chr(100)& Chr(101)& Chr(32)& Chr(121)& Chr(97)& Chr(32)& Chr(108)& Chr(111)& Chr(111)& Chr(107)-------I've told you 100,000 times not to exaggerate!-------Don't make me hit you with my cigarette hand...-------My scripts:Random Episode Selector, Keyboard MouseMover, CopyPath v2.1, SmartRename for XP,Window Tracer[sup]New![/sup]
Moderators Melba23 Posted February 26, 2009 Moderators Posted February 26, 2009 Ashww,Works perfectly for me when I substitute my files and desktop path. Are you sure the FileInstall parameters are correct in your script:Source: "C:\Users\Public\Games\World of Warcraft\BackgroundDownloader.exe"Destination: "C:\Users\Ashley\Desktop\"M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
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