Jump to content

TrayIconDebug in a compiled exe


Fidel
 Share

Recommended Posts

Hello,

I've added

Opt("TrayIconDebug", 1)
to the top of my script. It helps me debug by hovering the mouse above the tray icon. However, when I compile the au3 to an exe, the tray icon no longer shows the current line of code.

Question: Is it possible to make the tray icon of a compiled script show the current line text?

Ta,

Fidel

Edited by Fidel
Link to comment
Share on other sites

  • 7 years later...

Hi,

but how can the autoit error msgbox include an error line then?

Regards, Conrad

SciTE4AutoIt = 3.7.3.0   AutoIt = 3.3.14.2   AutoItX64 = 0   OS = Win_10   Build = 19044   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.

Link to comment
Share on other sites

8 hours ago, JohnOne said:

Because Compiled scripts do have a sense of "lines".

 @Simpel  , if you use

#AutoIt3Wrapper_Run_Au3Stripper=y
#Au3Stripper_Parameters=/MO

you can use the _stripped.au3 to correlate to the line number 

Edited by argumentum
called the attention of an uninvolved party.

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Link to comment
Share on other sites

  • 2 weeks later...

@argumentum, I know and I used it some times. (There were times when shown error lines and the corresponding line in the _stripped.au3 couldn't match. But in the last few times it matched.)

Is it possible not only to have the line number but the code in this line too?

Regards, Conrad

SciTE4AutoIt = 3.7.3.0   AutoIt = 3.3.14.2   AutoItX64 = 0   OS = Win_10   Build = 19044   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.

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