Jump to content

1RV34

Active Members
  • Posts

    46
  • Joined

  • Last visited

1RV34's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Why not =, !, <, >, : and -? Isn't it better to avoid the usage of Execute()? My initial question of this topic was if AutoIt had a built in escaping function, but I'm guessing from the answers that this is a no.
  2. But what happens if I use E in the input text? I'm currently using: Func _RegExpQuote($text) Return StringRegExpReplace($text, "\.|\\|\+|\*|\?|\[|\^|\]|\$|\(|\)|\{|\}|\=|\!|\<|\>|\||\:|\-", "\\\0") EndFunc I was hoping there was a built in function for that instead.
  3. I want to generate a regex from an user input and need a regex prepare function. I couldn't find any in the documentation, am I missing something? It should escape out all regex characters, so like "te.st" would become "te.st".
  4. Just spend the time trying out every style in the help file XD But found it! For other's who are looking for the same: the extended style $WS_EX_TOOLWINDOW does miracles!
  5. one moment Edit: http://www.dhost.info/1rv34/s/a/01.png & http://www.dhost.info/1rv34/s/a/02.png (copy & paste link, server doesn't allow direct linking) First screenshot: what I have now. Second screenshot: what I would like to have.
  6. Yea I already found that out ^^ (see first post) But how to make it look more "modal" like like in the first screenshot?
  7. I'm trying to achieve this kind of GUI without the minimize button but only the close button. (screenshot from a window from the Koda FormDesigner) I've tried just removing $WS_MINIMIZEBOX but I ended up having no title bar at all. Anyone with a push (or kick XD) in the right direction? Edit: ok it turned out removing $WS_MINIMIZEBOX in Koda also was missing $WS_CAPTION that's why that happened to me... My window now is without the minimizebox... But can I make it look more like a kind of modal or something like in the first screenshot?
  8. Think you need Exit on line 63, not Return. D:au3test.au3(63,23) : ERROR: 'Return' not allowed from global scope. Return ~~~~~~~~~~~~~~~~~~~~~~^ D:au3test.au3 - 1 error(s), 0 warning(s) But really not a bad example script
  9. Testing and... YES! Thank you
  10. *major facepalm* I kept the 2 versions next to eachother... then typed the include path to the old one in... *hides in some corner*
  11. yes really o.o I'll download the beta and see if that solves it.
  12. Ok sorry I was wrong about it being AU3Check's fault.. but your modifications didn't fix all problems :/ Just used this to test and it doesn't report any errors (even tho $gfhdagjhfkldsjkn never was declared and gfhdagjhfkldsjkn() never was defined) Opt("MustDeclareVars", 1) ;~ #include "JSON.au3" #include "JSON_Translate.au3"; JSON_Translate.au3 includes JSON.au3 too gfhdagjhfkldsjkn("test") $gfhdagjhfkldsjkn = "test" Edit: and sorry for not doing it myself, but I really have no idea why this is happening :S
  13. My AU3Check didn't output anything for my script because that include is broken. But if you could fix that UDF you would make me very happy XD (and if you post it in that topic probably more people)
  14. The include used @LF instead of @CRLF line breaks.. the script ran fine because it recognized @LF, but AU3Check and SciTE apperently not because it marked everything after #comments-start (and #comments-end) as a comment o.o Edit: converted the line end characters, but the problem still happens, but only after including that JSON.au3 o.o Edit: well found the problem... F:PortableApps***OtherSourceIncludeJSONJSON.au3(479,70) : WARNING: $k: possibly used before declaration. $_JSONErrorMessage='duplicate key specified for object: "' & $k & ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:PortableApps***OtherSourceIncludeJSONJSON.au3(897,73) : ERROR: __JSONEncodeInternal() previously called with expression on Const ByRef param(s). func __JSONEncodeInternal(const byRef $holder,const byRef $k,$v,$indent) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:PortableApps***OtherSourceIncludeJSONJSON.au3(344,67) : REF: first call to __JSONEncodeInternal(). local $s=__JSONEncodeInternal($_JSONNull,$_JSONNull,$v,$linebreak) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:PortableApps***OtherSourceIncludeJSONJSON.au3(479,70) : ERROR: $k: undeclared global variable. $_JSONErrorMessage='duplicate key specified for object: "' & $k & ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ F:PortableApps***OtherSourceIncludeJSONJSON.au3 - 2 error(s), 1 warning(s) & last time the author was online was 2009.. XD
  15. What should I look for in the history log? :S (I have the latest version so I don't know what looking to fixes I already have helps, but maybe I'm wrong) Edit: It seem's one of my includes is breaking it, one moment I'll post a link to the include. Edit 2: JSON.au3
×
×
  • Create New...