Jump to content

cant run my script


Recommended Posts

hey

im making a script and so far i have this:

;;#NoTrayIcon

;;;#RequireAdmin

#include <GUIConstants.au3>

#include <Constants.au3>

#include <EditConstants.au3>

;;;TraySetIcon ("Server.jpg")

TraySetState ()

$Settings = TrayCreateMenu ("Settings")

$Help = TrayCreateMenu ("Help")

$Log = TrayCreateMenu ("Log")

Func Settings()

$Form1 = GUICreate("Settings", 501, 401, 192, 123)

$Group1 = GUICtrlCreateGroup("Ports", 288, 56, 177, 97)

$Input1 = GUICtrlCreateInput("3200", 376, 80, 65, 21)

$Label1 = GUICtrlCreateLabel("Port Number", 296, 80, 63, 17)

$Label2 = GUICtrlCreateLabel("Port Password", 296, 120, 72, 17)

$Input2 = GUICtrlCreateInput("pass", 376, 120, 65, 21, $ES_PASSWORD)

GUICtrlCreateGroup("Ports", -99, -99, 1, 1)

$Tab1 = GUICtrlCreateTab(16, 40, 465, 337)

GUICtrlCreateTabItem("")

$Button1 = GUICtrlCreateButton("Save", 392, 312, 75, 25, 0)

$Button2 = GUICtrlCreateButton("Load", 392, 344, 75, 25, 0)

GUISetState(@SW_SHOW)

EndFunc

however when i hit F5 it just does this:

>"C:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "C:\Users\Owner\Documents\My Sources\2nd Monitor\Server End.au3" /autoit3dir "C:\Program Files\AutoIt3" /UserParams

+>00:42:27 Starting AutoIt3Wrapper v.1.10.1.7 Environment(Language:0409 Keyboard:00000809 OS:WIN_VISTA/ CPU:X86)

>Running AU3Check (1.54.13.0) from:C:\Program Files\AutoIt3

+>00:42:27 AU3Check ended.rc:0

>Running:(3.2.12.1):C:\Program Files\AutoIt3\autoit3.exe "C:\Users\Owner\Documents\My Sources\2nd Monitor\Server End.au3"

+>00:42:27 AutoIT3.exe ended.rc:0

>Exit code: 0 Time: 1.422

please help, its probly a really simple problem but i cant figure it out as no syntax errors come up?

adds

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...