Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

htmShowDatafromRow #35

Open
VolkerH opened this issue Nov 2, 2016 · 2 comments
Open

htmShowDatafromRow #35

VolkerH opened this issue Nov 2, 2016 · 2 comments

Comments

@VolkerH
Copy link

VolkerH commented Nov 2, 2016

htmShowDataFromRow fails if too many cells are selected.
The problem appears to be that the whole fiji-macro to execute is passed as a commandline argument. There is a limit as to how many characters you can pass !
htmShowDataFromRow needs to created the script/macro as a tmporary file and pass the path of the temporary file to Fiji

@VolkerH
Copy link
Author

VolkerH commented Nov 2, 2016

https://support.microsoft.com/en-au/kb/830473

Examples

The following list gives you some examples of how this limitation applies to commands that you run in Command Prompt and commands that you use in a batch file.
In Command Prompt, the total length of the following command line that you use at the command prompt cannot contain more than either 2047 or 8191 characters (as appropriate to your operating system):
cmd.exe /k ExecutableFile.exe parameter1, parameter2 ... parameterN

and

How to work around the limitation

To work around the limitation, use one or more of the following methods (as appropriate to your situation):
Modify programs that require long command lines so that they use a file that contains the parameter information, and then include the name of the file in the command line

@tischi
Copy link
Owner

tischi commented Nov 10, 2016

it writes now an imagej macro to a tmp dir.
should work now with maaaaany files.
please test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants