![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I've just started to look at OR. *I've created a frame with some fields and when I go to Tools->Scripts a frame script template is opened. *I added some code and saved and quit the file. If I go to Tools->Scripts again a frame script template is opened again, but the previous edits are not there. *In ABF one of the attributes of a frame was the name of the script source code file, but I don't see that attribute in the Frame property inspector. Dennis |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
On May 5, 6:18*pm, droesler <droes... (AT) comcast (DOT) net> wrote: I've just started to look at OR. *I've created a frame with some fields and when I go to Tools->Scripts a frame script template is opened. *I added some code and saved and quit the file. If I go to Tools->Scripts again a frame script template is opened again, but the previous edits are not there. *In ABF one of the attributes of a frame was the name of the script source code file, but I don't see that attribute in the Frame property inspector. Dennis Have you configured OpenROAD to use an external editor? Do not change the name of the (temporary) file when saving. The script should be saved with the frame source in the repository (database). There is no external file storage - OpenROAD is not using source code files. |
#5
| |||
| |||
|
|
Hi Dennis, The frame script code resides in system catalogues within the code database you have defined for your current OpenROAD workbench profile. A source file is not stored in the same way as it is in ABF. |
|
I wonder if your problem is the location in which this temporary file is being created has a space in the name. If you're on Windows then try setting II_TEMPORARY to c:\temp (assuming this exists). Do this by: ingsetenv II_TEMPORARY c:\temp |
|
I'm sure this group won't mind you posting this question here but look at (the all new improved) OpenROAD Users Mailing List if you have more OpenROAD questions: http://groups.google.com/group/openroad-users?lnk=srg |
#6
| |||
| |||
|
|
On May 5, 6:18*pm, droesler <droes... (AT) comcast (DOT) net> wrote: I've just started to look at OR. *I've created a frame with some fields and when I go to Tools->Scripts a frame script template is opened. *I added some code and saved and quit the file. If I go to Tools->Scripts again a frame script template is opened again, but the previous edits are not there. *In ABF one of the attributes of a frame was the name of the script source code file, but I don't see that attribute in the Frame property inspector. Dennis Have you configured OpenROAD to use an external editor? Do not change the name of the (temporary) file when saving. The script should be saved with the frame source in the repository (database). There is no external file storage - OpenROAD is not using source code files. |
#7
| |||
| |||
|
|
... However, when you choose to edit a script, it is temporarily saved to a file which is then opened by the default editor. |
#8
| |||
| |||
|
|
On May 5, 11:02*am, Bodo <Bodo.Bergm... (AT) ingres (DOT) com> wrote: On May 5, 6:18*pm, droesler <droes... (AT) comcast (DOT) net> wrote: I've just started to look at OR. *I've created a frame with some fields and when I go to Tools->Scripts a frame script template is opened. *I added some code and saved and quit the file. If I go to Tools->Scripts again a frame script template is opened again, but the previous edits are not there. *In ABF one of the attributes of a frame was the name of the script source code file, but I don't see that attribute in the Frame property inspector. Dennis Have you configured OpenROAD to use an external editor? Do not change the name of the (temporary) file when saving. The script should be saved with the frame source in the repository (database). There is no external file storage - OpenROAD is not using source code files. Yes, I'm using an external editor and I'm not changing the name of the temporary file, but it doesn't seem that the changes are being stored in the repository. Cheers Dennis- Hide quoted text - - Show quoted text - |
#9
| |||||
| |||||
|
|
Which editor are you using? |
|
What are your settings of II_WINDOWEDIT and II_WINDOWVIEW? |
|
I expect II_W4GL_SYSTEMEDITOR=TRUE. |
|
I assume that you do not: - open the frame "read only" |
|
- "Discard changes" when leaving the frame editor |
#10
| |||
| |||
|
|
On May 5, 12:45*pm, Bodo <Bodo.Bergm... (AT) ingres (DOT) com> wrote: Which editor are you using? Visual SlickEdit What are your settings of II_WINDOWEDIT and II_WINDOWVIEW? II_WINDOWEDIT points to Visual SlickEdit and II_WINDOWVIEW points to vi. I expect II_W4GL_SYSTEMEDITOR=TRUE. |
![]() |
| Thread Tools | |
| Display Modes | |
| |