Jump to content

Recommended Posts

  • Developers
Posted
  On 4/16/2014 at 3:09 PM, iCode said:

Scite for AutoIt 3.4.1

win 7 x64

1) Saving the Scite options from the UI acts a bit strange; when clicking 'save and apply', then exiting, user is again prompted to save

Fix in v1.6.11.11 now available in Beta

2) Scite config UI > General 2 tab > Current Word Highlight group ...

For 'Whole word', Match style' and 'Match case', selecting or de-selecting these checkboxes causes something to run in an endless loop (seen by constant flickering in the status control) and settings are not saved

Fix in v1.6.11.11 now available in Beta

3) I have also had settings revert to their defaults once upon restarting the editor (after the initial install i think). FYI: When i installed the Scite for AutoIt package, i tried to do a clean install; uninstall previous

version and delete all left over settings/properties files in %appdata%. The settings are now in 'LocalAutoIt v3SciTE' as they should be.

Not sure what happened here. The installer should copy the files into the new location and the ENVIRONMENT variable should be set for SCITE_USERHOME correctly by the installer.

4) For both this version and the last release (and possibly earlier), highlighting all other instances of a selected string works, but sometimes the other instances lose the highlighting when the document is scrolled

Word Highlighting  is standard functionality from the version distributed by Neil Hodgson, I only added some extra Config options we thought were nice to have.

5) For both this version and the last release (and possibly earlier), using Ctrl+F2 to clear a bookmark does not always work

I haven;t seen this happen to me yet and can't replicate that issue.

 

See my comments in your report.

Thanks,

Jos

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

  • Developers
Posted
  On 4/16/2014 at 4:59 PM, D4RKON3 said:

I guess I found a some kind of bugs in the SciTE while writing a script.

Write the following codes and press Enter:

Switch (1)
    Case 1

It adds 5 lines instead of 1.

Uploaded a updated version for AutoItIndentFix.lua to the Beta directory which I think will fix this.

Check to see if I broke anything else.

Thanks

Jos

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

  • Developers
Posted
  On 4/16/2014 at 5:14 PM, VIP said:

Next GUI! you want it ?  Suggested to Jos  >_<

 

Thank you for the suggestion/input, but I am not going to make any major modifications to the SciTE menu structure or ICONs as that would mean much more maintenance for any release upgrades and this is a "nice to have" to me.

Jos :)

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

Posted

Jos,

I also updated SciTE Jump yesterday to v2.18.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

  • Developers
Posted

  On 4/18/2014 at 1:57 PM, guinness said:

Jos,

I also updated SciTE Jump yesterday to v2.18.

I've seen it and already added the update to my local setup for the next release.

Cheers

Jos

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

Posted

  On 4/18/2014 at 1:49 PM, Jos said:

Uploaded a updated version for AutoItIndentFix.lua to the Beta directory which I think will fix this.

 

Confirm as fixed 

 

  On 4/18/2014 at 1:49 PM, Jos said:

Check to see if I broke anything else.

now I see no further problems, but time will verify it better ;)

 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted (edited)

I have a problem with SciTE4AutoIt HelpFile.

Here is a screenshot:

SciTE_1.png

 

but these OnLine version looks ok:

http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3-UserCallTips.html

Does anyone have any idea why the file SciTE4AutoIt3.chm displays incorrectly backslash?

some additional info:

SciTE v.3.4.1.0   Keyboard:00000415  OS:WIN_7/Service Pack 1  CPU:X64 OS:X64    Environment(Language:0415)

 

mLipok

 

EDIT:

Additional information:
Then it dawned on me and I checked the version of OnLine works on different browsers because normally I check on Google Chrome.

Thus, the previous checked on Google Chrome.
Now, I checked on IE 11.0.9600.17041, and as could be expected on the browser problem with backslash also occur.

Edited by mLipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

  • Moderators
Posted (edited)

mLipok,

It looks fine to me:

 

M23

Edited by Melba23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

Posted
  On 4/5/2014 at 6:35 PM, mLipok said:

 

I see now its works

