Link to XLnow Homepage
Login Register Member List
XLnow OnScript Forums   » OnScript Editor   » General Discussion   » Snippets  

Welcome Guest ( Login or Register )

Posted 17.07.2008 15:28
Forum Newbie
Forum Newbie

Group: Forum Members
Active: 28.04.2009
Posts: 4

Another newbie question!!!

Is it possible to tell onscript that an entire folder is a snippet folder?
What is it that makes a snippet different from a normal script?


IP Logged
This member is offline.
Posted 17.07.2008 15:45

Forum Administrator
Forum Administrator

Group: Forum Moderators
Active: 13.04.2009
Posts: 78

It is possible, but not through the UI:

The only difference between a Snippet Folder and a regular Library Folder is that the default action is "Insert Source" and not "Open". There is nothing special about the files.

We did not expose this in the UI, but you can specify it in the Registry by adding a DWORD called DefaultAction and setting it to 1.

"HKEY_CURRENT_USER\Software\XLnow\OnScript\OSEditor\Libraries\OnScript Snippets" is where you can find the entries for the Snippet Folder we supply. Apply the same to your Library Folder and you are set.

Cyril Baratoff
XLnow - the makers of OnScript

IP Logged
This member is offline.
Showing page 1 of 1 - 2 messages found
« Next Oldest :: Next Newest »

Powered by InstantForum.NET v3.4
Copyright © 2002, 2004, InstantASP Ltd. All rights reserved.