Jump to content

Help me please !


Recommended Posts

here is the script.... whyt doesnt it work :lol: btw i just downloaded autoit3 and i love it ...but i cant undersand it :(

If $var > 0 Then

MsgBox(4096,"", "Value is positive.")

ElseIf $var < 0 Then

MsgBox(4096,"", "Value is negative.")

Else

If StringIsXDigit ($var) Then

MsgBox(4096,"", "Value might be hexadecimal!")

Else

MsgBox(4096,"", "Value is either a string or is zero.")

EndIf

EndIf

i want 2 make a script were is Yes and No

it should work like this if i chooce Yes then it will continue if No then it will close

btw i dont now if the script is right ... :ph34r: im just a noob who wants 2 get smart :lol:

Link to comment
Share on other sites

  • Developers

here is the script.... whyt doesnt it work  :(  btw i just downloaded  autoit3 and i love it ...but i cant undersand it :ph34r:

does it help when its shown like this ??

If $VAR > 0 Then
   MsgBox(4096, "", "Value is positive.")
ElseIf $VAR < 0 Then
   MsgBox(4096, "", "Value is negative.")
Else; so this means that $var=0
   If StringIsXDigit($VAR) Then
      MsgBox(4096, "", "Value might be hexadecimal!")
   Else
      MsgBox(4096, "", "Value is either a string or is zero.")
   EndIf
EndIf

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.
  :)

Link to comment
Share on other sites

ok im really sry but i dont understand nothing anymore.... can u give me a script what will creat a MsgBox with Yes and No...

if i choose NO it will quit ,,, if Yes it will continue...

i can edit the script my self but i dont no how 2 make one :ph34r:

Edited by jyrkz
Link to comment
Share on other sites

  • Developers

ok im really sry but i dont understand nothing anymore.... can u give me a script what will creat a MsgBox with Yes and No...

if i choose NO it will quit ,,, if Yes it will continue...

i can edit the script my self but i dont no how 2 make one :(

have fun :ph34r:

$ans=msgbox(4,'demo','select Yes or No')
If $ans =  6 Then
   MsgBox(4096, "", "YES.")
ElseIf $ans =  7 Then
   MsgBox(4096, "", "NO.")
Else 
   MsgBox(4096, "", "Something else:" & $and)
EndIf

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.
  :)

Link to comment
Share on other sites

If MsgBox(4, "title", "Would you like to run this script") = 7 Then
   Exit
EndIf

see the helpfile for msgbox, read the section called language reference.

"I'm not even supposed to be here today!" -Dante (Hicks)

Link to comment
Share on other sites

:ph34r::(:lol::cheer::D:D:D:lol:

guys ur so cool :D

$ans=msgbox(4,'demo','select Yes or No')
If $ans =  6 Then
  MsgBox(4096, "", "YES.")
ElseIf $ans =  7 Then
  MsgBox(4096, "", "NO.")
Else
  MsgBox(4096, "", "Something else:" & $and)
EndIf

this is so cool btw if i choose NO i want it 2 close :D

what should i add :D or do :D

Link to comment
Share on other sites

  • Developers

RTFM ?? whats is that ??

Googled this explanation:

RTFM

- definition, meaning, explanation & information in free-definition.com -

RTFM is an acronym for the statement "Read The F* Manual." This instruction is usually given in response to a question that can be answered easily by reading relevant documentation, and suggests that the inquirer may be wasting people's time. F*, F*, and f* can be considered equivalent regular expressions for the purpose of this article. The default case of f* is a colloquial vulgarity in the English language. To avoid the use of this vulgarity (which is highly offensive to many people) in the statement, RTFM may also expand to "Read The Foolish Manual", along with other appropriate words expanding f*. It is also sometimes taken to mean "Read The Friendly Manual" or "Read The Fine Manual" and used less pejoratively

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.
  :)

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...