Sign in to follow this  
Followers 0
stompbox

How to "run" a document

7 posts in this topic

Hi,

New user here.

Just trying to run a document under XP (SP1).

For example, can someone show me how to run the file:

C:\Program Files\AutoIt3AutoIt.chm

Yes, I did try the FAQ and directly copying the example results in errors in XP. (Incorrect Command Line Parameters)

Thanks!

Share this post


Link to post
Share on other sites



Wow, I guess the FAQ is a little out of date.

Thanks for the help. In my specific example, I got away with the following code.

As you can see all it does is lookup a selected command in my script editor.

send("^c")

if processExists("hh.exe") then

winactivate("AutoIt Help")

else

run("hh.exe C:\Program Files\AutoIt3\AutoIt.chm")

processWait("hh.exe")

endif

send("{ALT}s")

send("^v{ENTER}")

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

As you can see all it does is lookup a selected command in my script editor.

<{POST_SNAPBACK}>

Which script editor are you using? . most editors i've seen have some sort of F1 integration for syntax lookup that jump right to the command selected. Edited by JdeB

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

How About

Run('hh "C:\Program Files\AutoIt3\AutoIt.chm"', @SystemDir, @SW_MAXIMIZE)

Share this post


Link to post
Share on other sites

Which script editor are you using? .  most editors i've seen have some sort of F1 integration for syntax lookup that jump right to the command selected.

<{POST_SNAPBACK}>

Thanks!

I was writing my own editor for fun. Shows you how much I know.

So you hit F1 and it looks up the command in the AutoIt Help? Cool!

Share this post


Link to post
Share on other sites

Thanks!

I was writing my own editor for fun. Shows you how much I know.

So you hit F1 and it looks up the command in the AutoIt Help? Cool!

<{POST_SNAPBACK}>

So what do you use to write your own editor ??? :D

When you are interested install the SciTE4AutoIt3 stuff ... will give you some ideas for your own editor .... :idiot:


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

So what do you use to write your own editor ???  :D

When you are interested install the SciTE4AutoIt3 stuff  ... will give you some ideas for your own editor .... :idiot:

<{POST_SNAPBACK}>

COOL! I don't need mine. I was writing a small utility in REALBasic.

Thanks!!!!

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