Title: Reaper python script Post by: Kinetic915 on April 12, 2013, 02:12:08 PM Hello all,
I am currently using the python script to open and terminate reaper. Is there a script I can use that can send me a email or something with the current temps of the GPUs on close? Thanks! Title: Re: Reaper python script Post by: midnightcoder on April 12, 2013, 02:29:46 PM Are you on Linux? I use SSMTP for stuff like this: https://wiki.archlinux.org/index.php/SSMTP. Never tried a python only solution, but you can call system commands from python.
If not, sorry me not speaky de windoze. :( Title: Re: Reaper python script Post by: Kinetic915 on April 12, 2013, 02:34:27 PM http://isbullsh.it/2012/04/Chart-your-cpu-and-gpu-temperature/
I found this. Gotcha yes I am on windows i'll find a solution. I asked this question on stack overflow and got a MASSIVE amount of downvotes... lol guess I'll be googling for days lol Title: Re: Reaper python script Post by: Kinetic915 on April 12, 2013, 02:37:08 PM I guess I don't have to use python. Any other suggestions for finding the gpu temps and writing to a log maybe?
Thanks! Title: Re: Reaper python script Post by: nesic1 on April 12, 2013, 02:41:29 PM hi, can you paste me the python code, i manage to open reaper but it wont close?
Title: Re: Reaper python script Post by: Kinetic915 on April 12, 2013, 04:45:05 PM import os, subprocess, time
while True: print("Starting reaper...") p = subprocess.Popen("C:\\Users\\my-pc\\Desktop\\reaper\\reaper.exe") time.sleep(7200) print("Terminating reaper...") p.terminate() time.sleep(10) Title: Re: Reaper python script Post by: nesic1 on April 12, 2013, 09:36:31 PM Thank you for reply, i use same code but in some reason it wouldn't work
Title: Re: Reaper python script Post by: Kinetic915 on April 13, 2013, 01:14:52 AM Do you see the command prompt quickly opening and closing? Like in a flash? Try opening the script directly from the command line and seeing what it says. I had this problem and found the script telling me it needed "elevation" even though I was logged into a admin account. What solved it was going directly to the python executables python.exe and pythonw.exe (i think) opening their properties/ security and checking run as administrator. Hope this helps!
|