DeFirence Posted January 16, 2008 Share Posted January 16, 2008 Hi all, Im looking for a way to make my script restart in the scite editor so that all consolewrite() functions goto the scite console. DeFirence Link to comment Share on other sites More sharing options...
DeFirence Posted January 16, 2008 Author Share Posted January 16, 2008 come on guys, no one knows how? Link to comment Share on other sites More sharing options...
Developers Jos Posted January 16, 2008 Developers Share Posted January 16, 2008 (edited) Maybe your question isn't clear enough. I for one dont understand what you want to do exactly Edited January 16, 2008 by 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...
DeFirence Posted January 16, 2008 Author Share Posted January 16, 2008 Maybe your question isn't clear enough. I for one dont understand what you want to do exactly Ok well,I need a way to run script in scite editor from within my code, like you would normally by pressing F5.DeFirence Link to comment Share on other sites More sharing options...
Developers Jos Posted January 16, 2008 Developers Share Posted January 16, 2008 Not sure that makes it any clearer for me .... do you mean ? You want to start "scrip one" from SciTE with f5 which in turn runs a second script that contains ConsoleWrites which you want to display as well ? Is this second script compiled or still an au3 ? 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...
GEOSoft Posted January 16, 2008 Share Posted January 16, 2008 Not sure that makes it any clearer for me .... do you mean ?You want to start "scrip one" from SciTE with f5 which in turn runs a second script that contains ConsoleWrites which you want to display as well ?Is this second script compiled or still an au3 ?I'm about as clear on this as you are but my interpretation is he wants the eqivalent ofRun(@ProgramFilesDir &"\AutoIt3\Scite\Scite.exe " & @ScriptFullPath)Send("{F5}")Of course there will have to be a WinWaitActive() in there I imagine. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
Developers Jos Posted January 16, 2008 Developers Share Posted January 16, 2008 I'm about as clear on this as you are but my interpretation is he wants the eqivalent ofRun(@ProgramFilesDir &"\AutoIt3\Scite\Scite.exe " & @ScriptFullPath)Send("{F5}")Of course there will have to be a WinWaitActive() in there I imagine.Yes... BUT... that will not work when the original script is run with F5 from SciTE.Thats why I like to understand first what is wanted before trying to hash through all potential scenarios .... 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...
GEOSoft Posted January 16, 2008 Share Posted January 16, 2008 Yes... BUT... that will not work when the original script is run with F5 from SciTE.Thats why I like to understand first what is wanted before trying to hash through all potential scenarios ....True enough my friend. I just based it on thisI need a way to run script in scite editor from within my codeI suspect he's just trying to get the console output.Oh well, the world (probably) won't end today so we have time to play wait and see. I wasn't going to give an answer anyway, I was just trying to get a clearer idea, as were you. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
DeFirence Posted January 16, 2008 Author Share Posted January 16, 2008 Ok, sorry about not making it so clear, let me try again I want my script to be able to restart in scite editor, like it would usually start if you press F5, but im trying to find a more stable way of doing it, so what no matter what i am doing on the pc, the script will be able to restart itself in scite in the background. Not too sure if that helps at all, but im trying to explain it as best as i can... :/ DeFirence Link to comment Share on other sites More sharing options...
Developers Jos Posted January 16, 2008 Developers Share Posted January 16, 2008 (edited) I am still not sure what you want exactly but let me give you something to play with. This command will open a script file in SciTE and run it: Run('"c:\program files\autoit3\scite\SciTE.exe" "c:scriptdir\a.au3" -menucommand:303') This will not work when a script is already running in SciTE since it can only perform one Run action at a time. Jos Edited January 16, 2008 by 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...
DeFirence Posted January 16, 2008 Author Share Posted January 16, 2008 Thank you, this is exactly what i was looking for DeFirence 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