Sign in to follow this  
Followers 0
Alexxander

app apdate

11 posts in this topic

hi all

i want to make a autoit script that check the size of a exe file from a direct download link 

it must download and execute a exe file and save the file size

at next pc startup or after a week it will check the same DDL if the file is the same size it do nothing if it is changed it download and execute

any ideas ?


Share this post


Link to post
Share on other sites



Look at INetGet in the help file to start you off, the FileGetSize


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

alexander95,

And what is this file you want to download and execute? :huh:

M23

P.S. And before you PM me, you get asked because your record here is not exactly without blemish. ;)


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

#4 ·  Posted (edited)

alexander95,

And what is this file you want to download and execute? :huh:

M23

P.S. And before you PM me, you get asked because your record here is not exactly without blemish. ;)

 

hahaha i remember you too 

this time is different now i am a good man hacking is worthless

 i am new to auto it and i am trying to make a small application to practice with

now i'm at the update part 

 

thnak you

Edited by Melba23
Fixed tags

Share this post


Link to post
Share on other sites

alexander95,

 

now i am a good man hacking is worthless

Delighted to hear it. :thumbsup:

And so you will obviously not mind answering my question which I ask for the second time - what is this exe that you want to download and execute? What does it do? :)

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

#6 ·  Posted (edited)

alexander95,

 

Delighted to hear it. :thumbsup:

And so you will obviously not mind answering my question which I ask for the second time - what is this exe that you want to download and execute? What does it do? :)

M23

 

it is multi language translator right now it is half language :D

Edited by Melba23

Share this post


Link to post
Share on other sites

alexander95,

Excellent - I look forward to seeing it. But why do you need to execute it after download? Surely you just need to replace the existing file? :huh:

And please learn to use quotes - or better still, use the "Reply to this topic" button at the top of the thread or the "Reply to this topic" editor at the bottom rather than the "Quote" button. I know what I wrote and it just pads the thread unneccessarily. ;)

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

My only need for something like this is getting a file that is very small, so it may not work in all instances. This is what I do:

  • inetget, renaming file xyz.txt to xyz<date>.txt.
  • get the file size once it had downloaded and compare to xyz.txt.
  • If it is the same, discard xyz<date>.txt, otherwise, move xyz<date>.txt to xyz.txt, overwriting previous version.
1 person likes this

√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

#10 ·  Posted (edited)

I do it this way (updating of my application from web):

- in my script #AutoIt3Wrapper_Run_After=myhelper.exe ;--> after compilation automatically create small TXT file containing version/date/size of compiled file

- I upload my main EXE and also this  small TXT file

- when needed then I download this small TXT file and I get information from it (compare)

Edited by Zedna

Share this post


Link to post
Share on other sites

I do it this way (updating of my application from web):

- in my script #AutoIt3Wrapper_Run_After=myhelper.exe ;--> after compilation automatically create small TXT file containing version/date/size of compiled file

- I upload my main EXE and also this  small TXT file

- when needed then I download this small TXT file and I get information from it (compare)

yes that was what i am thinking about

how to make the compare ?


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