Jump to content



Photo

New SciTE4AutoIt3 available with SciTE v1.73


  • This topic is locked This topic is locked
139 replies to this topic

#21 Jos

Jos

    oh joy ...

  • Developers
  • 21,055 posts

Posted 14 April 2007 - 05:53 PM

It does not say if the latest KODA is in here?

I saw it was posted but haven't included it yet because I wasn't sure Lazycat wanted me to yet.
I am sure I will update SciTE4AutoIt3 soon again when bugs are reported.

:shocked:

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)






#22 kjactive

kjactive

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 697 posts

Posted 14 April 2007 - 06:24 PM

I have a problem with the latest SciTE update, $(autoit3dir) now point to 'Program Files' where it should point to 'Programs' instate as where my AutoIt3 and SciTE is and has always been installed - normal procedure in many countries...

What and where do I set this or is it a bug...

kjactive :">

Edited by kjactive, 14 April 2007 - 06:25 PM.


#23 Lazycat

Lazycat

    Coding cat

  • MVPs
  • 1,174 posts

Posted 14 April 2007 - 06:26 PM

I saw it was posted but haven't included it yet because I wasn't sure Lazycat wanted me to yet.

Formally I'm have nothing opposite if beta will be included, so you feel free to do that if you want, but surely, don't think that it is reasonable. Many changes here, and not only new ones, some old code is changed too. So no guarantee that even what already was here will work fine :shocked:
Koda homepage (http://www.autoitscript.com/fileman/users/lookfar/formdesign.html) (Bug Tracker)My Autoit script page (http://www.autoitscript.com/fileman/users/Lazycat/)

#24 Jos

Jos

    oh joy ...

  • Developers
  • 21,055 posts

Posted 14 April 2007 - 07:39 PM

I have a problem with the latest SciTE update, $(autoit3dir) now point to 'Program Files' where it should point to 'Programs' instate as where my AutoIt3 and SciTE is and has always been installed - normal procedure in many countries...

What and where do I set this or is it a bug...

kjactive :">


The program UpdateDefs, located in the Scite\defs directory, is ran at the end of the installer and will try to find out where AutoIt3 is installed and set this field in au3.properties.
It could be, when you don't use the regular AutoIt3 installer for example, that it is unable to find it and sets it to for you the "wrong" directory .
Or are you using the SciTE4AutoIt3.ZIP file ?

Have a look at UpdateDefs and see where it goes wrong.... let me know when you understand where it goes wrong.

:shocked:

Edited by JdeB, 14 April 2007 - 09:47 PM.

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)


#25 Jos

Jos

    oh joy ...

  • Developers
  • 21,055 posts

Posted 14 April 2007 - 07:40 PM

Formally I'm have nothing opposite if beta will be included, so you feel free to do that if you want, but surely, don't think that it is reasonable. Many changes here, and not only new ones, some old code is changed too. So no guarantee that even what already was here will work fine :shocked:

I prefer when you tell me when its good enough for you to be included in SciTE4AutoIt3 to avoid and mistakes... Thanks :(

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)


#26 kjactive

kjactive

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 697 posts

Posted 15 April 2007 - 05:58 AM

Well I just did an SciTE by installer install and that didn't help me, still the same trouble - where get the $(autoit3dir) initiated, by installer or everytime SciTE opens...

kjactive :shocked:

#27 Jos

Jos

    oh joy ...

  • Developers
  • 21,055 posts

Posted 15 April 2007 - 08:55 AM

Well I just did an SciTE by installer install and that didn't help me, still the same trouble - where get the $(autoit3dir) initiated, by installer or everytime SciTE opens...

kjactive :shocked:

As said in my previous post: At the end of the installer process, updatedefs.exe is ran. This script is located in Scite\Defs.
In the script you will find Func Update_Autoit_Path($SciTEPath) which contains this portion of code to determine the AutoIt3 directory:

    ; get new registry settings for AutoIt3 location     $AutoItDir = RegRead("HKLM\Software\Autoit v3\AutoIt", "InstallDir")     ; if wrong.. check for Old registry settings     If @error Or Not FileExists($AutoItDir & "\autoit3.exe") Then         $AutoItDir = RegRead("HKLM\Software\HiddenSoft\AutoIt3", "InstallDir")         ; if wrong guess ourselfs         If @error Or Not FileExists($AutoItDir & "\autoit3.exe") Then             $AutoItDir = @ProgramFilesDir & "\AutoIt3"         EndIf     EndIf     ; if still wrong AutoIt3 Directory then prompt for it.     While Not FileExists($AutoItDir & "\autoit3.exe")         $AutoItDir = FileSelectFolder("Select the AutoIt3 programfolder", @ProgramFilesDir)         If @error = 1 Then             $RC = MsgBox(4100, "Update SciTE Definitions", "do you want to stop the process?")             If $RC = 6 Then Exit         EndIf     WEnd


