mud409 Posted December 23, 2010 Share Posted December 23, 2010 Run('"' & @AutoItExe & '" /AutoIt3ExecuteScript' & "c:\scriptdir\script.au3"')How would I use @scriptdir instead of defining the full path?I know, compiling to exe would make it so much easier, but the exe I'm trying to include with my script (created with autoit) is reported as a virus by some cheap AV programs. I'd like to give the user an option to download autoit, and use a .au3 instead of a .exe (supposedly some AV programs will not allow exceptions, and will delete the file instantly). Link to comment Share on other sites More sharing options...
shanet Posted December 23, 2010 Share Posted December 23, 2010 I know, compiling to exe would make it so much easier, but the exe I'm trying to include with my script (created with autoit) is reported as a virus by some cheap AV programs. I'd like to give the user an option to download autoit, and use a .au3 instead of a .exe (supposedly some AV programs will not allow exceptions, and will delete the file instantly).Maybe if you give us the code in the script you are trying to run, we could tell you why it is being detected by AV, its up to you.shanet [font="Comic Sans MS"]My code does not have bugs! It just develops random features.[/font]My Projects[list][*]Live Streaming (Not my project, but my edited version)[right]AutoIt Wrappers![/right][/list]Pure randomness[list][*]Small Minds.......................................................................................................[size="1"]Simple progress bar that changes direction at either sides.[/size][*]ChristmasIt AutoIt Christmas Theme..........................................................[size="1"]I WAS BOOOORED![/size][*]DriveToy..............................................................................................................[size="1"]Simple joke script. Trick your friends into thinking their computer drive is haywire![/size][/list]In Development[list][*]Your Background Task Organiser[*]AInstall Second Generation[/list]BEFORE POSTING ON THE FORUMS, TRY THIS: %programfiles%/AutoIt3/autoit3.chm Link to comment Share on other sites More sharing options...
mud409 Posted December 23, 2010 Author Share Posted December 23, 2010 (edited) It's just a simple _GetIP script. The program I'm automating is a p2p game client (that's for a bunch of different games), and requires the user to share their IP with others (manual copy and paste). It used to have this feature built in, but since the original author's site is down, the feature is broken. My script is to fix these broken features. #include <Inet.au3> AutoItSetOption("TrayIconHide", 1) $PublicIP = _GetIP() MsgBox(262144, "IP Address", $PublicIP & " has been copied.") ClipPut($PublicIP) Edited December 23, 2010 by mud409 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