Skip to content

benisued/AutomateCellProfiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

AutomateCellProfiler

A simple script automating cell profiler https://cellprofiler.org/

Instalation

This requires that you have Autohotkey installed. I Wrote an explanation that goes on extreme detail on medium:

https://sweed.medium.com/cut-the-time-you-do-menial-tasks-by-at-least-30-with-this-simple-trick-a7ce4513b43e

But in short:

  1. click on celllprofiler.ahk
  2. go to raw
  3. copy everything
  4. right click on desktop > New > AutoHotKey script
  5. save it somewhere you will remember
  6. click on it to use (to stop it go to the bottom of the screen right click on the icon and exit)

Troubleshooting

it's likely that the coordinates of the buttons on your screen is different than mine, so the clicks wont line up with the buttons, you may need to adjust the mouse coordintes in the lines with coordinates like this:

MouseClick, left, 143, 38 ;

the explanation on medium goes in depth but, go to "window spy" by right clicking the AutoHotKey icon (bottom right of the screen, bedside the clock) position the mouse where you the button you want to click is located and write down the coordinates.

another possible problem is that your computer is not loading the next picture quick enough, so the click from the script wont work (it click on the button before the bottun appears). To solve this use the command "sleep" before any problematic click, for example:

e::
MouseGetPos CurX, CurY
MouseClick, left, 890, 983 ;
WinMaximize, A ;f
sleep, 250   ;wait 250 miliseconds
MouseClick, left, 143, 38 ;
MouseMove %CurX%, %CurY%, 0
return ;

About

a simple script automating cell profiler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published