Jump to content

Recommended Posts

Posted

if you hit F5 then it does show you the error, but if you hit F7 then it lets you compile the script & does not display any errors. Result: you run the script & if it executes this part of the code you get error message box.

hopefully you will fix this in the future so that it will error if you hit F7

Opt("WinTitleMatchMode", 2)

$win = ' - Mozilla Firefox'

if WinActive($win) Send('^w')
My Projects:[list][*]Guide - ytube step by step tut for reading memory with autoitscript + samples[*]WinHide - tool to show hide windows, Skinned With GDI+[*]Virtualdub batch job list maker - Batch Process all files with same settings[*]Exp calc - Exp calculator for online games[*]Automated Microsoft SQL Server 2000 installer[*]Image sorter helper for IrfanView - 1 click opens img & move ur mouse to close opened img[/list]
  • Developers
Posted

if you hit F5 then it does show you the error, but if you hit F7 then it lets you compile the script & does not display any errors. Result: you run the script & if it executes this part of the code you get error message box.

hopefully you will fix this in the future so that it will error if you hit F7

Opt("WinTitleMatchMode", 2)

$win = ' - Mozilla Firefox'

if WinActive($win) Send('^w')

Compile doesn't do a syntax check, just lexing, and has never done so.

That is why, when using the full SciTE4Autoit3 version, we run au3check to filters most of the errors out.

So.. bottomline : You are responsible for doing proper testing before compiling the script!

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

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
×
×
  • Create New...