Search found 23 matches
- 04 Dec 2012 17:58
- Forum: Troubleshooting
- Topic: string scripting question
- Replies: 11
- Views: 3469
Re: string scripting question
as long as i don't get called in to delete spam
- 04 Dec 2012 17:16
- Forum: Troubleshooting
- Topic: string scripting question
- Replies: 11
- Views: 3469
Re: string scripting question
Thank you so much Jay, you're a blumin' legend!
so stoked!
so stoked!
- 04 Dec 2012 17:11
- Forum: Troubleshooting
- Topic: string scripting question
- Replies: 11
- Views: 3469
Re: string scripting question
arghh! right.
i had done that before, but before i'd made all the switch objects, so it was giving me errors.
let's see how it goes now
i had done that before, but before i'd made all the switch objects, so it was giving me errors.
let's see how it goes now
- 04 Dec 2012 15:53
- Forum: Troubleshooting
- Topic: string scripting question
- Replies: 11
- Views: 3469
Re: string scripting question
ok... i have redone what i wanted to do.. and i hoped that this would work. but no luck. i have 16 rows of switches, and i have globally defined an array full of references to all those switches: all_switches={'Switches_1', 'Switches_2',....'Switches_16'} each switch has a variable 'brightness ...
- 04 Dec 2012 15:43
- Forum: Troubleshooting
- Topic: reference the parent object in a globally defined funtion
- Replies: 7
- Views: 1497
Re: reference the parent object in a globally defined funtio
awesome. yeah....i understand ( i hope)
- 04 Dec 2012 13:08
- Forum: Troubleshooting
- Topic: reference the parent object in a globally defined funtion
- Replies: 7
- Views: 1497
Re: reference the parent object in a globally defined funtio
woo!
i got it!
sorry about the noise and silly comments....Macciza, your method is exactly what i needed
i got it!
sorry about the noise and silly comments....Macciza, your method is exactly what i needed
- 04 Dec 2012 12:56
- Forum: Troubleshooting
- Topic: reference the parent object in a globally defined funtion
- Replies: 7
- Views: 1497
Re: reference the parent object in a globally defined funtio
oh....!
just made a global function by typing 'global_function(x)' and that worked
please ignore my stupidity
i'm learning lemur and script coding both at the same time.
just made a global function by typing 'global_function(x)' and that worked
please ignore my stupidity
i'm learning lemur and script coding both at the same time.
- 04 Dec 2012 12:52
- Forum: Troubleshooting
- Topic: reference the parent object in a globally defined funtion
- Replies: 7
- Views: 1497
Re: reference the parent object in a globally defined funtio
by the way, i know in this case it would be much easier just to send the Fader_1.x value directly to the monitor... but this is just an example patch, which demonstrates what i wish to achieve. I need to learn this process: ie, how to declare global functions and then use them inside my faders ...
- 04 Dec 2012 12:46
- Forum: Troubleshooting
- Topic: reference the parent object in a globally defined funtion
- Replies: 7
- Views: 1497
Re: reference the parent object in a globally defined funtio
but...i thought functions didn't take arguments?Macciza wrote:Hi
global_function(x) -(you pass a value along as x)
can you have a look at my patch and modify it so it does that???
- 04 Dec 2012 09:48
- Forum: Troubleshooting
- Topic: reference the parent object in a globally defined funtion
- Replies: 7
- Views: 1497
reference the parent object in a globally defined funtion
Hard to explain this without the patch, so i have attached it here. in 'global_function()' , I have this line: Monitor.monitor_value = getexpression(Fader_1,'x') + 1; but i don't want "Fader_1" in there, i want something like getobjectparent()... so that my global function can be called by any ...