Jump to content

Opt('RunErrorsFatal', 0) or Opt("RunErrorsFatal", 0)


Recommended Posts

When I use Opt("RunErrorsFatal", 0) with the new version of autoit it gives me a -1 error in the old verisons it worked fine. Also is anyone having problems with @HomeDrive not pointing to the C:\

Run("Connections.exe", @HomeDrive, @SW_HIDE)

Cheers

Link to comment
Share on other sites

The Opt() of "RunErrorsFatal" has been made obsolete in the latest beta of AutoIt.

@HomeDrive is the drive where the @HomePath exists. The @HomeDrive can be different from the %SystemDrive%. If you want the %SystemDrive%, then use the below code.

Global Const $SYSTEMDRIVE = EnvGet('SYSTEMDRIVE')
MsgBox(0x40000, 'SystemDrive', $SYSTEMDRIVE)

:D

Link to comment
Share on other sites

Lots of script breakers - read the log carefully.

3.2.11.0 (25th January 2008) (Beta)

AutoIt

- Removed: Unnecessary optional parameter from ProcessClose().

- Removed: RunErrorsFatal Option.

- Removed: RunAsSet().

http://www.autoitscript.com/forum/index.ph...st&p=468931

.......

always have to read the fine print...lol

8)

that Mega Hurts.. :D

Edited by Valuater

NEWHeader1.png

Link to comment
Share on other sites

  • 3 weeks later...

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...