Jump to content
Simpel

[Solved] SciTE no functions working

Recommended Posts

Simpel

Hi,

I updated to the last version. Since then a lot of functions are not working.  For instance expanding abbreviation. My au3abbrev.properties are correct and abbrev.properties are including both import lines. The abbreviation is red but won't expand. Neither with space nor Ctrl+B.

Debug to msgbox and console not working, list functions, jump to function, open include too.

SciTE Jump works. Block and box comment too.

I have the feeling all functions especially for autoit are not working.

Any help? Regards, Conrad

Edited by Simpel
solved

SciTE4AutoIt = 3.7.3.0   AutoIt = 3.3.14.2   AutoItX64 = 0   OS = Win7Pro SP1   OSArch = X64   Language = 0407/german
H:\...\AutoIt3\SciTE     H:\...\AutoIt3      H:\...\AutoIt3\Include     (H:\ = Network Drive)

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

Share this post


Link to post
Share on other sites
BrewManNH

Have you saved the file to one with an extension of .au3? Or have you opened a file with that extension?


If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Share this post


Link to post
Share on other sites
Simpel

I have opened a file with .au3 extension and this is in front.


SciTE4AutoIt = 3.7.3.0   AutoIt = 3.3.14.2   AutoItX64 = 0   OS = Win7Pro SP1   OSArch = X64   Language = 0407/german
H:\...\AutoIt3\SciTE     H:\...\AutoIt3      H:\...\AutoIt3\Include     (H:\ = Network Drive)

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

Share this post


Link to post
Share on other sites
Simpel

Hi,

even variables are not auto completing.

Regards, Conrad


SciTE4AutoIt = 3.7.3.0   AutoIt = 3.3.14.2   AutoItX64 = 0   OS = Win7Pro SP1   OSArch = X64   Language = 0407/german
H:\...\AutoIt3\SciTE     H:\...\AutoIt3      H:\...\AutoIt3\Include     (H:\ = Network Drive)

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

Share this post


Link to post
Share on other sites
Jos

Have you ran the SciTE4AutoIt3 installer under your own credentials? 
Check if you have this directory "%localappdata%\AutoIt v3\SciTE" with a bunch of subdirectories? Ig not then copy then for the Userid you installed the installer with.

Jos

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Simpel

Hi,

I do have \AutoIt v3\Aut2exe but no \SciTE. Maybe it's because I never did install the last versions but took the expanded zip files and copied them to my AutoIt folder.

I can't install anything at this pc so I did a long time ago on a pc I owned. Year by year I made updates the way I told above. Because of this way I do have a lot of properties files and I always have to look which is the actual one. It's bad but I'm not sure which one I can kill.

So what has to be exactly in the %localappdata%\AutoIt v3\SciTE folder?

Can I delete properties files I have to put in this folder above from all other locations?

Thanks and regards, Conrad


SciTE4AutoIt = 3.7.3.0   AutoIt = 3.3.14.2   AutoItX64 = 0   OS = Win7Pro SP1   OSArch = X64   Language = 0407/german
H:\...\AutoIt3\SciTE     H:\...\AutoIt3      H:\...\AutoIt3\Include     (H:\ = Network Drive)

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

Share this post


Link to post
Share on other sites
Jos

Things should also work fine when using the zip file als long as you leave the file structure in place and don't have any SCITE* environment variables defined.
Lets take the abbrev issue:  Which file is opened when you go : SciTE/Options/Open Abbreviations file?
That is an indication where SciTE thinks your files are located.

Jos  


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Simpel

Aha.

Mouse over says C:\Users\ME\abbrev.properties. But there is no abbrev.properties inside. Better would?

I'd like to change it to another path. Where can I do this? In which file should I change the path and where may it lay now?

Conrad

Edited by Simpel

SciTE4AutoIt = 3.7.3.0   AutoIt = 3.3.14.2   AutoItX64 = 0   OS = Win7Pro SP1   OSArch = X64   Language = 0407/german
H:\...\AutoIt3\SciTE     H:\...\AutoIt3      H:\...\AutoIt3\Include     (H:\ = Network Drive)

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

Share this post


Link to post
Share on other sites
Simpel

Oh sorry I didn't understand that.

What do you mean by "SCITE* environment variables defined"?

SciTE.exe is located here: "H:\_Conrad lokal\Downloads\AutoIt3\SciTE\SciTE.exe"

Conrad


SciTE4AutoIt = 3.7.3.0   AutoIt = 3.3.14.2   AutoItX64 = 0   OS = Win7Pro SP1   OSArch = X64   Language = 0407/german
H:\...\AutoIt3\SciTE     H:\...\AutoIt3      H:\...\AutoIt3\Include     (H:\ = Network Drive)

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

Share this post


Link to post
Share on other sites
Jos
Just now, Simpel said:

What do you mean by "SCITE* environment variables defined"?

Go into a CMD window and type: set scite 
What is the result? ;)

 

1 minute ago, Simpel said:

SciTE.exe is located here: "H:\_Conrad lokal\Downloads\AutoIt3\SciTE\SciTE.exe"

Then it is strange it is looking in %LOCALAPPDATA% for the abbrev.properties. So you either have an environment variable set or not the latest full version of SciTE. So also check the Help About and tell me what the first 3 lines state.

Jos


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Simpel

Wow. Fast answers.

set scite --> variable "scite" is not defined (in german of course)

About: SciTE-Lite Version 3.5.4 Sep 18 2015 15:04:36

I thought I downloaded full version.

Conrad


SciTE4AutoIt = 3.7.3.0   AutoIt = 3.3.14.2   AutoItX64 = 0   OS = Win7Pro SP1   OSArch = X64   Language = 0407/german
H:\...\AutoIt3\SciTE     H:\...\AutoIt3      H:\...\AutoIt3\Include     (H:\ = Network Drive)

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

Share this post


Link to post
Share on other sites
Jos

That SciTE version is too old and the Lite version that comes with the AutoIt3 installer, which is lacking all extra functionality!
You will need to download the ZIP version from the AutoIt3 Editor download page to get the portability support.

Jos


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Simpel

YESSSS. All is working again. (I followed your signature. ;-)

Now I have to update SciTE with my own abbreviations and 3 tools I made. What are the recommended files to write this in?

Thank you til here. Conrad

 

Edited by Simpel

SciTE4AutoIt = 3.7.3.0   AutoIt = 3.3.14.2   AutoItX64 = 0   OS = Win7Pro SP1   OSArch = X64   Language = 0407/german
H:\...\AutoIt3\SciTE     H:\...\AutoIt3      H:\...\AutoIt3\Include     (H:\ = Network Drive)

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

Share this post


Link to post
Share on other sites
Simpel

Drive H: is a network drive and AutoIt-Help is not working properly with WIN7: https://www.autoitscript.com/forum/topic/181732-help-in-autoit-v33142/?do=findComment&comment=1312091

So I have to locate the help file at C:\... What is the correct file to write this path in?

Conrad

Edit: I changed the path in file au3.properties.

Searched for "command.help.$(au3)=" and added full path.

Edited by Simpel
posting solution found by myself.

SciTE4AutoIt = 3.7.3.0   AutoIt = 3.3.14.2   AutoItX64 = 0   OS = Win7Pro SP1   OSArch = X64   Language = 0407/german
H:\...\AutoIt3\SciTE     H:\...\AutoIt3      H:\...\AutoIt3\Include     (H:\ = Network Drive)

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

Share this post


Link to post
Share on other sites
Jos
1 hour ago, Simpel said:

What are the recommended files to write this in?

You need to be a little more specific here. For abbreviations you can use the abbreviation manager found in SciTEConfig.

AutoIt3 and SciTE really need to be located together for it to work best. SciTE should be a subdir of AutoIt3. As to the helpfile, have you check the file properties whether the helpfile is unlocked?

Jos

You probably appreciate why I made a installer to avoid all these issues! ;)

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Simpel

I would prefer installer too, if I'm allowed to install. But I'm not.

SciTE is actually a subdir of AutoIt3.

Helpfile: I zipped and unzipped "AutoIt.chm" and "AutoItHelp.exe" to skip the flag downloaded by internet. This way I skipped the security window. If I doubleclick the .chm it will open properly and show all content. Doubleclicking the help.exe then the first time everything is ok. But from the second doubleclick on I see only index on the left side but no content on the right.

Can I pass a variable to the .chm so I can avoid the help.exe?

Quote

... have you check the file properties whether the helpfile is unlocked?

Here I'm not sure. What did you mean?

I put some abbrev into au3UserAbbrev and did put only these keywords into au3.keywords.user.abbreviations. Now it's funny:

First: Global abbrev now only expand with Ctrl+B. Before they expanded with space too. That's a pity.

Second: Global abbrev are not coloured in red anymore. A pity too.

So do I have to change the global abbrev file? I want avoid that due to later updates.

Regards, Conrad

P.S. Again: thanks for that great support.


SciTE4AutoIt = 3.7.3.0   AutoIt = 3.3.14.2   AutoItX64 = 0   OS = Win7Pro SP1   OSArch = X64   Language = 0407/german
H:\...\AutoIt3\SciTE     H:\...\AutoIt3      H:\...\AutoIt3\Include     (H:\ = Network Drive)

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

Share this post


Link to post
Share on other sites
Jos
14 minutes ago, Simpel said:

Here I'm not sure. What did you mean?

Rightmouse click on the file & Properties. SOmetimes a Helpfile shows its blocked and you need to unblock it before you can use it. This is a windows security measure.

16 minutes ago, Simpel said:

I put some abbrev into au3UserAbbrev and did put only these keywords into au3.keywords.user.abbreviations. Now it's funny:

First: Global abbrev now only expand with Ctrl+B. Before they expanded with space too. That's a pity.

Second: Global abbrev are not coloured in red anymore. A pity too.

Means you did something wrong because it works when unzipping the original package ... right? :)

So what did you change?  (Zip up the abbrev files and PM them to me when you cant figure it out so I can have a look)

Jos


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Simpel

Found solution for expanding by myself: au3.keywords.user.abbreviations seemed to be the new master. If this file is existing only keywords inside this file will expand by space and will change color to red.

So it's easy. I copied all the content of au3.keywords.abbreviations into au3.keywords.user.abbreviations and appended my own keywords. In case of an update I only have to change the first part of my au3.keywords.user.abbreviations.

Helpfile seemed to be unblocked. There is nothing like this to find inside the file properties.

