| HomeExecute | Function (ROM Call 0x10E)

homescr.h

void HomeExecute (const char *Command, unsigned short ComLen);

Sends a command to the Home Screen.

This function sends an ordinary ANSI C string pointed to by Command (which does not have to be zero-terminated) to the Home Screen application, which will execute it exactly as if the string was typed in from the keyboard into the Home Screen entry line. ComLen must be smaller or equal to the length of Command.

Uses: HS_chopFIFO, HS_countFIFO, HS_freeAll, HS_freeFIFONode, HS_getFIFONode, HS_newFIFONode, HS_popEStack, HS_pushFIFONode, HeapAlloc, HeapAllocThrow, HeapFree, HeapFreeIndir, HeapLock, HeapMoveHigh, HeapRealloc, HeapUnlock, HLock, push_ratio, Dialog, DialogAdd, DialogDo, DialogNew, ER_catch, ER_success, ER_throwVar, ERD_dialog, ERD_process, find_error_message, ARb_int_count, ARb_real_count, bottom_estack, HToESI, NG_execute, NG_RPNToText, NG_tokenize, Parms2D, Parse2DMultiExpr, Print2DExpr, push_internal_simplify, push_parse_text, push_quantum, reset_control_flags, reset_estack_size, top_estack, EV_defaultHandler, EV_paintWindows, EV_sendEvent, EV_setCmdState, EV_setFKeyState, EV_startApp, EV_switch, MO_option, OSWriteLinkBlock, memcpy, PopupNew, PopupText, ST_stack, sprintf, strlen, OSClearBreak, OSSetSR, XR_stringPtr, TE_focus, TE_handleEvent, TE_isBlank, TE_pasteText, TE_reopen, TE_reopenPlain, TE_select, TE_shrinkWrap, TE_unfocus, EV_currentApp, EV_errorCode, EV_quit, has_unit_base, push_simplify_statements, FolderOp, SymFindFirst, SymFindNext, DrawWinBorder, WinActivate, WinAttr, WinBackupToScr, WinBegin, WinCharXY, WinClr, WinDeactivate, WinFill, WinHeight, WinHide, WinStrXY, WinWidth, ROM Call 0x45E, ROM Call 0x471, ROM Call 0x502, ROM Call 0x5CA, ROM Call 0x5CC, ROM Call 0x5DD, ROM Call 0x5DE