Jump to content

TheDcoder

Active Members
  • Posts

    7,103
  • Joined

  • Days Won

    88

Everything posted by TheDcoder

  1. @Manadar Do you mean that _Crypto_DeriveKey generates a (constant) key for a session (i.e from start of the program till exit) ? TD
  2. Thanks Valuater P.S Comma in programming languages?, thats something new for for me
  3. @Jos Looks like I accidentally upgraded to the beta version TD
  4. Hello, Please look at the code: ; As always, this is a decoy script ;) Global $sNum = Random(1, 4, 1) & "E" Switch $sNum Case "1E" And "2E" MsgBox(64, "TEST", "1E or 2E") Case "3E" And "4E" MsgBox(64, "TEST", "3E or 4E") EndSwitch MsgBox(64, "TEST", "The number was: " & $sNum) If $sNum = 1E or 2E it works, but when $sNum = 3E or 4E it shows the MsgBox for 1st Case How can I get it to work? Thanks In Advance TD
  5. @Jos Strange, I didn't get the error this time , I am sure that I got that error before with UTF - 8 TD
  6. Try running it The script didn't execute when I tried UTF-8 Here is something similar which I got in the console when I tired UTF-8 Not sure about the message but the # were present TD
  7. Go to File (Menu Item in SciTE) --> Encoding --> UTF - 8 with BOM BOM is required b/c AutoIt Wrapper does not support plain UTF-8 TD
  8. Hello, I want to display this: 使用在线翻译,嗯? in a MsgBox But when I paste it in SciTE it pastes ?????????? How can I display 使用在线翻译,嗯?in a MsgBox? Thanks in Advance, TD
  9. Sorry all, What I thought is: $sIdentifier = $sProgramIdentifier ----------------> = -----------------> But I forgot that <--------------- = <-------------------- Thanks, TD Edit: Completed the post (pressed the submit button mistakenly) Edit 2: Comma
  10. Style Formatted download links, TD
  11. @Melba23 Erm.... Why does this line: $sIdentifier = $sProgramIdentifier Not pass the string??
  12. Thanks, Wish I had a Time Machine
  13. Thanks Melba! This code works: ; NOTE: Removed line no.6 & modified line no.7 in the previous code :) #include "Misc.au3" Func Test($sIdentifier) Switch _Singleton($sIdentifier, 1) Case 0 MsgBox(64, "Testing, Testing", "Its working!!") Case Else MsgBox(64, "Testing, Testing", "Its not working!!") EndSwitch EndFunc Test("Lick the lemon") TD P.S I still wonder why my first code doesn't work
  14. You will get to know it soon Doesn't this line assign the variable a value? TD
  15. @Melba23 I know what instances are, but in this case _singleton should return 0 because there are multiple instances (like in the example for _Singleton). I wanna know why _Singleton is retuning multiple mutex(es) instead of 0 TD P.S Thanks for the wiki link
  16. @Danp2 Overwritten or not, but the content does not change, does it? @Melba23 I don't quite understand the difference "instances" & "objects" here, please explain TD
  17. Hello , Please look at the code below: ; This is not the real script that I use for my project!!! This decoy script helps you understand better ;) #include "Misc.au3" Global $sProgramIdentifier Func Test($sIdentifier) $sIdentifier = $sProgramIdentifier Switch _Singleton($sProgramIdentifier, 1) Case 0 MsgBox(64, "Testing, Testing", "Its working!!") Case Else MsgBox(64, "Testing, Testing", "Its not working!!") EndSwitch EndFunc Test("Lick the lemon") Save this to a file and run it, you will get a MsgBox telling "Its not working!!" Again, Run the script a second-time without closing the first MsgBox and you will again get a MsgBox telling the same thing!! This was not supposed to happen How can I get the MsgBox telling that it works ? Thanks In Advance, TD
  18. I have 0 exp. with Objects whether in AutoIt or any other programming languages So I want to know the basic Concepts of "Objects", Please provide me some resources explaining Objects... Thanks In Advance, TD P.S I checked the AutoItX Documentation, but I didn't found the information which I needed
  19. Generates random a key which is constant IMO. For real I don't know what It does... TD
  20. Its hard to do, but try GDI+ function set TD
  21. Maybe something is wrong with your OS, try Installing every update available TD
×
×
  • Create New...