Jump to content

meetrix

Active Members
  • Posts

    100
  • Joined

  • Last visited

meetrix's Achievements

Adventurer

Adventurer (3/7)

0

Reputation

  1. Yes. If you right click on your AU3 script file, select compile with options. There you choose to change the default icon.
  2. Have you tried WinMove? Maybe that will help you.
  3. Thank you for the advise. I will play with it more. It's a cool software once you know how to use it. Take care.
  4. Thanks, I will add it and try it.
  5. Hello, If you do a search in the forum, maybe you can find a script that someone might have created with some of the functions you need. I'm sure someone has..I would like to help, but I'm also new to this.
  6. This may also help you get an idea. [code $Title = GuiCreate("Good Night Everyone", 700, 440,-1, -1 , BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS)) WinSetTrans($Title, "", 250) GUISetBkColor(0x0080FF)
  7. Finish. Thanks everyone for all the help. I am finally done with my silly project. My friend will be really happy (I hope). I was able to create an Icon from the Shell32.dll file. There is software call "MicroAngelo" that is capable of either creating a new icon or find an icon. When the DVD is created, there's an autorun that launches the autoit executable with the Setup Icon as well. This may not be useful for most of you, but I'd thought I share this information anyway. Attached is a picture of the autorun. Finish.bmp
  8. Cool, the only problem is that I don't have Photoshop. Maybe I can buy one later. But I like it. Is it possible to convert an DLL Control ID # 162 to an icon? Let me know.
  9. I do not wish the use the icons in the Autoexe, instead I would like to add a customize icon. Something that represents what the application is. It's silly, but I would like to know how to do it.
  10. One Last question. When I compile the script, how can I set an setup icon or change the default autoit icon with something else? for example: See between the + $Title = GuiCreate(++ Icon here++ "AOL Software Installation", 700, 440,-1, -1 , BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS))
  11. Thanks, I will try it and let you know.
  12. I been trying to get the function with error codes to work, but I'm stuck. When I have the correct path define it launches the setup, but I change it, the error msgbox does not appear. Any better way to do this, or what Am I missing? Func AOLSetup() SetError (1) Run("V:\AOL\Setup.exe") If @error = 1 Then MsgBox(0x10,"Error", "Executable Not Found!") Else EndIf EndFunc ;==>Set_Exit
  13. Is this the correct way of calling a function? How do I set for errorlevels. I'm also trying to make the progress to run when select. How can I link it to run from Progress_4 section? #region --- GuiBuilder code Start --- ; Script generated by AutoBuilder 0.6 Prototype #include <GuiConstants.au3> GuiCreate("MyGUI", 559, 256,-1, -1 , BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS)) $IP_1 = GuiCtrlCreateButton("Get_IP", 50, 70, 190, 50) ;$Input_IpAddress = GuiCtrlCreateInput("" & @IPAddress1, 180, 250, 280, 20) $Input_2 = GuiCtrlCreateInput("", 260, 80, 280, 30) $Data_3 = GuiCtrlCreateButton("Backup Data", 50, 130, 190, 50) $Progress_4 = GuiCtrlCreateProgress(260, 140, 270, 30) GuiSetState() While 1 $msg = GuiGetMsg() Select Case $msg = $IP_1 IP() Case $msg = $Data_3 Progress () Case $msg = $GUI_EVENT_CLOSE ExitLoop Case Else ;;; EndSelect WEnd Exit #endregion --- GuiBuilder generated code End --- ;;:::Fuction Here ?? Func IP() GuiCtrlSetData($Input_2, @IPAddress1) EndFunc ;==>Set_Exit Func Progress() ProgressOn("Progress...", "Backup in Progress", "0 percent" & $Progress_4) For $i = 10 to 100 step 10 sleep(1000) ProgressSet( $i, $i & " percent") Next ProgressSet(100 , "Done", "Complete") sleep(500) ProgressOff() EndFunc ;==>Set_Exit
  14. Hi, I'm trying to create a simple autoit GUI. There will be two steps, one to obtain the pc IP, then to have the user start the data backup and to show a progress bar. I would like to know if is a good idea or how to use functions when the selection is made and check for errorlevels. I appreciate any help anyone can give me. I will continue to read through the help files. #region --- GuiBuilder code Start --- ; Script generated by AutoBuilder 0.6 Prototype #include <GuiConstants.au3> GuiCreate("MyGUI", 559, 256,-1, -1 , BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS)) $IP_1 = GuiCtrlCreateButton("Get_IP", 50, 70, 190, 50) $Input_2 = GuiCtrlCreateInput("", 260, 80, 280, 30) $Data_3 = GuiCtrlCreateButton("Backup Data", 50, 130, 190, 50) $Progress_4 = GuiCtrlCreateProgress(260, 140, 270, 30) GuiSetState() While 1 $msg = GuiGetMsg() Select Case $msg = $IP_1 ;???? Case $msg = $Data_3 ;??? Case $msg = $GUI_EVENT_CLOSE ExitLoop Case Else ;;; EndSelect WEnd Exit #endregion --- GuiBuilder generated code End --- ;;:::Fuction Here ??
  15. Thank you for the feedback. I will do that. Well, take care. I don't think I'm going to get that many replies with this script. I will just need to think deeper in providing a more useful tool for everyone to use.
×
×
  • Create New...