Questions tagged [scriptable]

42 questions
0
votes
1 answer

silverlight databinding not working from scriptable member

We have exposed a silverlight page as a scriptable object. It has one scriptable member. The page's datacontext is a viewmodel object, of typ TestViewModel with one property string Description. The TestViewModel implements…
rekna
  • 5,313
  • 7
  • 45
  • 54
0
votes
2 answers

How to create scriptable object from scene in unity editor

I am currently creating a 2D-game in Unity and facing troubles in level design. I would like to create about 100 levels, each with different prefabs at different positions. In order to load up the proper levels I have built an architecture with…
0
votes
2 answers

Make Unity attributes like [range] work together with inheritance in ScriptableObjects

Let's use the following code: public abstract class ItemTemplate : ScriptableObject { public Sprite Sprite; public DataKeeperScript.ItemCategories ItemCategory; public string Name; [Range(0, 100)] public int…
0
votes
1 answer

Why do I lost data in scriptable objects between runs on Android but not in editor?

So, I have a scriptable object, which I need to keep track of a date. Because scriptable objects don't keep track of the date between runtime on their own, I came up with the following: public long EndTimeLong; private DateTime endTime; public…
pingu2k4
  • 956
  • 2
  • 15
  • 31
0
votes
0 answers

2 Steps object initialization (Init method)

I'm building an Unity extension that needs Scriptable objects. When using Scriptable objects the user must instantiate a class inheriting from ScriptableObject using ScriptableObject.createInstance(). So, if we need to supply more information to the…
Notbad
  • 5,936
  • 12
  • 54
  • 100
0
votes
0 answers

django function object not scriptable urls.py

I'm following the django tutorial over at nettuts tutorial and I'm running into issues. I am all the way to the point where I have to define the location of my templates folder in settings.py. My settings.py looks a little different the the one the…
user1968657
  • 19
  • 1
  • 6
0
votes
1 answer

How to assign RootVisual from another class

In silverlight Im trying to assign the RootVisual object from another class. The reason for this is that JavaScript will be performing some Ajax queries and will need to dynamically change the UI element at any time. Here is what I have done so far,…
IEnumerable
  • 3,610
  • 14
  • 49
  • 78
0
votes
1 answer

Where canI find AppleScript scriptable references?

I am reading an excellent article http://www.macosxautomation.com/applescript/features/system-prefs.html. The examples are good and easy to understand. But now I have a question. The article only lists a few 'tell's, where can I find the complete…
nim
  • 384
  • 2
  • 14
0
votes
3 answers

is it possible to script a .XML file

is it possible to script a .XML file? what we are after is there will be a .XML file on a webserver (IIS) for e.g. www.myserver.com/update.xml which when called should execute it as a script rather than serve it as a file. when the .XML file is…
Deepesh Shah
0
votes
1 answer

How can I check if NS String contains a javascript function?

for an app, i have to search for a function in JavaScript syntax in a NSString. In java, i've done it this way: import org.mozilla.javascript.Function; import org.mozilla.javascript.Scriptable; private Scriptable script; public boolean bla(String…
m0e
  • 15
  • 4
0
votes
1 answer

Applescript-able Cocoa : Reference to NSArray of objects?

OK. So, let's say : I've got a class myCollection, a class myObject and a property objects in myCollection returning an NSArray of myObjects Given that I have properly set up my .sdef file for the myCollection and the myObject classes, how should…
Dr.Kameleon
  • 22,532
  • 20
  • 115
  • 223
-1
votes
0 answers

How to Automatic Select Dropdown and Auto Click button

Here I have an auto-login script and an HTML script for the main Dashboard page My Script Auto Login : const username = "test"; const password = "test"; const webView = new WebView(); await…
Ripo
  • 1
  • 2
1 2
3