Run UpdatedDefs.exe manually and see if it still is a problem.
If it still is then the above code needs debugging.

Edited by JdeB, 15 April 2007 - 08:57 AM.

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)


#28 kjactive

kjactive

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 697 posts

Posted 15 April 2007 - 11:06 AM

I did that and I ended up with a SciTE with a minimal Tool section and still the same trouble, I can't quiet understand this as my
autoit3 installdir with RegRead("HKLM\Software\Autoit v3\AutoIt", "InstallDir") is and has always been C:\Programmer\AutoIt3 and
FileExists($AutoItDir & "\autoit3.exe") should be true and I didn't get a filerequester on where autoit2 is installed...

Thanks anyway for a nice autoit3 editor...

kjactive :shocked:

#29 MHz

MHz

    Just simple

  • MVPs
  • 5,400 posts

Posted 15 April 2007 - 11:30 AM

Just add this line into your User Option file and Scite4AutoIt3 should hopefully work fine for you. This is assuming that your Scite directory is inside the AutoIt directory.
autoit3dir=$(SciteDefaultHome)\..


:shocked:

#30 Jos

Jos

    oh joy ...

  • Developers
  • 21,055 posts

Posted 15 April 2007 - 02:53 PM

I did that and I ended up with a SciTE with a minimal Tool section and still the same trouble, I can't quiet understand this as my
autoit3 installdir with RegRead("HKLM\Software\Autoit v3\AutoIt", "InstallDir") is and has always been C:\Programmer\AutoIt3 and
FileExists($AutoItDir & "\autoit3.exe") should be true and I didn't get a filerequester on where autoit2 is installed...

Thanks anyway for a nice autoit3 editor...

kjactive :shocked:

Please copy the attached Test version to SciTE\Defs dirtectory and run it. then PM me the UpdateDefs.log so I can see whats happening.

Thanks

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)


#31 Jos

Jos

    oh joy ...

  • Developers
  • 21,055 posts

Posted 17 April 2007 - 04:03 PM

4/17/2007: Uploaded a new SciTe4Au3Upd.exe installer which will update Obfuscator to v1.0.1.

==> ScitillaHistory page containing all SciTE/Scintilla updates.
==> Visit the SciTe4AutoIt3 Download page for the latest versions
==> Check the online documentation for an overview of all extras you get with this installer.

Enjoy,
Jos

*** Updated Obfuscator.exe v1.0.1 (JdeB)     - Fixed:added support for Func OnAutoItStart(), OnAutoItExit() and Opt("OnExitFunc","User_OnAutoItExit")

Edited by Jos, 24 September 2007 - 01:49 PM.

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)


#32 FeReNGi

FeReNGi

    Prodigy

  • Active Members
  • PipPipPip
  • 156 posts

Posted 18 April 2007 - 09:51 AM

CTRL +F7 doesn't give me the options anymore before compile.

This was caused by next entry in my script:

#Compiler_Run_Obfuscator=y

#33 Jos

Jos

    oh joy ...

  • Developers
  • 21,055 posts

Posted 18 April 2007 - 06:54 PM

CTRL +F7 doesn't give me the options anymore before compile.

This was caused by next entry in my script:

#Compiler_Run_Obfuscator=y


Always has been this way...
AutoIt3Wrapper assumes when you specify a Compiler Directive, that all info is given by means of Compiler Directives and doesn't prompt by default anymore.
Add this line to force the prompt:
#compiler_prompt=y

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)


#34 FeReNGi

FeReNGi

    Prodigy

  • Active Members
  • PipPipPip
  • 156 posts

Posted 19 April 2007 - 08:16 AM

Can you add then an option to select it or not when pressing CTRL + F7 ?

#35 Jos

Jos

    oh joy ...

  • Developers
  • 21,055 posts

Posted 19 April 2007 - 03:30 PM

Can you add then an option to select it or not when pressing CTRL + F7 ?

Lost you now... isn't that what the posted option does?
Add this line to force the prompt: #compiler_prompt=y

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)


#36 GEOSoft

GEOSoft

    Sure I'm senile. What's your excuse?

  • MVPs
  • 10,563 posts

Posted 20 April 2007 - 04:42 PM

Lost you now... isn't that what the posted option does?

