I am using the view() function to open an ascii file from the shell, but it opens the file in the form/window in Virtuoso looking at the tail end of the file. EG if the ascii file is larger than the viewing window, the contents scroll down to the end of the file. Is there a way to use view() to open an ascii file but have the first view in the Virtuoso window remain at the head end of the file so the user can then scroll down instead of up?
Also, how can we create a path to write to a file location and pull from a specified path location by getting a path string from dbFullPath() and modifying it?
I am creating a new file using the cell name retrieved from geGetEditCellView()->cellName, but want to write to the same path location returned by dbFullPath() - with the exception of the last directory location.
For example, dbFullPath() returns ".../MyLibrary/MyLayout/layout/layout.cdb"
I create a file called "MyLayout_newfile" and want to write to ".../MyLibrary/MyLayout/MyLayout_newfile"
How do I truncate the end of the path returned by dbFullPath() - losing the "/layout/layout.cdb" portion?
I think the problem I have is in the shell script, not in the SKILL code. The shell script was written to write to a file output but also to the shell, and the output to the shell is unable to complete its operation...this is what I can surmise. So until I can rewrite the shell script to avoid shell output, I will rely on the ipcKillProcess() func and then test ipcWait() once more.
Thanks again for your help.