Automation Script Contest: 3 Free Salamander Licenses

This is a place for users to discuss Altap Salamander. Please feel free to ask, answer questions, and express your opinion. Please do not post problems, bug reports or feature requests here.
User avatar
otrov
Posts: 110
Joined: 10 Feb 2010, 04:39

Re: Automation Script Contest: 3 Free Salamander Licenses

Post by otrov »

The Salamander object is not available outside the Automation script, it's only accessible through the Salamander global variable. You cannot instantiate it using Dispatch or any other mechanism the language provides. What are you trying to do?
OK, thanks for information
I was trying to run in friendlier environment then editor, like some Python shell. I thought that Automation plugin acts as a COM server and is available outside Salamander while Salamander is active.
User avatar
otrov
Posts: 110
Joined: 10 Feb 2010, 04:39

Re: Automation Script Contest: 3 Free Salamander Licenses

Post by otrov »

VirusTotal Python automation script: view or download
Uses standard Python libraries

VirusTotal has been recently acquired by Google, so it's here to stay.

Script allows virus check of suspected file, without opening browser or uploading contents. It calculates check-sum and communicates through VirusTotal API almost as suggested "by the book". In most cases suspected file is already indexed by VirusTotal:

1. If file is clean, simple dialog is shown:
Image

2. If file is reported as positive, additional check-box allows seeing the temporary result in default app for viewing .log files (Notepad):
Image Image

3. If file has not been indexed yet, upload confirmation dialog pops:
Image

and after uploading contents over HTTPS, it reports response message and link:
Image
User avatar
tukanos
Posts: 410
Joined: 21 Dec 2005, 19:14

Re: Automation Script Contest: 3 Free Salamander Licenses

Post by tukanos »

otrov wrote: 08 Oct 2012, 05:01 VirusTotal Python automation script: view or download
Uses standard Python libraries

VirusTotal has been recently acquired by Google, so it's here to stay.

Script allows virus check of suspected file, without opening browser or uploading contents. It calculates check-sum and communicates through VirusTotal API almost as suggested "by the book". In most cases suspected file is already indexed by VirusTotal:

1. If file is clean, simple dialog is shown:
Image

2. If file is reported as positive, additional check-box allows seeing the temporary result in default app for viewing .log files (Notepad):
Image Image

3. If file has not been indexed yet, upload confirmation dialog pops:
Image

and after uploading contents over HTTPS, it reports response message and link:
Image
This could come handy? The links are already broken. Could you provide fresh ones?
therube
Posts: 674
Joined: 14 Dec 2006, 06:22

Re: Automation Script Contest: 3 Free Salamander Licenses

Post by therube »

Different but (Nirsoft's) HashMyFiles can opened a hashed file to virustotal (website).
WinXP Pro SP3 or Win7 x86 | SS 2.54
User avatar
tukanos
Posts: 410
Joined: 21 Dec 2005, 19:14

Re: Automation Script Contest: 3 Free Salamander Licenses

Post by tukanos »

therube wrote: 11 Dec 2019, 18:50 Different but (Nirsoft's) HashMyFiles can opened a hashed file to virustotal (website).
Good idea, maybe I'll create an automation plugin myself. I only hate to re-invent a wheel.
Post Reply