Animation with MortScript   

Animation with MortScript

Postby vlaius » Wed Sep 26, 2012 7:31 am

Hello again, my dear friends,

I have follow idea:

In system information I prepare some ini files with different data. One additional button available also. Then I click this button, loaded new ini menu, and I see new data.

text of ini:

GLOBALSETTINGS
ShowMessage = 0
QuitOnDoubleClick = no
X = 0
Y = 0
Width = 800
Height = 480
Arrange = No
#BackgroundBitmap =10
BackgroundBitmap = 1..BMP
StartUpAnimation = NoAnimation
ShutDownAnimation = NoAnimation
Accelerated = yes
TopMost = no

BITMAPBUTTON
# small button
x = 0
y = 0
Width =20
Height = 480
Offset = 2
NewIni = Off_9.ini
ShutDownAnimation = NoAnimation

Okay,

Mortscript hafe function MouseClick.

my script is:

Run(fld \"1\1\OFF.EXE")
# 9
sleep(1000)
MouseClick(0,0)

# 8
sleep(1000)
MouseClick(0,0)

# 7
sleep(1000)
MouseClick(0,0)

# 6
sleep(1000)
MouseClick(0,0)

# 5
sleep(1000)
MouseClick(0,0)
...

In the theory it's must work.

But in the practice... NOT. :)
vlaius offline


Junior Member



 
Joined: Mon Sep 24, 2012 5:04 am
Posts: 4
Has thanked: 0 time
Been thanked: 0 time

Postby Fatboyfun » Wed Sep 26, 2012 7:48 am

This will work in practice, I use something similar to display a splash screen for a few seconds in my device unlocks.

You could download say, Easy Shell and look to see how I control the system information screens with mortscript.

Might be a bit slow for animation though.
Fatboyfun offline


User avatar Ex Moderator



 
Joined: Mon May 17, 2010 5:34 pm
Posts: 5782
Has thanked: 2 times
Been thanked: 403 times


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest