goldenix Posted August 2, 2009 Share Posted August 2, 2009 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] Link to comment Share on other sites More sharing options...
DCCD Posted August 2, 2009 Share Posted August 2, 2009 Sorry But when I hit F7, i get error message that saysC:\err.au3(5,30) : ERROR: single line 'If' missing 'Then'.if WinActive($win) Send('^w')~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^C:\upload\Pcap Poroject\err.au3 - 1 error(s), 0 warning(s)SciTE Version 1.78AutoIt Version 3.2.13.13 (beta) [u][font=Arial Black]M[/font]y Blog, AVSS Parts[/u][font=Arial Black]Else[/font][font=Arial Black]L[/font]ibya Linux Users Group Link to comment Share on other sites More sharing options...
Developers Jos Posted August 2, 2009 Developers Share Posted August 2, 2009 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now