Jump to content
Sign in to follow this  
mexykanu

What is wrong with this script ? I cannot open it.

Recommended Posts

mexykanu

Hello,

I've written a script in May, didn't touch it for some months then i tried to open it today.

The code now looks like this: http://www.filedropper.com/program_1

I've also attached the file here

What happened to my file ? It seems to be encrypted or corrupt.

The first lines look like this:

·úv     #À V‚       In Ûv …} x®€Š  ‚  K‚ X:ø ¸     WNˆ  BÀ  ØAä…jÓ{U y9 ‡¸  BÀ  ð‘z…$§7    € ‘´ F`  @¾Š‡ßñ}¹ ÌQ  
ª½  BÀ  P8‡…Ý~„ |G è-ˆ  BÀ  X`¸…1•      x À V€       Má ã4     h±À V€       ‘’          À:    À V€       :< {     È`À V€       ð¯
 C Á´ °P

I don't know if it matters, but: I've written it while using windows 7 32-bit and now i have windows 7 64-bit. All of my other scripts look normally.

I'm now using the 32-bit version of Autoit but that doesn't really matter since the script is just a text file.

Could you please help me with some advice ?

Thank you.

Edited by mexykanu

Share this post


Link to post
Share on other sites
November

Hi there,

You can compile again the original code!

Where is the original code, the au3 file? Do you still got it with you?

Please share the code for further help.

Cheers


Old Scriptology

Visual Ping 1.8 - Mass Ping Program with export to txt delimited.

Desktop 2 RGB and YMCK - Pick a color in the desktop and get the RGB and YMCK code.

Desktop 2 RGB - Pick a color in the desktop and get the RGB code.

ShootIT 1.0 - Screen Capture full and partial screen

[font="'Arial Black';"]Remember Remember The Fifth of November.[/font]

Share this post


Link to post
Share on other sites
mLipok

Maybe virus ?


Signature beginning:   Wondering who uses AutoIT and what it can be used for ?
* GHAPI UDF - modest begining - comunication with GitHub REST API *
ADO.au3 UDF     POP3.au3 UDF     XML.au3 UDF    How to use IE.au3  UDF with  AutoIt v3.3.14.x  for other useful stuff click the following button

Spoiler

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. 

My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API *

My contribution to others projects or UDF based on  others projects: * _sql.au3 UDF  * POP3.au3 UDF *  RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF SMTP Mailer UDF *

Useful links: * Forum Rules * Forum etiquette *  Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * 

Wiki: Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * 

IE Related:  * How to use IE.au3  UDF with  AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * 

I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions *  EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *

"Homo sum; humani nil a me alienum puto" - Publius Terentius Afer
"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming"
:naughty:  :ranting:, be  :) and       \\//_.

Anticipating Errors :  "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."

Signature last update: 2018-03-17

Share this post


Link to post
Share on other sites
mexykanu

Hello,

This file has 9 KB and has the .au3 extension. I'm pretty sure it isn't compiled.

I've attached it here as well.

Thank you.

program.au3

Edited by mexykanu

Share this post


Link to post
Share on other sites
JohnOne

Well whatever it is, it is not an autoit script.

Perhaps it once was, but it is not now, and what happened to it only you can answer, since it's your script.

Maybe it's had an extension renamed from a3x

What did the script do?


AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Share this post


Link to post
Share on other sites
mexykanu

This totally sucks.

The script used ie.au3 to get some data out of my webpage then used _filewritefromarray to write it to a text file.

I can't possibly understand what is going on.

Share this post


Link to post
Share on other sites
mexykanu

It has never created a backup for me. Could you please tell me where i can find this option ?

Thank you.

Share this post


Link to post
Share on other sites
JohnOne

Don't know sorry. As far as I'm aware it is enabled by default, you would have to turn it off, if you can for it not to make a backup.

For the record, what version of AutoIt and scite are you using and what version was this script created in.


AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Share this post


Link to post
Share on other sites
mexykanu

I'm always using the latest version. This script was created in May with the version that was up to date at that time.

I'm stumped to say the least.

Share this post


Link to post
Share on other sites
JohnOne

As am I, but if you never encrypted it yourself in some fashion, It's gone.

Learn from it and start again.

I think a backup is created each time you use tidy to format your code (Crtl + t)


AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Share this post


Link to post
Share on other sites
sisko59

It has never created a backup for me. Could you please tell me where i can find this option ?

Thank you.

you must to download SciTE4AutoIt3.exe, it contains addons tools for autoit.

you open tools/scite config. You search backup strategy and you can modify the number after "Keep"


sorry for my english.

 

Share this post


Link to post
Share on other sites
mexykanu

Hello,

Thank you all for your support. I've managed to recover an older version of the file with some file recovery software.

I'll make sure to keep a back-up next time.

Thank you.

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  

×