Sign in to follow this  
Followers 0
Splash

Self destruction

11 posts in this topic




type selfdelete in full Scite4AutoIt and press space :)


*GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

Share this post


Link to post
Share on other sites

Simple put this line at the end of your script. :)

Run(@ComSpec & ' /c del "explode.exe"', @ScriptDir, @SW_HIDE)

I assume your scriptname is explode.exe? .... Did you actually test this?

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

Simple put this line at the end of your script. :)

Run(@ComSpec & ' /c del "explode.exe"', @ScriptDir, @SW_HIDE)

To:

Run(@ComSpec & ' /c del ' & @ScriptName, @ScriptDir, @SW_HIDE)

http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!)

Somewhere Out ThereJames Ingram

somewh10.png

dropbo10.pngDownload Dropbox - Simplify your life!
Your virtual HD wherever you go, anywhere!

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

To: 'jscript'

Ainda bem que eu não mora lá, moro em Porto Alegre que é 1000 vezes melhor. :)

Jos: This is working fine for me, I already have tested.

Edited by Splash

Automatic Update UDF - IP Address UDF - WinPcap AutoIt _FindDevice()[font="Verdana"][size="2"]AutoIt Spanish/Brasil/World community!!![/size][/font]Use you wanna a dot.tk domain please use my link:

Share this post


Link to post
Share on other sites

To: 'jscript'

Ainda bem que eu não mora lá, moro em Porto Alegre que é 1000 vezes melhor. :)

Jos: This is working fine for me, I already have tested.

It will not always work. That is why we have the UDF _SelfDelete() available.

Jos


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

type selfdelete in full Scite4AutoIt and press space :)

Whoa! Haha. Where did that come from..

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