Jump to content

Tracking Time for updating a file


Recommended Posts

Welcome @ChasHenderson,

 

9 hours ago, ChasHenderson said:

open my web development software

 

We can’t help without knowing what it is.

 

9 hours ago, ChasHenderson said:

track the time from opening a project file to closing the file.

 

That might be hard to do, because it’s unlikely the application gives that information programatically. However, it is possible to have a Workflow that opens the file with the application and shows elapsed time when that instance of the application is closed.

 

9 hours ago, ChasHenderson said:

I'm brand new to Alfred and have minimal knowledge of scripting

 

The main rule of asking for help with scripting—on any forum—is “give as much information as possible”. The more you give, the faster we can help. Going back and forth due to a lack of information is costly in terms of time and you may lose the person helping.

Link to comment

So basically, what I want to do is record the time I open my file, store it in a variable as a start time and time record the time I close the file (and store that time as well). After that I want to send both variables to a text file.  I’m assuming the web software (Rapidweaver) would not to do anything.

Link to comment

Automatically tracking when you open and close a file is going to be difficult and probably unreliable. It’s fairly straightforward to automatically track when you open and close an application, however, provided you launch it via the workflow.

 

Link to comment

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
×
×
  • Create New...