http://www.autoitscript.com/autoit3/scite/docs/Scitedoc/SciTEDoc.html

Thanks.

btw.

I look in 

SciTE4AutoIt3.chm

"SciTE Documentation" works when I click on it in "Table of Contents" but when I click it in "Index" then I see again blank page.

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

  On 4/19/2014 at 8:21 PM, Melba23 said:

mLipok,

It looks fine to me:

attachicon.gifHelp.png

M23

 

How you open it in CHM or IE , maybe other browser ?

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

  • Moderators
Posted

mLipok,

I get the backslashes no matter how I open the page - either via the menu in SciTE, directly from the .chm, or in the browser (IE11 in Win 7). I also get the SciTE documentation in all 3 cases. :)

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

Posted

Thanks for the info.
Very well.

If someone has the same problem or had and solved it, or suspects what is the solution, then please let me know in this thread (of course if there are no objections to making the discussion in this thread).

Regards

mLipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

Font for web site:  Times New Roman

Font for normal text:  Courier New

Language script: Main/Standard Latin

Unicode (UTF-8)

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

  On 4/19/2014 at 9:35 PM, mLipok said:

Font for web site:  Times New Roman

Font for normal text:  Courier New

Language script: Main/Standard Latin

Unicode (UTF-8)

Your system runing in Japanese

_________

Control Panel ->  Regional and Language Options -> Advanced 

Language for non-Unicode programs: Select -> English (United States) -> OK

Reboot :)

 

Regards,
 

Posted

VIP,

A grain of common sense please.

mLipok explicitely told us that:

  Quote

 

SciTE v.3.4.1.0   Keyboard:00000415  OS:WIN_7/Service Pack 1  CPU:X64 OS:X64    Environment(Language:0415)

and LCID 0415 is ... Polish, unsurprisingly since the OP is Polish.

  Reveal hidden contents

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Posted

Au3Stripper is great.
 
There should be a small bug it in as it removes a local vairable inside a fucntion. Example:
 

Global $SE_FILE_OBJECT, $OWNER_SECURITY_INFORMATION,$GROUP_SECURITY_INFORMATION, $DACL_SECURITY_INFORMATION, $SACL_SECURITY_INFORMATION
_GetObjectStringSecurityDescriptor("c:\test")

Func _GetObjectSecurityDescriptor($oName, $_SE_OBJECT_TYPE = $SE_FILE_OBJECT)
    Local $SECURITY_INFORMATION = BitOR($OWNER_SECURITY_INFORMATION,$GROUP_SECURITY_INFORMATION,$DACL_SECURITY_INFORMATION,$SACL_SECURITY_INFORMATION), $aRet
    If IsPtr($oName) Then
        $aRet = DllCall("Advapi32.Dll",'DWORD','GetSecurityInfo','handle',$oName,'dword',$_SE_OBJECT_TYPE, 'DWORD',$SECURITY_INFORMATION,'ptr',0,'ptr',0,'ptr',0,'ptr',0,'ptr*',0)
    Else
        $aRet = DllCall("Advapi32.Dll",'DWORD','GetNamedSecurityInfo','str',$oName,'dword',$_SE_OBJECT_TYPE, 'DWORD',$SECURITY_INFORMATION,'ptr',0,'ptr',0,'ptr',0,'ptr',0,'ptr*',0)
    EndIf
    If @error Then Return SetError(@error,0,0)
    Return SetError($aRet[0],0,$aRet[8])
EndFunc
Func _GetObjectStringSecurityDescriptor($oName, $_SE_OBJECT_TYPE = $SE_FILE_OBJECT)
    Local $pSecDescriptor = _GetObjectSecurityDescriptor($oName, $_SE_OBJECT_TYPE)
    If $pSecDescriptor = 0 Then Return SetError(2,0,'')
    Local $strSecDescriptor = _ConvertSecurityDescriptorToStringSecurityDescriptor($pSecDescriptor)
    DllCall("kernel32.dll",'handle','LocalFree','handle',$pSecDescriptor)
    Return $strSecDescriptor
EndFunc

