Executing IDEAScript on a certain day every month

6 posts / 0 new
Last post
dhuffman63
Offline
Joined: 07/18/2019 - 11:20
Executing IDEAScript on a certain day every month

I have an IDEAScript I built that I want to have run on the 21st of every month.  Is there a way to set this up?

Brian Element's picture
Brian Element
Offline
Joined: 07/11/2012 - 19:57

Not currently, at least not directly in IDEA.  IDEA 11.1 will have this functionality, it should be released in the next few weeks so when it does update and you can schedule scripts to run at certain times and on a recurring basis.

klmi
Offline
Joined: 02/13/2019 - 08:41

You can try to use the Windows scheduler. I guess you can't run IDEAScripts but maybe it's possible to run a Python script and at least to connect to IDEA via win32com.client. But I haven't tested that yet. 

dhuffman63
Offline
Joined: 07/18/2019 - 11:20

I'm trying to get the Task Scheduler to work but no luck yet.  Can I convert an IDEAScript to Python?  The script I built is basically a macro I recorded.

klmi
Offline
Joined: 02/13/2019 - 08:41

Well it's not so hard at all. I think Brian made a YouTube video about that. You can try to search for ideascripting and python there. It's not essential to install python and pyCharm at first.

Brian Element's picture
Brian Element
Offline
Joined: 07/11/2012 - 19:57

Thanks klmi, this is the video I think you are mentioning: https://www.youtube.com/watch?v=oGntZi94Wck

Also, like I said 11.1 will have this functionality built in.  11.1 should be released in English in the next few weeks so if can wait a few weeks or a month IDEA will do it for you.