Tag Info

Hot answers tagged


Using a slightly modified version of vngx-jsch (source included), an open-source implementation of jsch, and JLink and a small but efficient Mathematica package this is now easily possible. All code can be browsed here, and most simply be installed by executing these lines: (tested on Windows and Linux, not on Mac). It should all work on Mathematica 7, 8 or ...


I am answering my own question to help out other .Net/Mathematica developers in the future. I am using random file names (DTWERG, ERYFGJ, IYIGGD) and it turns out when Mathematica exports an image file that has a slash and followed by : b, t, n, f, r it recognises/honors the escape slash. For example when a file name starts with an r as per the ...


Just apply string replacement to the list of files. No need to sort. Example: replacer = ReleaseHold@ StringReplace[#, RegularExpression["(\\d+)"] -> IntegerString[Hold@ToExpression["$1"], 10, 3]] & replacer /@ {"9.bmp", "10.bmp"}


If you data is labelled "blah.xls" then your input should be Import["blah.xls"] Just make sure the data file is in the correct directory.


Here is the code used by the OP to solve its issue: nb=NotebookOpen[NotebookDirectory[]<>"style1.nb"]; tmp=NotebookGet[nb]; estilos=Cases[tmp,Cell[StyleData[x_,y___],z__],∞]; NotebookClose[nb]; SetOptions[EvaluationNotebook[], StyleDefinitions -> Notebook[estilos]] style1.nb is my own style with 1 style cell per type of cell

Only top voted, non community-wiki answers of a minimum length are eligible