There seemed to be a possibility to pass parameters to a .chm file (http://stackoverflow.com/questions/11076952/open-chm-file-at-specific-page-topic-using-command-line-arguments) but I don't understand enough to change it into a code for the F1 section in au3.properties.

Conrad


SciTE4AutoIt = 3.7.3.0   AutoIt = 3.3.14.2   AutoItX64 = 0   OS = Win7Pro SP1   OSArch = X64   Language = 0407/german
H:\...\AutoIt3\SciTE     H:\...\AutoIt3      H:\...\AutoIt3\Include     (H:\ = Network Drive)

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

Share this post


Link to post
Share on other sites
Jos

I will have a look at what happens when i open up a portable setup from my NAS to see if there are issues opening the helpfile.

Just opening AutoIt.chm seems to show the TOC or Index but not the actual Helpfile page content.

Stay tuned

Jos

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
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

  • Similar Content

    • Jos
      By Jos
      1/02/2018: Uploaded a new SciTe4AutoIt3.exe v19.102.1901.0 installer.
      This version contains the bugfix release for SciTE 4.1.2.
      There has been a major update for Tidy allowing now inline comments without them being shifted to the left by default.
      See this thread for the total story about the new behavior and the added options
      ==> SciTE4AutoIt3 v19.102.1901.0
      Enjoy,
      Jos

      Addition/Changes/Fixes in the current installer:

      -------------------------------------------------------------------------------------------------- 2-1-2019 *** Merged the SciTE v 4.1.2 by Neil Hodgson with our own version of SciTE. (Jos)     - Fixed regex issue for Alt+F in AutoItTools.lua     - Fixed another regex issue for several functions in AutoItTools.lua     - Fixed Header parameters now showing None when none are     - Fixed jump to function to also jump to the right Column again.     - Restored AutoItTools:Copy_BookMarks() functionality *** Updated AutoIt3Wrapper v19.102.1901.0 (Jos)     - 18.703.1808.1 renamed "#AutoIt3Wrapper_Au3Stripper_Stop_OnError" to "#AutoIt3Wrapper_Au3Stripper_OnError" with now as options S,C,F,Stop,Continue,ForceUse     - 18.708.1148.1 Added #include <WinAPIFiles.au3> back in the included file list to ensure backward compatibility.     - 18.708.1148.2 Added "Tidy_Stop_OnError" support to the AutoIt3Wrapper.INI file.                     Changed HiDPI settings for Win 10 compatibility.     - 18.708.1148.4 Added logic to be able to display Console Output of script that have #RequireAdmin while SciTE runs at normal level.     - 18.708.1148.5 Added support to allow to Stop Execution or Restart for scripts with #RequireAdmin while SciTE runs at normal level.                     It won't hang anymore when you reply No on the UAC and detect the elevated process didn;t start.     - 18.708.1148.6 Reverted HiDPI changes made in 18.708.1148.2 as problems are reported. needs investigation.     - 18.708.1148.7 Changed check for RequireAdmin AutoIt3Wrapper startup.     - 18.708.1148.8 Added #include <APIResConstants.au3> for backwards compatibility with AutoIt3 v3.3.14.x. *** Updated Au3Stripper v19.102.1901.0 (Jos)     - 18.708.1148.1 Fixed issue finding variable names on multiline statements     - 18.708.1148.2 Added check for ending \ in the AutoIt3Dir, and remove it when there, to avoid duplication of includes.     - recompiled with PellesC 6 to make it compatible with WinXP again. *** Updated SciTEConfig v19.102.1901.0 (Jos)     - 18.708.1148.1 Update to allow comments in *.SciTEConfig file lines. (JPM)                     This update includes the updated shemes to allow changing between them. *** Updated Tidy v19.102.1901.0 (Jos)     - 18.708.1148.1: Fix bug handling Directivelines ending with continuation character     - 18.708.1148.2: Fixed indentation when a "None breaking space"(C2A0) character is used in a UTF file.     - 18.708.1148.3: Fix bug when a continuation line starts with +x, where is would add a space between +- and number.     - 18.708.9999.x: Rewrite of some internal code to allow inlinecomments to remain at their current position.                       Details can be found in this post: https://www.autoitscript.com/forum/topic/196221-tidy-major-update-27-10-requesting-help-with-testing/     - 18.708.9999.22: Released to Beta.     - 18.708.9999.23: Added option to totally skip commentblocks so now the options are:                         #Tidy_Parameters=/tcb=0         =>only indent the whole commentblock  (default)                                          /tcb or /tcb=1 =>Tidy inside commentblock                                          /tcb=-1        =>leave whole commentbock alone                        Tidy.INI:#--> Tidy commentblock 0=only indent the whole commentblock  (default=0)                                 #                      1=Tidy inside commentblock                                 #                     -1=leave whole commentbock alone                                 Tidy_commentblock=0     - 18.708.9999.24: Added check for ending \ in the AutoIt3Dir and remove it when there.     - recompiled with PellesC 6 to make it compatible with WinXP again. --------------------------------------------------------------------------------------------------
      ==> 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 extra's you get with this installer.
    • c.haslam
      By c.haslam
      cDebug.au3 includes four main debugging UDFs: _GuiDebug(), _ConsDebug(), _ClipDebug() and _FormatValsForDebug(). They all dump the values of all AutoIt subtypes and expressions, in a structured manner, including nested arrays (up to 3 dimensions) and slices of them, and even DLL structs and maps. It is an alternative to a graphical debugger, offering GUI output.
      The format for calling the UDFs has been designed to make coding a call as convenient and fast as possible, minimizing coding effort and the chances of errors: the $name argument is often the same as the variables arguments, enclosed in quote marks.
      For DLL structures, if you specify a tag, cDebug checks for differences between it and what it detects. If you only specify a structure variable, it can report the structure it detects, with the values of elements.
      It does much more than MsgBox(), ConsoleWrite() and _ArrayDisplay(), in a definitely user-friendly manner, and does its best to avoid hiding your code in SciTE.
      #include cDebug no maps.au3 or cDebug.au3 at the top of your script. If you #include cDebug.au3 (the version with maps)  #include #AutoIt3Wrapper_Version=B before #include cDebug.au3
      It is fully documented in    .  During debugging and development of new features, the current version is used to debug the upcoming version, so there is much testing, even so  bugs are always possible, particularly in new features, such as reporting elements of maps whose keys match a regular expression. Bug reports and suggestions are welcome.
      These UDFs have been in regular use for some years.
      Because when cDebug was developed, maps were a use at your own risk feature, there are two streams of cDebug:
      cDebug.au3 reports maps, so to use it you must be running a version of AutoIt that supports maps, e.g. 3.3.15.0, and #include cDebug.au3 cDebug no maps.au3 does not report maps, so you can be running any recent version of AutoIt, e.g. 3.3.14.5, and #include cDebug no maps.au3 The only difference between the two streams is that map-reporting code is commented out in cDebug no maps.au3 .
      These functions are documented in cDebug.pdf
      A teaser
      This script:
      #AutoIt3Wrapper_Version=B ; beta 3.3.15.0 or greater is mandatory for cDebug.au3 #include "cDebug.au3" Local $seasons[] $seasons.summer = 'May to September' $seasons.spring = 'April' $seasons.fall = 'October to November' $seasons.winter = 'December to March' Local $aCats[3][3] = [['jack','black',3],['suki','grey',4],[$seasons,'','']] Local $i = 1 Local $tStruct = DllStructCreate('uint') DllStructSetData($tStruct,1,2018) _GuiDebug('At line '&@ScriptLineNumber,'$cats,jack is,$cats[..][$i],$i,hex,structure{uint}', _ $aCats,$aCats[0][2],$aCats,$i,Hex(-$i),$tstruct) produces:

       
      Acknowledgements
      Melba23, Kafu, ProgAndy, jchd
    • Arm_And_Hammer
      By Arm_And_Hammer
      I need to open a program for part of my script; the name of the program is "Cisco IP Communicator". The two ways I know to open the program right now are to either to click on the desktop shortcut ("Cisco IP Commincator.lnk") or by viewing the shortcut's target file location, and running the .exe file ("communicatork9.exe").

      The code I'm using is as follows: 
       
      #RequireAdmin
      $ciscoApp = "C:\Program Files (x86)\Cisco Systems\Cisco IP Communicator\communicatork9.exe"
      Run($ciscoApp)


      Whenever I run this script, I am prompted for administrator access and then nothing happens. If anyone has any suggestions on how to fix this issue, I'd really appreciate it. Thanks!
       
    • timmy2
      By timmy2
      I've noticed in several YouTube tutorials about AutoIt that every time the instructor types EndFunc a comment "<==(function name)" is automatically added. I understand that Tidy will do this after the fact but what I'm writing about happens in real time. Where's the setting for this?  Thank you.
    • ademon
      By ademon
      Hi. I can open the editor with out problems but I can not compile because it is placed on another partition diferent from C.
      Can you provide an update of this bug?


×