Jump to content

Mortscript Help needed!


Recommended Posts

Guest MadMatt2002
Posted (edited)

Struggling here...

My script is:-

while(1)

ac = ExternalPowered()

if ( %ac% = 1 )

Run("\program files\cameraware\cameraware.exe")

else

Close(Cameraware)

sleep(10000)

endwhile

Trying to run Cameraware whenever the phone is in the active car mount. Then shutdown the application when the power is removed.

I get an error - "EndWhile without While".

Can some correct my mistake for me?

Many thanks

Matthew

Edited by MadMatt2002
  • 2 weeks later...
Guest Paul (MVP)
Posted

I've not used Mortscript personally, but I like the idea of that as a CamerAware feature 'exit on power disconnect'.

You should post it in the CamerAware feature requests forum ;)

P

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.