[Xerte] Tools.xml file fault?

Mark Tomlinson, AC&S Ltd mark.tomlinson at acns-group.com
Mon Apr 14 10:48:09 BST 2008


OK, but now I see the items on the menu in Xerte, where I didn't before.
 
Mark

  _____  

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Tenney Julian
Sent: 14 April 2008 10:42
To: Xerte discussion list
Subject: RE: [Xerte] Tools.xml file fault?


No, because the <item label="Folder...> contains it's child nodes. You're
not closing that first tag anywhere now. 
  _____  

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Mark Tomlinson,
AC&S Ltd
Sent: 14 April 2008 10:31
To: 'Xerte discussion list'
Subject: RE: [Xerte] Tools.xml file fault?



Jules
 
It does now I modified it from:
 
<item label="Folder" icon= "icTools">
<item label="Command" data= "cmd.swf" icon="icOptions"/>
</item>
<item type = "separator"/>
<item label="Find" data= "find.swf"/>
<item type = "separator"/>
<item label="Colour Scheme" data= "colour.swf"/>

to
 
<item label="Folder" icon= "icTools">
<item label="Command" data= "cmd.swf" icon="icOptions"/>
<item type = "separator"/>
<item label="Find" data= "find.swf"/>
<item type = "separator"/>
<item label="Colour Scheme" data= "colour.swf"/>
 
There seems to be an extra 
</item>  tag in there
 
Mark

  _____  

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Tenney Julian
Sent: 14 April 2008 10:02
To: Xerte discussion list
Subject: RE: [Xerte] Tools.xml file fault?


Mark,
 
The xml looks fine to me, and it when I click the tools menu, I get the
right items on it, and they run when I select them. Does that not happen for
you?


  _____  

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of
mark.tomlinson at acns-group.com
Sent: 11 April 2008 17:44
To: Xerte discussion list
Subject: RE: [Xerte] Tools.xml file fault?




Jules

Yes, I saw those in the folder, but they were not showing on the menu until
I edited the XML slightly.  I am on a different machine now, but I think
there was an extra closing tag in there by accident?

I am interested in developing more, but I feel I need to get my head around
the basics first ;-)

Cheers

Mark


On Fri 11/04/08 1:11 PM , "Tenney Julian" Julian.Tenney at nottingham.ac.uk
sent:


The only two that should be there are colour scheme and the find command.
Are you intereseted in developing more?


  _____  

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Mark Tomlinson,
AC&S Ltd
Sent: 11 April 2008 12:32
To: 'Xerte discussion list'
Subject: [Xerte] Tools.xml file fault?


It looks like there is a fault in the tools.xml file that comes with Xerte?
I don't see all the commands that come with Xerte on the menu by default.
Editing the XML file makes them available.
 
Mark

  _____  

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Tenney Julian
Sent: 11 April 2008 10:39
To: Xerte discussion list
Subject: RE: [Xerte] Using Variables In Text Icons


{'Hello
' + myVar + '
Goodbye'}
 
You're evaluating a whole expression inside the {}'s. It's not like
Authorware where you can have multiple {}'s inside your display icons. In
this case the expression creates the whole string.
 
Another way to set text is to do iconID.setText(myText);


  _____  

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Paul Beckwith,
AC&S Ltd
Sent: 11 April 2008 09:32
To: xerte at lists.nottingham.ac.uk
Subject: [Xerte] Using Variables In Text Icons



Morning all, 

 

Does anybody know how to how to use a variable in a text icon without it
being on it's own independent line?

 

ie.

 

Helllo

{myVar}

Goodbye

 

Works Fine..

 

Hello {myVar} Goodbye 

 

Displays exactly as shown above...

 

Thanks in advance, 

 

Paul Beckwith

AC&S Ltd

 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20080414/92981fb0/attachment.html


More information about the Xerte mailing list