Func  _ConvertSecurityDescriptorToStringSecurityDescriptor(ByRef $pSecDescriptor)
    If Not IsPtr($pSecDescriptor) Then Return SetError(1,0,0)
    Local $SECURITY_INFORMATION = BitOR($DACL_SECURITY_INFORMATION,$OWNER_SECURITY_INFORMATION)
    Local $aRet = DllCall("Advapi32.Dll",'bool','ConvertSecurityDescriptorToStringSecurityDescriptor', 'ptr',$pSecDescriptor,'DWORD',1,'DWORD',$SECURITY_INFORMATION,'str*',0,'ptr',0)
    If @error Then Return SetError(1,0,'')
    Return $aRet[4]
EndFunc

The stripped:

Global $SE_FILE_OBJECT, $OWNER_SECURITY_INFORMATION,$GROUP_SECURITY_INFORMATION, $DACL_SECURITY_INFORMATION, $SACL_SECURITY_INFORMATION
_GetObjectStringSecurityDescriptor("c:\test")
Func _GetObjectSecurityDescriptor($oName, $_SE_OBJECT_TYPE = $SE_FILE_OBJECT)
Local $SECURITY_INFORMATION = BitOR($OWNER_SECURITY_INFORMATION,$GROUP_SECURITY_INFORMATION,$DACL_SECURITY_INFORMATION,$SACL_SECURITY_INFORMATION), $aRet
If IsPtr($oName) Then
$aRet = DllCall("Advapi32.Dll",'DWORD','GetSecurityInfo','handle',$oName,'dword',$_SE_OBJECT_TYPE, 'DWORD',$SECURITY_INFORMATION,'ptr',0,'ptr',0,'ptr',0,'ptr',0,'ptr*',0)
Else
$aRet = DllCall("Advapi32.Dll",'DWORD','GetNamedSecurityInfo','str',$oName,'dword',$_SE_OBJECT_TYPE, 'DWORD',$SECURITY_INFORMATION,'ptr',0,'ptr',0,'ptr',0,'ptr',0,'ptr*',0)
EndIf
If @error Then Return SetError(@error,0,0)
Return SetError($aRet[0],0,$aRet[8])
EndFunc
Func _GetObjectStringSecurityDescriptor($oName, $_SE_OBJECT_TYPE = $SE_FILE_OBJECT)
Local $pSecDescriptor = _GetObjectSecurityDescriptor($oName, $_SE_OBJECT_TYPE)
If $pSecDescriptor = 0 Then Return SetError(2,0,'')
Local $strSecDescriptor = _ConvertSecurityDescriptorToStringSecurityDescriptor($pSecDescriptor)
DllCall("kernel32.dll",'handle','LocalFree','handle',$pSecDescriptor)
Return $strSecDescriptor
EndFunc
Func  _ConvertSecurityDescriptorToStringSecurityDescriptor(ByRef $pSecDescriptor)
If Not IsPtr($pSecDescriptor) Then Return SetError(1,0,0)
Local $aRet = DllCall("Advapi32.Dll",'bool','ConvertSecurityDescriptorToStringSecurityDescriptor', 'ptr',$pSecDescriptor,'DWORD',1,'DWORD',$SECURITY_INFORMATION,'str*',0,'ptr',0)
If @error Then Return SetError(1,0,'')
Return $aRet[4]
EndFunc

It removes the following line from the last function causing a variable used without being declared for $SECURITY_INFORMATION:
 

Local $SECURITY_INFORMATION = BitOR($DACL_SECURITY_INFORMATION,$OWNER_SECURITY_INFORMATION)

To make sure I used the latest Beta too and run it after running tidy.
 

  • Developers
Posted (edited)

  On 4/21/2014 at 6:10 PM, Factfinder said:

Au3Stripper is great.

There should be a small bug it in as it removes a local vairable inside a fucntion. Example:

-snip-

To make sure I used the latest Beta too and run it after running tidy.

 

 

I found the issue.

You are using an unusual long Func name which Au3Stripper was unable to cope with.

This is changed now in the current Beta v1.2.0.4 which will allow longer Funcnames.

Cheers

Jos

Edited by Jos

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

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...