Jump to content

StringRegExp and whitespace


Recommended Posts

  • Moderators

i neither can see where these values come from, it seems to be a comment...

edit: ...consolewrite ?

j.

What are you talking about? I wasn't planning on sharing it so I didn't comment it,if you have a specific question let me know.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

i was talking about the strange values youre script returns:

$msgfilter_fmt = !===========================================================
+===========================================================
-->Unloading Library (Handle): 
+===========================================================

and:

$ENLINK_fmt = !===========================================================
+===========================================================
-->Unloading Library (Handle): 
+===========================================================

i can't see where these might come from.

the correct values should be:

Global Const $msgfilter_fmt = $NMHDR_fmt & ";uint;int;int"
Global Const $ENLINK_fmt = $NMHDR_fmt & ";uint;int;int;" & $charrange_fmt

the second version you posted i tried it, but now it errors in opening the temp file. can't see a reason for the error. the tempfile seems to be written properly.

returns no value for the error constants:

46 = 
$WS_MINIMIZEBOX = 0x00020000
$WS_CAPTION = 0x00C00000
$WS_POPUP = 0x80000000
$WS_SYSMENU = 0x00080000
$WS_SIZEBOX = 0x00040000
$ES_WANTRETURN = 4096
$WS_HSCROLL = 0x00100000
$ES_SUNKEN = 16384
$ES_MULTILINE = 4
$WS_VSCROLL = 0x00200000
$ES_AUTOVSCROLL = 64
$GUI_DOCKAUTO = 0x0001
$EM_SETEVENTMASK = 
$ENM_REQUESTRESIZE = 0x40000
$ENM_LINK = 0x4000000
$ENM_DROPFILES = 0x100000
$ENM_KEYEVENTS = 0x10000
$ENM_MOUSEEVENTS = 0x20000
$EM_AUTOURLDETECT = 
$WM_NOTIFY = 0x004E
$GUI_EVENT_CLOSE = -3
$DebugIt = 1
$GUI_EVENT_RESIZED = -12
$EM_REQUESTRESIZE = 
$EM_SETBKGNDCOLOR = 
$nmhdr = "int;int;int"
$NMHDR_fmt = "int;int;int"
$EN_ALIGNLTR = 0X710
$EN_ALIGNRTL = 0X711
$EN_CORRECTTEXT = 0X705
$EN_DRAGDROPDONE = 0X70c
$EN_DROPFILES = 0X703
$EN_IMECHANGE = 0X707
$EN_LINK = 0X70b
$ENLINK_fmt = 
$WM_LBUTTONDOWN = 0x0201
$EN_MSGFILTER = 0X700
$msgfilter_fmt = 
$EN_OBJECTPOSITIONS = 0X70a
$EN_OLEOPFAILED = 0X709
$EN_PROTECTED = 0X704
$EN_REQUESTRESIZE = 0X701
$EN_SAVECLIPBOARD = 0X708
$EN_SELCHANGE = 0X702
$EN_STOPNOUNDO = 0X706
$GUI_RUNDEFMSG = 'GUI_RUNDEFMSG'

j.

Edited by jennico
Spoiler

I actively support Wikileaks | Freedom for Julian Assange ! | Defend freedom of speech ! | Fight censorship ! | I will not silence.OixB7.jpgDon't forget this IP: 213.251.145.96

 

Link to comment
Share on other sites

  • Moderators

No time to mess with it... I bid you well on this task. It worked for what I had intended it to... maybe you can figure out how I did things and implement them in your own way.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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