Welcome, Guest. Please login or register.

Author Topic: robotfindskitten for AmigaOS  (Read 4423 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline xeronTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 2533
    • Show only replies by xeron
    • http://www.petergordon.org.uk
Re: robotfindskitten for AmigaOS
« Reply #14 from previous page: January 29, 2003, 09:12:01 AM »
Quote

Desmon wrote:
Any suggestions?


Hmmm... odd one this. What does snoopdos say when you click the icon?
Playstation Network ID: xeron6
 

Offline Desmon

  • Sr. Member
  • ****
  • Join Date: Feb 2002
  • Posts: 282
    • Show only replies by Desmon
Re: robotfindskitten for AmigaOS
« Reply #15 on: January 30, 2003, 07:47:17 AM »
@Tickly
Quote

Hmmm... odd one this. What does snoopdos say when you click the icon?

1  WBL  ChangeDir  Work:Games/RobotFindsKitten    -    -
2  WBL  Load      RobotFindsKitten    -    OK
3  WBL  ChangeDir  SYS:    -    -

Any help?
Cache Ya,
Craig.


Busy playing with my Trainz and loving it!
 

Offline xeronTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 2533
    • Show only replies by xeron
    • http://www.petergordon.org.uk
Re: robotfindskitten for AmigaOS
« Reply #16 on: January 30, 2003, 09:10:26 AM »
Quote

Desmon wrote:
1  WBL  ChangeDir  Work:Games/RobotFindsKitten    -    -
2  WBL  Load      RobotFindsKitten    -    OK
3  WBL  ChangeDir  SYS:    -    -
Any help?


Aaaaaaaaaaahh! Now I remember. When you run programs from the workbench, the current directory is always set to SYS:. In some of my previous programs, I fixed this by detecting that the user ran the program from workbench, and if they did changing the current dir to "PROGDIR:". This works fine on a lot of peoples systems, BUT some people get a requester saying "Please insert volume PROGDIR: in any drive" (anyone know why it works on some systems but not others?!).

The easy solution is to create a text file, called robotfindskitten.run or something, and just put:

robotfindskitten

in it. Then give it a project icon, with the tooltype "IconX". That should do it.
Playstation Network ID: xeron6
 

Offline Desmon

  • Sr. Member
  • ****
  • Join Date: Feb 2002
  • Posts: 282
    • Show only replies by Desmon
Re: robotfindskitten for AmigaOS
« Reply #17 on: January 31, 2003, 08:14:51 AM »
Quote

The easy solution is to create a text file, called robotfindskitten.run or something, and just put:

robotfindskitten

in it. Then give it a project icon, with the tooltype "IconX". That should do it.

Now why dinna I think of that?
It's a trick I've used several times under similar circumstances.
Worked a treat BTW.
Do you mind if I distribute your little toy (script included) further?
Cache Ya,
Craig.


Busy playing with my Trainz and loving it!
 

Offline xeronTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 2533
    • Show only replies by xeron
    • http://www.petergordon.org.uk
Re: robotfindskitten for AmigaOS
« Reply #18 on: January 31, 2003, 09:18:02 AM »
Quote

Desmon wrote:
Do you mind if I distribute your little toy (script included) further?


If you read the readme, you'll note that the program and its sourcecode are released as 'Public Domain'. This means that I have waived all my rights as copyright holder, and you can do absolutely anything you want with it, without any restrictions of any kind at all.

Note that the "messages.txt" file contains phrases that were released under GPL, so that file remains licensed under GPL, which is still freely distributable.
Playstation Network ID: xeron6