This site requires JavaScript, please enable it in your browser!
Greenfoot back
erdelf
erdelf wrote ...

2012/5/31

Starting greenfoot.exe with arguments

erdelf erdelf

2012/5/31

#
Hello, can I open the greenfoot.exe with arguments so it opens a specific scenario? I want to use it in school, because in school we have an old version of greenfoot and I want to use the newest so I use the mobile version and start my programs with a batch. To make clear what I want (the arguments) here is the batch code for firefox.
start E:\firefox\firefox.exe "http://www.greenfoot.org/home" "http://www.greenfoot.org/users/7601"
I want to know if there is something like
start E:\Greenfoot\Greenfoot.exe "E:\Greenfoot\scenarios\space shooter" "E:\Greenfoot\scenarios\monkeytheater"
pls don't ask for the name of the second, our teacher tells us how we name our projects
You need to login to post a reply.