Add this line to force the prompt: #compiler_prompt=y

I think that what @FeReNGi means is could that be added to the Options menu in Scite4AutoIt3.
$Menu_ForcePrompt = GUICtrlCreateMenuItem ("Force Prompt", Menu)
Click and it sets the menu item to checked and #compiler_prompt=y
Click again and it sets the menu item to unchecked and #compiler_prompt=n

BTW: personally I prefer to see 1 and 4 used as opposed to y and n or yes and no. It makes it much easier to set the control state on startup
GUICtrlSetState(-1, 64 + IniRead($Ini,"Section","Key", "1"))
GeorgeQuestion about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else."Old age and treachery will always overcome youth and skill!"

#37 Jos

Jos

    oh joy ...

  • Developers
  • 21,055 posts

Posted 20 April 2007 - 05:01 PM

I think that what @FeReNGi means is could that be added to the Options menu in Scite4AutoIt3.
$Menu_ForcePrompt = GUICtrlCreateMenuItem ("Force Prompt", Menu)


Isn't this what you call an catch 22 ?
To have a menu option shown means you have to display it first , and when you display it there is no use in setting an option.

Anyways.. I am not maintaining the GUI and am still planning for removing it at some point in time, because the compiler directives are SOOOO much easier to use and maintain.

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)


#38 GEOSoft

GEOSoft

    Sure I'm senile. What's your excuse?

  • MVPs
  • 10,563 posts

Posted 20 April 2007 - 05:25 PM

Isn't this what you call an catch 22 ?
To have a menu option shown means you have to display it first , and when you display it there is no use in setting an option.

Anyways.. I am not maintaining the GUI and am still planning for removing it at some point in time, because the compiler directives are SOOOO much easier to use and maintain.

As our friend @Valuater would put it 8).

The code that I used as you noticed was the code to use for an AutoIt GUI because I don't know what the equivellent code for Scite would be and I have no intention of looking it up either.
PX has several menu items that are checked or unchecked according to the INI settings so I just used that concept in the example.
GeorgeQuestion about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else."Old age and treachery will always overcome youth and skill!"

#39 Zedna

Zedna

    AutoIt rulez!

  • MVPs
  • 8,315 posts

Posted 02 May 2007 - 12:02 PM

I have one idea for new command in Scite/Tools menu.
I know there is a lot of stuff for now but this one would be very usefull.

It should be something like "Jump to Function" Ctrl+J with also "Open include"/"Open include Beta" Alt+I/Alt+Shift+I functionality.
So after "Jump to Function" if it can't find Funcion definition in current script it should find it in all include files defined in this script
and open that found include file in new tab and jump to this function definition in this opened include file.

So This could be new commands
"Jump to Function" - updated existing command where search/jump is done in release includes
"Jump to Function Beta" - new command and search/jump is done in beta includes

Edited by Zedna, 02 May 2007 - 12:03 PM.


#40 Jos

Jos

    oh joy ...

  • Developers
  • 21,055 posts

Posted 04 May 2007 - 02:51 PM

5/4/2007: Uploaded a new SciTe4AutoIt3.exe installer which will update Obfuscator to v1.0.7.

==> ScitillaHistory page containing all SciTE/Scintilla updates.
==> Visit the SciTe4AutoIt3 Download page for the latest versions
==> Check the online documentation for an overview of all extras you get with this installer.

Enjoy,
Jos

5/4/2007 *** Updated Tidy v 2.0.11 (JdeB)     - Added /keepnversions /kv support to #tidy_parameters= directive.     - Added /Sort_funcs /sf support which will sort Sort all Func-Endfunc Blocks in sequence         and when #Region-#EndRegion is used sort them within that scope.     - Added /sort_funcs_comments /sfc support which will sort Sort all Func-Endfunc Blocks in sequence.         It uses the first 10 characters of the comment on the Func statemnt as sortkey before the FuncName.         When #Region-#EndRegion is used, sort them within that scope.     - Added support for other then .au3 file extensions. *** Updated AutoIt3Wrapper v1.8.0 (JdeB)     - Fixed problem when filepath contained .au3.     - Added support for other then .au3 file extensions. *** Updated Obfuscator.exe v1.0.7 (JdeB)     - Fixed: Avoid removal of #NoTrayIcon.     - Fixed: Fix problem with literal Strings longer than 2000 characters generating too long Obfuscated string.     - Fixed: possible "Variable not declared" error when AdLib is used.     - Added support for other then .au3 file extensions.

Edited by Jos, 24 September 2007 - 01:49 PM.

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users