Notifications
Clear all

[Closed] warm-up before challenge #5

 lo1

I did not cheat in photoshop. What would that prove, that I have the PS skills of a 9 year old?

Here is my cheating device. It’s much shorter, and has less to do with the actual subject matter and more of punishing Denis for polluting the global scope.


(
	for i = 1 to 16 do ns[i].text = ccc[i]
		
	local iData = dotNetObject "DataObject" ccc[1]
	local ddEffectsMove = (dotNetClass "DragDropEffects").move
	local eventArgs = dotNetObject "DragEventArgs" iData 0 0 0 ddEffectsMove ddEffectsMove
	onDragDrop ns[1] eventArgs
)

Very nice!

 lo1

If it is not clear how I found Denis’s variable names, this is how:

(
	currentVars = globalVars.gather()
	fileIn "C:\\what_color.mse"
	denisVars = for v in (globalVars.gather()) where findItem currentVars v == 0 collect v
)
 lo1

Really cool site, didn’t know about it, thanks

i knew that you found my globals… you could stop the timer as well and shuffle the names all day…

 lo1

Why work hard when Maxscript can do the work for me

Page 2 / 2