Jump to content
AutoitMike

Scite help F1 no response

Recommended Posts

Scite 3.4.4

Win 10

I click "Help" or press F1, there is no response

If I use the file explorer and double click Autoit.chm or Autoit3.chm help opens.

There is no dialog to check or uncheck "Always ask before opening this file" when clicking on these files.

 

If you are curious as to why I dont have the latest version, I am creating a back up laptop that has a VERY extensive automation application that I have written over the past 15 years.

 

An extremely potent, powerful, needed function has been deleted in the upgrade of Autoit in recent years that I can not do without. If my main laptop dies, which it almost did, I am in a very bad position. So I bought the exact same laptop and I am "cofiguring" it to work exactly the same as my main laptop. However, this one has been "Upgraded" to Win 10 which I hope is not the problem. 

Thanks for any help

Share this post


Link to post
Share on other sites

I've seen two reasons for this happening, but there may be more

  1. Check that the install directory isn't on a network drive (mine is, and I get a blank screen in the chm file)
  2. Check that you're in a *.au3 file already... it sounds stupid, but I've done it :)

Also, the upgrade to Windows 10 shouldn't be an issue. My work laptop and my personal laptop have both been upgraded from Windows 7 Enterprise and Windows 8 Home respectively.


All my code provided is Public Domain... but it may not work. ;) Use it, change it, break it, whatever you want.

Spoiler

My Humble Contributions:
Personal Function Documentation - A personal HelpFile for your functions
Acro.au3 UDF - Automating Acrobat Pro
ToDo Finder - Find #ToDo: lines in your scripts

Share this post


Link to post
Share on other sites

not sure about the "Help" issue, but ive had cases where an AutoIt update broke scripts.

my personal solution to this while still being able to use the new features that came with the update was to copy the functions inside the deprecated UDF and paste it directly into my script.


If @error Then
    MsgBox(262192, "", @ComputerName & " slaps " & @UserName & " around a bit with a large trout!")
    EndIf

"Yeah yeah patience, how long will that take?"  -Ed Gruberman

REAL search results

Share this post


Link to post
Share on other sites
8 hours ago, AutoitMike said:

An extremely potent, powerful, needed function has been deleted in the upgrade of Autoit in recent years that I can not do without.

Care to share your unsurmountable issue?

 

As to your F1/Helpfile issue: Check what @seadoggie01 mentioned or else show the SciTE console output when you de Run or Compile so we can see what you are running.
Also provide the SciTE and AutoIt3 version information.

Jos

Share this post


Link to post
Share on other sites

The function I use , that is very powerful is that I can attached a AutoIt script to a word document and EXECUTE a Word VBA function AND pass parameters!

My application is Both Autoit scripts and Word VBA, each doing what it does best and talking directly to each other.

 

THE programmer doing it right.

Edited by AutoitMike

Share this post


Link to post
Share on other sites

How does that answer any of the questions or requests for information?

my guess:  you are opening a new scite page, copying code over, and not hitting save before you try to F1.


,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Share this post


Link to post
Share on other sites

Look here at my very old the same problem and solution (read whole topic) --> AutoIt3Help.exe was the problem:

Side note: 

You can install more AutoIt's versions on one machine and use different version for different scripts.

Here is description how I do it and use it:

 

Share this post


Link to post
Share on other sites

Seriously, if you aren't upgrading because an old version of Word.au3 had _WordMacroRun, then just make it yourself and upgrade. Here's a quick version:

Func _WordMacroVBA($oApplication, $sMacroName, $vVar1=Default, $vVar2=Default, $vVar3=Default, $vVar4=Default, $vVar5=Default, _
      $vVar6=Default, $vVar7=Default, $vVar8=Default, $vVar9=Default, $vVar10=Default, _
      $vVar11=Default, $vVar12=Default, $vVar13=Default, $vVar14=Default, $vVar15=Default, _
      $vVar16=Default, $vVar17=Default, $vVar18=Default, $vVar19=Default, $vVar20=Default, _
      $vVar21=Default, $vVar22=Default, $vVar23=Default, $vVar24=Default, $vVar25=Default, _
      $vVar26=Default, $vVar27=Default, $vVar28=Default, $vVar29=Default, $vVar30=Default)
    Return $oApplication.Run($sMacroName, $vVar1, $vVar2, $vVar3, $vVar4, $vVar5, _
      $vVar6, $vVar7, $vVar8, $vVar9, $vVar10, $vVar11, $vVar12, $vVar13, $vVar14, $vVar15, _
      $vVar16, $vVar17, $vVar18, $vVar19, $vVar20, $vVar21, $vVar22, $vVar23, $vVar24, $vVar25, _
      $vVar26, $vVar27, $vVar28, $vVar29, $vVar30)
EndFunc

It does almost nothing. There probably was error checking for the Application object and COM errors, but that's easy enough for you to do... or just copy the old function and paste it into your script.


All my code provided is Public Domain... but it may not work. ;) Use it, change it, break it, whatever you want.

Spoiler

My Humble Contributions:
Personal Function Documentation - A personal HelpFile for your functions
Acro.au3 UDF - Automating Acrobat Pro
ToDo Finder - Find #ToDo: lines in your scripts

Share this post


Link to post
Share on other sites
10 hours ago, iamtheky said:

... not hitting save before you try to F1.

that may seem unrelated, but it is correct. for F1 to work, the script must be saved to file. this is true for every version of AutoIt and SciTE that i have encountered.

Share this post


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

that may seem unrelated, but it is correct. for F1 to work, the script must be saved to file. this is true for every version of AutoIt and SciTE that i have encountered.

Which makes sense as all the configuration settings are done for a particular file extension, in this case *.au3. How else would SciTe know which config to use as it is build for multiple languages. Only the lexer default is set to au3lexer, which is why that right away works on a none saved file.

Jos

Edited by Jos

Share this post


Link to post
Share on other sites

OK,

I think that you are saying to use a different AutoItHelp.exe

I do not have a beta folder under \Autoit3 to take.

My Autoit3Help.exe is dated 12/21/2011 and is reported by windows as 38K

If I double click it, it opens, however, Scite will not open it.

What do I do now?

On the Word functions, I would really like to use the code I have been using for the past 14 years, I dont want to have to re invent the wheel.

 

Share this post


Link to post
Share on other sites

This is my 3 laptop layouts:

Original laptop:

Win 7 / Scite 3.2.0 / Autoit 3.3.8.1.  F1 works. /  _WordAttach and _WordMacroRun exist  /. Autoit3Help.exe is dated 12/21/2011 and is reported by windows as 38K

Back up #1 Laptop:

Win 7 / Scite 3.4.4  /  Autoit 3.3.8.1.  F1  works. /  _WordAttach and _WordMacroRun exist / Autoit3Help.exe is dated 12/21/2011 and is reported by windows as 38K

The Laptop I want to use as backup:

Win 10 / Scite 3.4.4  / AutoIt 3.3.8.1.   /.  F1 does not work  /  _WordAttach and _WordMacroRun exist  / Autoit3Help.exe is dated 12/21/2011 and is reported by windows as 38K

Share this post


Link to post
Share on other sites

You could have followed the instructions and install the latest Beta version of download the latest autoit3.zip file and extract the latest au3help.exe from there, but I have now also made the latest autoit3help.exe available here....just give that a try and see if that solves your issue. 

Jos

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

    • By jitb
      I have an eof problem in SciTE. I keep gitting this knitsu at the end of the open sesion.
      Please see below. The file should end at line 1220 but has invisable lines. What am I doing wrong?
    • By adjist
      Hello all! 
       
      Getting this error :
      (22) : ==> Variable used without being declared.: if $vNumber = 0 Then if ^ ERROR  
      But I'm sure I have defined the variable, as in the top of my script has 
      Global $vNumber = 0  
      How would I go about fixing this?
       
    • By MarkIT
      Hi AutoIT masters,
      Good day! Sorry to have bothered this forum but we really need help. We are working on an automation project that is running on VDI server. The BOTS are in .exe are running fine until AV detected them and deleted the files. The files were re-compiled and AV kept on deleting them. The copy of the .exe BOT deleted were sent to Symantec for whitelisting. After whitelisting, it is no longer deleted but no longer working as designed (showing Line script error). We checked the scripts and there were no issues since we run it using SciTE editor and it performed the desired task. Good thing we found on this thread the solution using .a3x and the BOTS worked fine and no longer deleted. Now, the problem is they are asking why the BOTS won't run in .EXE and what is the reason behind Symantec AV deleting them. We raised a case with Symantec but they cannot provide further information as they are always seeing the file as "False Positive". We even tested with Symantec turned off and those .EXE files are working fine, however, after re-enabling, it got deleted.
      Just seeking help on how to better convince them that it is really Symantec causing the issue and the .a3x file.
    • By Beege
      If you have every taken the time to set up a nice dark theme for your scite editor, you probably noticed shortly after a small yet really annoying flaw. For what ever reason, scite is not set up to let you change the caret fore color and caret line color per language. This really sucks if say you want to edit a properties file or any of the many other languages that Scite currently is setup to support. Pretty much all the other languages are set as light theme so unless you change the theme for those file types, you end up with something like below where the line color and caret are still using the dark theme colors. Line 3 in the pic:
       

       
      To get around this I came up with the following that seems to work pretty well.  
       
      Add the following properties to SciteUser.properties file (Options -> Open User Options File). Update colors to your own needs. You can addionally add any other propertys that dont have a lexer language option in the same fashion.
      # The default values (light themes) will be used for any lexer other than au3 caret.default.fore=#000000 caret.default.line.back=#FFFED8 selection.default.fore=#006000 selection.default.back=#F0A0A8 caret.au3.fore=#FFFFFF caret.au3.line.back=#111111 selection.au3.fore=#C2FFAE selection.au3.back=#f9f9f9  
      Add the following function to PersonalTools.Lua file. As jos pointed out, the OnStartup covers the filetab switches as well as the startup so only need the one function:
      function PersonalTools:OnStartup() -- the "and" + "or" keywords are ternary operators here local sLex = self:IsLexer(SCLEX_AU3) and 'au3' or 'default' props['caret.line.back'] = props['caret.' .. sLex .. '.line.back'] props['caret.fore'] = props['caret.' .. sLex .. '.fore'] props['selection.fore'] = props['selection.' .. sLex .. '.fore'] props['selection.back'] = props['selection.' .. sLex .. '.back'] end
      Last restart SciTE and that should be it. Let me know if you have any issues. Thanks
       
    • By ozymandius257
      Is there a way to remove the numbers from the tabs in Scite?
      When you have multiple autoit programs open, the tabs are numbered, so you'll get something like 1 ProgramA.au3    2 Program2.au3   3 Program3.au3
      I am working on programs with numbers as the first character, so I get  1 3-DoThis.au3     2 4-DoAnother.au3   3 5-DoTheRest.au3  (not the real program names, obviously :))
      It would be nice if I could get rid of the tab number, and just have the program name on each tab.
       
       
×
×
  • Create New...