Spyder25000 Posted April 28, 2007 Posted April 28, 2007 (edited) I made a GUI (DUH!) And it requires users to find to programs, how do i do this? the gui shows the adress bar with browe button next to it (2 of them) -also how do i resrict it to only open that type of exe? -program is desgined to open Silkroad.exe and nubot.exe So for exentsion it is Silkroad.exe ty Oh i havent started the codeing and i am new to GUI's so how can i keep it from closing? Edited April 28, 2007 by Spyder25000
BrettF Posted April 28, 2007 Posted April 28, 2007 It is helpful if you post your full code, so that we can address at minimum the GUI closing problem. For the browse button: This may/may not work. I just don't know if FileOpenDialouge can do what I suggested it to. FileOpenDialog ("Open...", @ProgramFilesDir, "Compatible Files (Silkroad.exe;nubot.exe))", 3) oÝ÷ Ø ÝÊjznµ«.¬µçgjg«¢+Ù¥±=Á¹¥±½ ÅÕ½Ðí=Á¸¸¸¸ÅÕ½Ðì°Aɽɵ¥±Í¥È°ÅÕ½Ðí ½µÁÑ¥±¥±Ì ¨¹á¤ÅÕ½Ðì°Ì°ÅÕ½ÐíM¥±É½¹áÅÕ½Ðì¤ Hope it helps Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
Spyder25000 Posted April 28, 2007 Author Posted April 28, 2007 (edited) Okay i want a label to show it is that path and i want it to be a var so i can make new button that starts it Now i want to add a file to this it is a cracked client for the game how do i add it and make it copy over it Edited April 28, 2007 by Spyder25000
Generator Posted April 28, 2007 Posted April 28, 2007 okay now how do i make a lable to display this info? in a lable so if i selcet this C:\Blah\blahalbalha\silkroad.exe it will show it and then i will make it write this info into a .ini fileNow i want to add a file to this it is a cracked client for the game how do i add it and make it copy over itPlease, do some research in the help file, I am sure you will find what you need. I hate these kind of people just come to forum and expect people to help them without doing anything themselves.If you read help file carefully, there is a return value of the fileopen dialog, for copying file use FileInstall.Again...Please read help file before you post.
Spyder25000 Posted April 28, 2007 Author Posted April 28, 2007 Please, do some research in the help file, I am sure you will find what you need. I hate these kind of people just come to forum and expect people to help them without doing anything themselves.If you read help file carefully, there is a return value of the fileopen dialog, for copying file use FileInstall.Again...Please read help file before you post.fileopen? i said FileOpenDialog and WTF is return vaule?
Spyder25000 Posted April 28, 2007 Author Posted April 28, 2007 (edited) Can some please post code that will show a GUI and a lable and browse button which will make you brose for the file and another button which starts the file and the label shows path Thanks Edited April 28, 2007 by Spyder25000
Generator Posted April 28, 2007 Posted April 28, 2007 Please, do some research in the help file, I am sure you will find what you need. I hate these kind of people just come to forum and expect people to help them without doing anything themselves.If you read help file carefully, there is a return value of the fileopen dialog, for copying file use FileInstall.Again...Please read help file before you post.fileopen? i said FileOpenDialog and WTF is return vaule?Are you stupid? What makes the difference between those(Read Bolded text). If you are not blind, you can seeReturn ValueSuccess: Returns the full path of the file(s) chosen. Results for multiple selections are "Directory|file1|file2|..." Failure: Sets @error to 1. Your choice of terms do not deserved to be helped. Can someone post code?Where do you think this is? Some kind of place where people work for you and give you codes? You are worse than any other beggers. You've done nothing so far.Don't even bother to be helped.
Developers Jos Posted April 28, 2007 Developers Posted April 28, 2007 I made a GUI (DUH!)original topic title .... (DUH) SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
BrettF Posted April 28, 2007 Posted April 28, 2007 If you want someone to write some code for you, rather than try yourself, goto www.rentacoder.com and pay for it! Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
Zedna Posted April 28, 2007 Posted April 28, 2007 (edited) I think I'm helpfull man but I HATE this kind of posts too.Especially when Autoit Helpfile is so GOOD Edited April 28, 2007 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search
Generator Posted April 28, 2007 Posted April 28, 2007 How do i use return vaule?Now I can help you since you asked in a politely way.Put like a variable before FileopenDialogExample:$Dir=FileOpenDialog()Msgbox(0,"",$Dir)After a performance, a string will be assign to that varible as return value.
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