Sign in to follow this  
Followers 0
ileandros

Autoit CMD

12 posts in this topic

Is there a CMD for Autoit???

Is it able to make cpu recognize autoit commands? Can i make a Path for autoit so it will recognize autoit scripting?

I already did made a Path but still didnt work...


I feel nothing.It feels great.

Share this post


Link to post
Share on other sites



You are talking about a shell that accepts AutoIt statements, right?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

... and that!

But most i was wondering if i can make my cpu cmd recognize Autoit.

Edited by ileandros

I feel nothing.It feels great.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

yes it is sorry for posting before i post the link

i wil do it in this post in 5 min...

If i understand correct you want an interpreter for AutoIt ?

That is i think wiill help http://code.google.com/p/au3int/

From the author :

All the interpreted languages I can think of have an interpreter. NOT AutoIt though. This project aims to rectify this problem, by creating an easy to use interpreter that will make it much easier to play around with our favourite language.

Au3Int will take whatever you feed it and run it for you, returning the result. This has several advantages:

  • Shows code step by step, allowing the user to see whats going wrong.
  • More 'hands-on' coding.
  • No need to have a complete file, you only need a line of code.
  • Don't need AutoIt installed.
Does it help ? Edited by armoros

[font="verdana, geneva, sans-serif"] [/font]

Share this post


Link to post
Share on other sites

Or this too http://code.google.com/p/consoleau3/

From the Author

This is the early version of a Console.au3 library ofr AutoIt3. Currently the only ways access the console in AutoIt is compiling it as a CUI application, this allows you to use consoles when the script is not compiled, and also allows you to use some of the more advanced features of the console, most noticeably reading user input.

Currently all functions are implemented, and lightly documented. However, none have examples, and few have been tested. As a result, this has not been released yet as a UDF. There are also some problems with certain functions when used with other programs like cmd and SciTE, please read the FAQ.


[font="verdana, geneva, sans-serif"] [/font]

Share this post


Link to post
Share on other sites

Thats good ;) I searched here not on google :)

Is it able though to make the cpu to read the recognize autoit commands?????? Create a Path and declare an url which is gonna make cmd.exe(system32) read the autoit???


I feel nothing.It feels great.

Share this post


Link to post
Share on other sites

CPUs don't read command from AutoIt, the AutoIt interpreter reads them.

What exactly are you trying to do? If you mean to be able to double click a *.au3 file and have it run, then you need to set up the file association within Windows to do that, or go into Scite and run SciteConfig and change the setting there to Run the script when it's double clicked.


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

No its not that what i am trying to achieve. Does any1 scripts with java???

I am asking if i can make cpu cmd read autoit. Crreating a Path(exp. python scripting, java etc.) to make it recognise it. But since it cannot ok.

I will deal with the otherone above.

Thanks everyone!


I feel nothing.It feels great.

Share this post


Link to post
Share on other sites

#9 ·  Posted (edited)

You keep using the word "recognise" but I have no idea what you mean by that word.

p.s. In case you were wondering, I DO know what the word recognise means, I just have no clue what you mean when you use it.

Edited by BrewManNH

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

I dont think u dont understand the meaning of the worlds brother.

Look, recognise = read(make the cmd able to read Autoit and accept Autoit commands).

At the Advanced System Properties of the cpu you can add Paths which will make the cmd recognise/read and accept language scripting commands.

This exists in other programming languages and thats why i asked here. I have get used of using cmd for scripting thats why i am asking if it possible to add Autoit also so i can switch and combine scripts.

Anyway this is not offensive answer dont take it wrong. I would never say sth offensive and even more to you that i remember you helping me many times ;)


I feel nothing.It feels great.

Share this post


Link to post
Share on other sites

You can always add the AutoIt directory to the system path, it's as easy as this.

$Path = EnvGet("path")
$Path &= ";" & @programfilesdir & "Autoit3"
Run(@Comspec & " /c Path=" & $Path)

But there's no way to make Windows recognize an AutoIt command from the command line. Autoit has to run those commands, Windows doesn't know what they mean. You can run an AutoIt script from the command line if you've preset the association between *.au3 files and AutoIt3.exe.


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

But there's no way to make Windows recognize an AutoIt command from the command line.

Dont bet for that :)

I am using Java and Python. Java is easy to make Path and make the cpu recognise it. You can also compile with cmd for Java.

Anyway just for the story i hope you understood what is going on here :D

P.s. this script has nothing to do with what i said ;)


I feel nothing.It feels great.

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