Sign in to follow this  
Followers 0
cobra11

...

11 posts in this topic

#1 ·  Posted (edited)

...

Edited by cobra11

Share this post


Link to post
Share on other sites



1. You can use use Opt("TrayIconHide", 1) to remove the tray icon. It will still be visible for one second, but then disappear.

2. _Crypt_EncryptData lets you use a key. Which to use depends on what you are encrypting and why. _Crypt_EncryptData is better but more complicated.

3 & 4. Sorry, never used any scripts to do file compression.

5. InetGetSource will get the source code for a web page. Instead downloading the file you can store it in a variable and then do whatever it is you want with it. I use it when I need to pull data from certain web sites.

Joe

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

...

Edited by cobra11

Share this post


Link to post
Share on other sites

MrTiz,

Is exists a tutorial that explain which using _Crypt_EncryptData???

What do you not understand in the example script in the Help file? Does this simplified script help? ;)

#include <GUIConstantsEx.au3>
#include <EditConstants.au3>
#include <Crypt.au3>

$hWnd=GUICreate("Data Encryption", 400, 300)
$hInputEdit=GUICtrlCreateEdit("" ,0 ,0, 400, 100)
$hEncryptButton = GUICtrlCreateButton("Encrypt", 10, 110, 80, 30)
$hOutputEdit=GUICtrlCreateEdit("",0, 200, 400, 100, $ES_READONLY)
GUISetState()

_Crypt_Startup()
$hKey=_Crypt_DeriveKey("SomePassword", $CALG_RC4)

While 1
    Switch GUIGetMsg()
        Case $hEncryptButton
            $bEncrypted=_Crypt_EncryptData(GUICtrlRead($hInputEdit), $hKey, $CALG_USERKEY)
            GUICtrlSetData($hOutputEdit,$bEncrypted)
            GUICtrlSetData($hInputEdit, "")
        Case $GUI_EVENT_CLOSE
            _Crypt_DestroyKey($hKey)
            _Crypt_Shutdown()
            Exit
    EndSwitch
WEnd

create zip

Try looking at wraithdu's Zip UDF. :)

M23


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

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

...

Edited by cobra11

Share this post


Link to post
Share on other sites

MrTiz,

The available options for encryption methods are:

Method      $iALG_ID

3DES        $CALG_3DES
DES         $CALG_DES
RC2         $CALG_RC2
RC4         $CALG_RC4
AES 128     $CALG_AES_128 - not Win2k
AES 192     $CALG_AES_192 - not Win2k
AES 256     $CALG_AES_256 - not Win2k

You can Google to see which you feel you would like to use. ;)

M23


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

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

...

Edited by cobra11

Share this post


Link to post
Share on other sites

Well how paranoid are you? ;)

Share this post


Link to post
Share on other sites

MrTiz,

First, when you reply please use the "Add Reply" button at the top and bottom of the page rather then the "Reply" button in the post itself. That way you do not get the contents of the previous post quoted in your reply and the whole thread becomes easier to read. ;)

Second, I agree entirely with targeteer. As I suggested, you need to do some research on the various encryption types to decide for yourself which you consider satisfactory for your needs.

Besides, it is time for you to do some work for yourself! :)

M23


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

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

#10 ·  Posted (edited)

I'll agree with melba23 for agreeing with agreeing with me. ;)

Anyways... back on the subject. On point 1 about antivirus read the forum sticky - you are probably using UPX.

You are asking a lot of questions that could be figured out in the function wiki. There are loads of examples. The very purpose they are written is so you can get an idea of proper syntax. If you get stuck on syntax the forums are ready to help.

Edited by targeter

Share this post


Link to post
Share on other sites

#11 ·  Posted (edited)

...

Edited by cobra11

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