Sign in to follow this  
Followers 0
Cvijo

unable to run script in SCITE

21 posts in this topic

Hi,

I install full instalation of AutoIt and when i put simple code in editor like

MsgBox(0, "", "This is source code")

my script never ends and doesnt do anything ( i must click tools -> stop executing)

I am using windows 7 64 bit, i tried reinstalling too.

When i run just script it works, but running from scite doesnt .. any help *

Share this post


Link to post
Share on other sites



Weird,

I'm using Win 7 x64 and i have no problems with scite or Autoit.

Check if you have any issues with Autoit and you AV software.

Cheers


Old Scriptology

Visual Ping 1.8 - Mass Ping Program with export to txt delimited.

Desktop 2 RGB and YMCK - Pick a color in the desktop and get the RGB and YMCK code.

Desktop 2 RGB - Pick a color in the desktop and get the RGB code.

ShootIT 1.0 - Screen Capture full and partial screen

[font="'Arial Black';"]Remember Remember The Fifth of November.[/font]

Share this post


Link to post
Share on other sites

nope .. when i start same script using autoit it execute normal (calculator example that come with installation)

Share this post


Link to post
Share on other sites

Gotcha...

You are not running windows in english.

Change all text from calculator to your native language.

I tryed and i had the same issue.

Cheers.


Old Scriptology

Visual Ping 1.8 - Mass Ping Program with export to txt delimited.

Desktop 2 RGB and YMCK - Pick a color in the desktop and get the RGB and YMCK code.

Desktop 2 RGB - Pick a color in the desktop and get the RGB code.

ShootIT 1.0 - Screen Capture full and partial screen

[font="'Arial Black';"]Remember Remember The Fifth of November.[/font]

Share this post


Link to post
Share on other sites

My windows are in english :unsure: ... my keyboard is not tho ..

Share this post


Link to post
Share on other sites

My windows are in english :unsure: ... my keyboard is not tho ..

Out of curiosity, the keyboard is in what?

♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites

Hi,

I install full instalation of AutoIt and when i put simple code in editor like

MsgBox(0, "", "This is source code")

my script never ends and doesnt do anything ( i must click tools -> stop executing)

I am using windows 7 64 bit, i tried reinstalling too.

When i run just script it works, but running from scite doesnt .. any help *

So you hit F5 in SciTE and there is no messagebox that pops up, also not hidden behind another window?

There is also no AutoIt3 Icon in the systray that you can click?

Jos


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

Share this post


Link to post
Share on other sites

Out of curiosity, the keyboard is in what?

Croatian

Share this post


Link to post
Share on other sites

So you hit F5 in SciTE and there is no messagebox that pops up, also not hidden behind another window?

There is also no AutoIt3 Icon in the systray that you can click?

Jos

nothing, no poup not behind it .. i just put this example i could type just MouseClick('Left') and would be the same .. nothing happens and i need to press cancel script

Share this post


Link to post
Share on other sites

nothing, no poup not behind it .. i just put this example i could type just MouseClick('Left') and would be the same .. nothing happens and i need to press cancel script

what is shown in the SciTE output pane?

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

Share this post


Link to post
Share on other sites

Croatian

Oh, dobar jutar onda. Imati dobar provod na AutoIt stvari.

♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites
:unsure: pozdrav

Share this post


Link to post
Share on other sites

what is shown in the SciTE output pane?

>"E:\Program Files (x86)\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "E:\Program Files (x86)\AutoIt3\Examples\test.au3"

nothing else and when i click tools i everything is grayout except "stop executing"

Share this post


Link to post
Share on other sites

>"E:\Program Files (x86)\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "E:\Program Files (x86)\AutoIt3\Examples\test.au3"

nothing else and when i click tools i everything is grayout except "stop executing"

Is that the exact same thing that's printed? You didn't alter it in any way?

If it is then how do you do the installation of AutoIt? Do you run official installer? Or zip? Or something else?


♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites

Is that the exact same thing that's printed? You didn't alter it in any way?

If it is then how do you do the installation of AutoIt? Do you run official installer? Or zip? Or something else?

Its exect what is printed .. and i use offical installer and in output wondow in SCITE its only this 1 line when i hit F5

so my code looks like this:

MsgBox(0, "", "This is source code")

when i hit Compile i got thise in output window:

>"E:\Program Files (x86)\AutoIt3\SciTE\..\aut2exe\aut2exe.exe" /in "E:\Program Files (x86)\AutoIt3\Examples\test.au3"
                       Ultimate Packer for eXecutables
                          Copyright (C) 1996 - 2008
UPX 3.03w       Markus Oberhumer, Laszlo Molnar & John Reiser   Apr 27th 2008

        File size         Ratio      Format      Name
   --------------------   ------   -----------   -----------
    646144 ->    300544   46.51%    win32/pe     test.exe

Packed 1 file.
>Exit code: 0    Time: 1.010

when i hit Build i get this in output window:

>"E:\Program Files (x86)\AutoIt3\SciTE\..\aut2exe\aut2exe.exe" /in "E:\Program Files (x86)\AutoIt3\Examples\test.au3"
                       Ultimate Packer for eXecutables
                          Copyright (C) 1996 - 2008
UPX 3.03w       Markus Oberhumer, Laszlo Molnar & John Reiser   Apr 27th 2008

        File size         Ratio      Format      Name
   --------------------   ------   -----------   -----------
    646144 ->    300544   46.51%    win32/pe     test.exe

Packed 1 file.
>Exit code: 0    Time: 1.016

when i hit Sytax check i get this:

>E:\Program Files (x86)\AutoIt3\SciTE\..\au3check.exe "E:\Program Files (x86)\AutoIt3\Examples\test.au3"
AutoIt3 Syntax Checker v1.54.8  Copyright (c) Tylo 2007

E:\Program Files (x86)\AutoIt3\Examples\test.au3 - 0 error(s), 0 warning(s)
>Exit code: 0    Time: 0.216

and when hitting GO .. nothing happens and i get only that first line

>"E:\Program Files (x86)\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "E:\Program Files (x86)\AutoIt3\Examples\test.au3"

Share this post


Link to post
Share on other sites

Hi Cvijo,

did you try running the .au3 file from cmdline?

(Just leave out the /ErrorStdOut).

Maybe there's a problem with your installed AutoIT3.exe

:unsure:


Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler]

Share this post


Link to post
Share on other sites

save the proyect firs... then run...

close koda if you have openeend then run...

with the F1 help os the same...

try it... scite bugs... :S

Share this post


Link to post
Share on other sites

Hi Cvijo,

did you try running the .au3 file from cmdline?

(Just leave out the /ErrorStdOut).

Maybe there's a problem with your installed AutoIT3.exe

:unsure:

when i run it from command promt it execute ok i already tried that .. problem is when running from SCITE

Share this post


Link to post
Share on other sites

If everything is "greyed out" then you already have a script running in Scite and Scite won't allow you to run more than one at a time. Click stop Executing, wait for it to stop and try it again.


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!"

Share this post


Link to post
Share on other sites

#20 ·  Posted (edited)

What level/context is SciTE running in? Admin or regular? did you try running when SciTE is started as Admin level?

Is the systray autoit3 Icon shown and can you cancel/pause the script there?

Jos

Edited by Jos
1 person likes this

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

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
Sign in to follow this  
Followers 0