Jump to content

Recommended Posts

Posted

Hey :)

(sry for my poor english :S)

It's maybe a stupid question but ... i will even ask :)

I'm going to make a script that crypt files.

I just want to know if it's possible to give a file to the script just by "drag&drop" the file on it...

For exemple.

I make my script and i compile it. Now i have crypt.exe.

I want to crypt the file cryptme.txt

Is it possible to do that just by "drag&drop" cryptme.txt on crypt.exe ?

I hope u understood what i mean xD

Posted (edited)

When user drop a file on compiled script, the script will be executed with command line = dropped file path...

So $CmdLine[1] will include that path string (the first one) :)

$CmdLineRaw will include all the file paths that was dropped on the script.

Edited by MrCreatoR

 

  Reveal hidden contents

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

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
  • Recently Browsing   0 members

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