FrontEndExecute returns Null
- To: mathgroup at smc.vnet.net
- Subject: [mg16554] FrontEndExecute returns Null
- From: damienthomas at my-dejanews.com
- Date: Tue, 16 Mar 1999 04:00:24 -0500
- Organization: Deja News - The Leader in Internet Discussion
- References: <7c5d1d$7u7@smc.vnet.net> <7cd30i$nmm@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
In[1]:=FrontEndExecute[FrontEnd`Notebooks[]] FrontEndExecute returns Null regardless of the arguments it takes. For example, the command "Notebooks[]" returns a list of the currently opened notebooks in the frontend. However, it is defined in the system context unlike the similarly named function "FrontEnd`Notebooks[]". The latter is applicable only with the wrapper "FrontEndExecute". Is it possible to obtain the returning value of "FrontEnd`Notebooks" when enclosed with FrontEndExecute? Here is an additional problem relating to FrontEndExecute: Occasionally, on inputting the following expression on the command-line, the input is overwritten with a NotebookObject. Is this the default behaviour of "FrontEndExecute"? Can it be modified to act like an ordinary input expression when executed from the command-line? In[2]:=FrontEndExecute[FrontEnd`Notebooks[]] In[2]:=NotebookObject[FrontEndObject[LinkObject[FM36ed6abb,1,1]],17] Damien damienh at symphony.ucc.ie -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own