Hi everyone, I have written a simple script to automate the switching between the grayscale MRI image and the segmentation volume. All it is is a script that types "SetDisplayFlay 16 1" followed by a waiting period and then "SetDisplayFlag 16 0" followed by another waiting period and then loops. However, even though these commands work just fine when entered directly into Terminal, when I try to run the script I get an error saying essentially that the command or script itself can't be found. Of course, this is done while running tkmedit and so the title bar of my terminal reads "terminal - tkmedit.bin". When I type "echo $PATH" I get the respone that the PATH variable does not exist. Does anyone know how to make the command function in tkmedit? Thanks,
Jared Price Center for Neurological Imaging Brigham and Women's Hospital Harvard Medical School 1249 Boylston Street Boston, MA 02115
617-525-6076 jcp44@bwh.harvard.edu
The information transmitted in this electronic communication is intended only for the person or entity to whom it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this information in error, please contact the Compliance Help Line at 800-856-1983 and properly dispose of this information.
Hi Jared
Could you give the script as well as the command you used to invoke tkmedit?
Krish
On Sep 19, 2008, at 8:32 AM, Jared Price wrote:
Hi everyone, I have written a simple script to automate the switching between the grayscale MRI image and the segmentation volume. All it is is a script that types "SetDisplayFlay 16 1" followed by a waiting period and then "SetDisplayFlag 16 0" followed by another waiting period and then loops. However, even though these commands work just fine when entered directly into Terminal, when I try to run the script I get an error saying essentially that the command or script itself can't be found. Of course, this is done while running tkmedit and so the title bar of my terminal reads "terminal - tkmedit.bin". When I type "echo $PATH" I get the respone that the PATH variable does not exist. Does anyone know how to make the command function in tkmedit? Thanks,
Jared Price Center for Neurological Imaging Brigham and Women's Hospital Harvard Medical School 1249 Boylston Street Boston, MA 02115
617-525-6076 jcp44@bwh.harvard.edu
The information transmitted in this electronic communication is intended only for the person or entity to whom it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this information in error, please contact the Compliance Help Line at 800-856-1983 and properly dispose of this information. _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu