Jump to content

my script


Recommended Posts

ROFLMAO = Rolling On Floor Laughing My Ass Off

yeah, i think i'll stop spamming this topic now, thanks all for the laughing :D

Edited by d4rk

[quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys

Link to comment
Share on other sites

oo, i looked at the help file, i made the gui!! how is it? :D

#include <GUIConstants.au3>

GUICreate("script4me gui")
GUISetState (@SW_SHOW)       
While 1
    $msg = GUIGetMsg()
    
    If $msg = $GUI_EVENT_CLOSE Then ExitLoop
Wend

but how do i add a message box inside the gui? it doesnt compile together

Edited by Script4me
Link to comment
Share on other sites

message box inside gui ? what do you mean ?

[quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys

Link to comment
Share on other sites

oo, i looked at the help file, i made the gui!! how is it? :D

#include <GUIConstants.au3>

GUICreate("script4me gui")
GUISetState (@SW_SHOW)       
While 1
    $msg = GUIGetMsg()
    
    If $msg = $GUI_EVENT_CLOSE Then ExitLoop
Wend

but how do i add a message box inside the gui? it doesnt compile together

you mean a message box inside the gui or that appears when the gui is open?
Link to comment
Share on other sites

sound like "button" ? hah ?

GUICtrlCreatButton

[quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys

Link to comment
Share on other sites

message box in gui = GUICtrlCreateLabel + GUICtrlCreateButton + GUIGetMsg()

if you can't figure out, please give us a screen shot of message box in gui

[quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys

Link to comment
Share on other sites

message box in gui = GUICtrlCreateLabel + GUICtrlCreateButton + GUIGetMsg()

if you can't figure out, please give us a screen shot of message box in gui

oh um, i found out how to create button, and made this.

#include <GUIConstants.au3>

GUICreate("script4me gui")
GUICtrlCreateLabel("Msgbox Text",0,0)
GUICtrlCreateButton("Msgbox Button",0,0)
GUISetState (@SW_SHOW)       
While 1
    $msg = GUIGetMsg()
    
    If $msg = $GUI_EVENT_CLOSE Then ExitLoop
Wend

but i cant get it to look like a message box, like a proper message box.

Link to comment
Share on other sites

oh um, i found out how to create button, and made this.

#include <GUIConstants.au3>

GUICreate("script4me gui")
GUICtrlCreateLabel("Msgbox Text",0,0)
GUICtrlCreateButton("Msgbox Button",0,0)
GUISetState (@SW_SHOW)       
While 1
    $msg = GUIGetMsg()
    
    If $msg = $GUI_EVENT_CLOSE Then ExitLoop
Wend

but i cant get it to look like a message box, like a proper message box.

Try changing the coordinates/sizes of the label and button..
Link to comment
Share on other sites

Here's my half decent attempt at a msgbox:

; Win Vista style
#include <GUIConstants.au3>
MsgBox(0,"","This is a message box!")
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("", 200, 116, -1, -1, BitOR($WS_SYSMENU,$WS_CAPTION,$WS_POPUP,$WS_POPUPWINDOW,$WS_BORDER) )
$Label1 = GUICtrlCreateLabel("This is a message box!", 8, 24, 111, 17)
$Button1 = GUICtrlCreateButton("OK", 71, 80, 129, 25, 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
        Case $Button1
            Exit

    EndSwitch
WEnd

; WinXP Style
#include <GUIConstants.au3>
MsgBox(0,"","This is a message box!")
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("", 200, 80, -1, -1, BitOR($WS_SYSMENU,$WS_CAPTION,$WS_POPUP,$WS_POPUPWINDOW,$WS_BORDER) )
$Label1 = GUICtrlCreateLabel("This is a message box!", 20, 15, 111, 17)
$Button1 = GUICtrlCreateButton("OK", 33, 50, 129, 25, 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
        Case $Button1
            Exit

    EndSwitch
WEnd
Edited by monoceres

Broken link? PM me and I'll send you the file!

Link to comment
Share on other sites

Here's my half decent attempt at a msgbox:

; Win Vista style
#include <GUIConstants.au3>
MsgBox(0,"","This is a message box!")
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("", 200, 116, -1, -1, BitOR($WS_SYSMENU,$WS_CAPTION,$WS_POPUP,$WS_POPUPWINDOW,$WS_BORDER) )
$Label1 = GUICtrlCreateLabel("This is a message box!", 8, 24, 111, 17)
$Button1 = GUICtrlCreateButton("OK", 71, 80, 129, 25, 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
        Case $Button1
            Exit

    EndSwitch
WEnd

; WinXP Style
#include <GUIConstants.au3>
MsgBox(0,"","This is a message box!")
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("", 200, 80, -1, -1, BitOR($WS_SYSMENU,$WS_CAPTION,$WS_POPUP,$WS_POPUPWINDOW,$WS_BORDER) )
$Label1 = GUICtrlCreateLabel("This is a message box!", 20, 15, 111, 17)
$Button1 = GUICtrlCreateButton("OK", 33, 50, 129, 25, 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
        Case $Button1
            Exit

    EndSwitch
WEnd
thats looks nothing like a msgbox!
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...