Akishoot commented on a Page, F0x's Game Launcher v1.0  -  Sep 29, 2007

One problem I do see with this script is that (as you stated in the Introduction), what if the person did not save the game to that directory? You should allow them to locate the .exe file manually using $sfile and setting a variable. This would make it a lot easier then having to type it all out.

Here\'s an example using $sfile:

dialog example {
  title \"Example\"
  size -1 -1 144 58
  option pixels
  button \"Find...\", 1, 8 34 46 19
  button \"Run\", 2, 85 33 46 19
  edit \"\", 3, 8 10 127 20, autohs
}
on *:dialog:example:sclick:1:{
  set %Exam $sfile($mircdir*.exe,Locate Game .exe...,Open)
  did -ar example 3 %Exam
}
on *:dialog:example:sclick:2:{
  .run $did(example,3).text
}
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.