Jump to content

Recommended Posts

  • Developers
Posted

@Alok_Arora,

Please :

  • Only post one topic on a subject.
  • Be much clearer in what it is you really want.
  • Do not resurrect old threads unless they are really appropriate

So ...  what about you post what you really want to do and what you have tried ( so your script that doesn't work) .

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted
  On 7/8/2020 at 2:01 PM, water said:

Welcome to AutoIt and the forum!

You could simply store the date of the last successful run in a file (that only holds this date).
Read this file to into a variable and compare to the current date ... voilá

Expand  

Thank you friend for this logic but I Need the Code for this.

Also, I have mentioned in my query that script will search for that particular task entry in log file. If entry is available than script should pop up a message task already ran for the day and script close. 

If entry is not matched than script will continue as task is running for the first time in day. 

 

Posted
  On 7/8/2020 at 2:19 PM, Jos said:

@Alok_Arora,

Please :

  • Only post one topic on a subject.
  • Be much clearer in what it is you really want.
  • Do not resurrect old threads unless they are really appropriate

So ...  what about you post what you really want to do and what you have tried ( so your script that doesn't work) .

Jos

Expand  

OK Sir, 

I run multiple scripts (each script takes around 2 mins only) in a day and it's log stored in a txt file. I need a code which check this file and if entry is found for the day of a task script won't run the task to avoid running it twice in a day. 

  • Developers
Posted (edited)

I have seen that part already... so what have you tried?

Show your script!

  On 7/8/2020 at 2:26 PM, Alok_Arora said:

Yes Sir. Can you help me please in sharing the code. 

Expand  

.. and stop the begging for code! 

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted (edited)
  On 7/8/2020 at 2:26 PM, Jos said:

I have seen that part already... so what have you tried?

Show your script!

.. and stop the begging for code! 

Expand  

Hello Sir, 

I just shared the snap of a existing code and another snap in which I was trying to verify by storing logs in excel file. However, I am unable to do it so just wanted to make it simple by simply check the existing log sheet and prevent running the task twice for that day 

 

 

Edited by Jos
Posted (edited)

One more snap which shows how logs are storing in notepad. 

Sorry Sir for my behavior. I know this is not appropriate but this code is very important for my job and ultimately bread butter. 

I hope you ignore my behaviour and will also help me. 

Thank you. 

 

Edited by Jos
Posted
  On 7/8/2020 at 2:46 PM, Jos said:

Please stop posting images of code and simply post the actual source in a CodeBlock (<>) !

Expand  

Actual code is placed in my official machine and I can't email or open any other sites other than official. 

Posted
  On 7/8/2020 at 3:16 PM, Jos said:

You must be able to copy the Autoit3 script source from you PC into this forum ....  right?

Expand  

Not at all. I have opened the forum in mobile. I cannot use official machine even for opening this forum. 

  • Developers
Posted

Then you will have to deal with that somehow when you need support from us .... else please don't bother as this has till now be a total waste of time for me and others.. ;) 
 

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted
  On 7/8/2020 at 3:19 PM, Jos said:

Then you will have to deal with that somehow when you need support from us .... else please don't bother as this has till now be a total waste of time for me and others.. ;) 
 

Expand  

I am in deep trouble and need help badly. However, I also believe that if anyone is capable and wants to help someone in real it won't require such formalities. 

It's very simple to say that don't wanna help. That is also fine atleast won't remain in any hope. 

I am sure God will find some way for me. 

Sorry for bothering you and killing your time and hope if you also find yourself in tough situation than atleast you will get help. 

If not than atleast recall this incidence. 

Thanks. 

  • Developers
Posted (edited)
  On 7/8/2020 at 3:23 PM, Alok_Arora said:

I am in deep trouble and need help badly. However, I also believe that if anyone is capable and wants to help someone in real it won't require such formalities. 

Expand  

Go to your IT department and get support when you are that deep in trouble, that is what hey are there for!

Come back here when you can provide the basics and work with us ... till then simply stop begging for support.

This thread is now closed and don't open a new discussion till that time.

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

  • Jos locked this topic
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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