Index: trunk/doc/user/09_appendix/action_reference.html =================================================================== --- trunk/doc/user/09_appendix/action_reference.html (revision 37492) +++ trunk/doc/user/09_appendix/action_reference.html (revision 37493) @@ -13,7 +13,7 @@ @@ -394,13 +394,19 @@ + + + + + + @@ -408,6 +414,7 @@ +
-This is pcb-rnd 3.1.1-dev (svn r37226) an interactive printed circuit board editor from the Ringdove EDA suite compiled using librnd version 4.0.2-dev running with librnd version 4.0.2-dev , Revision: 37485 +This is pcb-rnd 3.1.1-dev (svn r37226) an interactive printed circuit board editor from the Ringdove EDA suite compiled using librnd version 4.0.2-dev running with librnd version 4.0.2-dev , Revision: 37492
Action Description Syntax Plugin
AboutPresent the about boxAbout()dialogs plugin
RouteStylesChangedTells the GUI that the routing styles have changed.RouteStylesChanged()oldactions plugin
rubyExecute a script one-liner using a specific languageOneliner(lang, script)script plugin
sSaves layout data.s [name]
w [name]
shand_cmd plugin
SafeFsclearerrSame as clearerr(3)SafeFsclearerr(f)
SafeFsFcloseCloses a file previously open using SafeFsFopen()SafeFsFclose(f)
SafeFsFeofReturns 1 if file has reached EOF, 0 otherwiseSafeFsFeof(f)
SafeFsFerrorReturns 1 if file had errors, 0 otherwiseSafeFsFerror(f)
SafeFsFgetsReads and returns a line from f (open with SafeFsFopen()). Stops reading after maxlen (subsequent call will continue reading the same line). Returns nil on error or eof or empty line. Maxlen is 64k by default. Note: string heap allocation is made for maxlen.SafeFsFgets(f, [maxlen])
SafeFsFileMtimeReturn the last modification time of a file, from Epoch, or -1 on error.SafeFsFileMtime(path)
SafeFsFileSizeReturn the size of a file in bytes, or -1 on error.SafeFsFileSize(path)
SafeFsFopenOpens a file using fopen, returns FILE *. If mode is not specified, r is assumed. Returns nil on error.SafeFsFopen(path, [mode])
SafeFsFputsWrites str to file f (previously opne with SafeFsFopen))SafeFsFputs(f, str)
SafeFsFreadReads and returns at most len bytes from a file (open with SafeFsFopen()). Returns nil on error or eof or empty line.SafeFsFread(f, len)
SafeFsFreadSepReads characters that are either all non-seps or all seps. Reads at most maxlen bytes. Returns the string read or nil on eof or error. Seps is a string that contains every separator character. Maxlen is 64k by default.SafeFsFreadSep(f, seps, [maxlen])
SafeFsFseekSame as fseek(3); whence is a string, one of set, cur or end not specified (set is used when not specified)SafeFsFseek(f, offs, [whence])
SafeFsFtellSame as ftell(3).SafeFsFtell(f)
SafeFsIsDirReturn 1 if path exists and is a directory, else return 0.SafeFsIsDir(path)
SafeFsMkdirMkdir a file from the file system. If mode is a string, it is converted from octal. Return value is the same as mkdir(2)'sSafeFsMkdir(path, mode)
SafeFsPathSepReturn the system dependet path separator character (normally slash).SafeFsPathSep(path)
SafeFsRealPathReturns the realpath(3) of path, or NULL on error.SafeFsRealPath(path)
SafeFsRemoveRemove an object from the file system. Return value is the same as remove(3)'sSafeFsRemove(path)
SafeFsRenameRename an object on the file system. Return value is the same as rename(2)'sSafeFsRename(old_path, new_path)
SafeFsRewindSame as rewind(3)SafeFsRewind(f)
SafeFsSystemRuns cmdline with a shell using librnd safe_fs. Return value is the same integer as system()'sSafeFsSystem(cmdline)
SafeFsUnlinkUnlink a file from the file system. Return value is the same as unlink(2)'sSafeFsUnlink(path)
SaveSave layout data to a user-selected file.Save()
Save(Layout)
Save(LayoutAs, [path])
Save(AllConnections|AllUnusedPins|ElementConnections, [path])
Save(PasteBuffer, [path])
Save(DialogByPattern, pcb|footprint|font|buffer, none|board|fp, prompt, [default_pattern])
dialogs plugin