Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Possible to open notecard by script?

Ludvaig Lindman
Registered User
Join date: 2 Feb 2007
Posts: 78
10-23-2007 19:05
hi everybody,

was wondering, if it was possible to open a notecard, which is in an object's inventory, by script?
Example: The object, which contains the notecard features a menue. So, you click the menu, choose open notecard and the specified notecard pops up.

Any chance to make this happen?

Thanks in advance.
Tyken Hightower
Automagical
Join date: 15 Feb 2006
Posts: 472
10-23-2007 19:31
From: Ludvaig Lindman
hi everybody,

was wondering, if it was possible to open a notecard, which is in an object's inventory, by script?
Example: The object, which contains the notecard features a menue. So, you click the menu, choose open notecard and the specified notecard pops up.

Any chance to make this happen?

Thanks in advance.

You can get information from within a notecard, but the only way to make it 'pop up' on their screen is to actually give them the notecard.
_____________________
Johan Laurasia
Fully Rezzed
Join date: 31 Oct 2006
Posts: 1,394
10-23-2007 21:09
From: Tyken Hightower
You can get information from within a notecard, but the only way to make it 'pop up' on their screen is to actually give them the notecard.



That is, if they have 'automatically display notecard when accepted' checkboxed in the preferences.
Ludvaig Lindman
Registered User
Join date: 2 Feb 2007
Posts: 78
10-24-2007 00:15
Oh, I guess you got me wrong. I thought more of a configuration notecard, which is in an object's inventory. The user, who wants to edit it, can open it by menue. Example: User clicks the prim, that contains the notecard, he gets a blue menue, clicks on "configure", notecard pops up.

Is that possible?


Thanks
Johan Laurasia
Fully Rezzed
Join date: 31 Oct 2006
Posts: 1,394
10-24-2007 03:52
No. You can only read the contents of a notecard into a script and store the data into variables (strings, lists, integers, etc). What you're talking about is being able to write to a notecard via scripting which is not possible. The best you could hope for would be to give a COPY of the notecard to the user, who could edit the notecard, resave it, and then perhaps drop it back into the same prim.
Flennan Roffo
Scripter
Join date: 29 Sep 2007
Posts: 26
10-24-2007 08:25
Simply right click the Prim, choose Edit and go to Contents Tab, choose the notecard and Open it.
_____________________
Logic Scripted Products and Script Services
Peacock Park (187,228,69)

*** Get your free copy of SL Mail today! ***
Ludvaig Lindman
Registered User
Join date: 2 Feb 2007
Posts: 78
10-24-2007 12:11
yeah, I know how to open a notecard :-) I wanted to make it easier for the user, so he does not have to go to objects contents, but can open the notecard by menue. I know that it is not possible to write to a notecard. I do not want to do that, I just want to open it :-)

My intention was to create a menue that guides a person through a setup process. 1st step, the menue tells the user to write several information to a notecard. 2nd step, the user clicks ok, the notecard pops up. 3rd step, he modifies the notecard and saves it...

It's not that important, just thought it would be a nice way to make a setup process of certain products easier for an unexperienced user.

Thanks.