Jump to content

app apdate


Recommended Posts

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 ?

Link to comment
Share on other sites

  • Moderators

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. ;)

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

Open spoiler to see 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

 

Link to comment
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. ;)

 

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

Link to comment
Share on other sites

  • Moderators

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

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

Open spoiler to see 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

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • Moderators

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

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

Open spoiler to see 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

 

Link to comment
Share on other sites

  • Moderators

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.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
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)

Edited by Zedna
Link to comment
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 ?

Link to comment
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
 Share

  • Recently Browsing   0 members

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