Biatu

Possible bug in autoit/scite.

11 posts in this topic

I found that using #RequireAdmin and consoleWrite, no output will be displayed in the scite console.


What is what? What is what.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

You found it this out? What first right now? Boring~

If you Need an Output test it without RequireAdmin~

or may start "Scite" or the "AutoIt3 Script" as admin then you may could get an amazing Output.

and Yes with Admin rights started Scite will give an Output~

http://www.mediafire.com/download/oezwz5my82p5ppk/SciteRun.exe

Mg2o4zhYcH.PNG

The RequireAdmin is a bit shaped but you see that it is there ~

Edited by RaiNote
added Picture,Scite Run as Admin

  • C++/AutoIt/OpenGL Easy Coder
  • I will be Kind to you and try to help you
  • till what you want isn't against the Forum
  • Rules~

 

Share this post


Link to post
Share on other sites

You found it this out? What first right now? Boring~

If you Need an Output test it without RequireAdmin~

or may start "Scite" or the "AutoIt3 Script" as admin then you may could get an amazing Output.

and Yes with Admin rights started Scite will give an Output~

I am fully aware of the conflict with access rights, however your lack of professionalism 'bores' me.


What is what? What is what.

Share this post


Link to post
Share on other sites

Well i didn't wanted to be professional and this Topic is somehow useless. :/


  • C++/AutoIt/OpenGL Easy Coder
  • I will be Kind to you and try to help you
  • till what you want isn't against the Forum
  • Rules~

 

Share this post


Link to post
Share on other sites

Well the point is not to be useful persay, but merely to point out an issue that was not a problem previously. I mean whats the point of using scite to test and debug ur script if the output does not work? 


What is what? What is what.

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

There isn't anything wrong with SciTE or AutoIt, the problem is that when you use #RequireAdmin in a script, the original script closes and then gets reran using an Admin credential. Once the original script closes, there's no longer a connection between the console in SciTE and the output from the script. THAT is why it won't output anything to the console in SciTE.

If you need to use #RequireAdmin in your script, and you need to have the consolewrites visible in SciTE then you MUST start scite by running it as an admin and OK'ing the UAC prompt.

By the way, this has always worked this way in AutoIt and SciTE, do a search of the forum and you'll see a lot of posts saying the same thing you said, and from a lot of years ago up until recently. So, in that instance you're wrong, it never worked the way you say it did before.

Edited by KingBob

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

Ok thank you, my mistake.


What is what? What is what.

Share this post


Link to post
Share on other sites

You found it this out? What first right now? Boring~

You are quickly making a less than desirable name for yourself on this forum. There is no need for you to stomp on someone asking a question just because you think it is an easy answer. You have asked more than a few questions during your tenure here that more experienced coders could have been derisive about, but I have as yet seen no one post sniping, childish comments. How about extending other forum members the same courtesy.

2 people like this

√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

#9 ·  Posted (edited)

Well i didn't wanted to be professional and this Topic is somehow useless. :/

ok my friend, this is your final warning made publicaly. You will stick to topics that are within, our forum rules and you will not start playing the smart-ass in these forums. Next time you will get naughty spot time. 

Jos

Edited by Jos

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Hi guys! Same problem here, but on binary file. And my script not Requires Admin (see attached image)

I observe that problem occur when Firefox/Chrome is running. Closing Firefox/Chrome while application running the GUI back to normal.

 

Thanks in advance!

M2.jpg

Share this post


Link to post
Share on other sites

ElMariachi, I don't think this has anything to do with what this thread is about, but no one can be sure because you didn't post anything that shows the problem, or what you're doing in the script.


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

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