Welcome, Guest. Please login or register.

Author Topic: Are there shortcuts in Workbench 3.1?  (Read 3611 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline AmigaHeretic

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 821
    • Show all replies
Re: Are there shortcuts in Workbench 3.1?
« on: October 02, 2009, 06:01:03 PM »
Quote from: sim085;524522
Hi,

I would like to make the commodity 'ClickToFront' run on Workbench Start-up. Of course I could just move this commodity to the WBStartup (as I am doing now).

However is there maybe a way I can do a short-cut so that I leave the ClickToFront commodity in the Commodities directory and just put a short-cut in the WBStartup directory?

Regards,
Sim085



Well, the way I do it is just make a copy of 'ClickToFront'.  Then put the copy into WBStartup.  That way all the Commodities stay where they are in that drawer.


'ClickToFront' is less than 4k in size.  A shortcut in Windows probably is larger in size than that. ;-)  

So unless you're on a floppy and really need every list kilobyte, then for me this is basically the same thing as a shortcut.  (this way also if I mess with the tooltypes of the one in WBStartup I'm safe in knowing the original in the Commodities drawer is always set to the correct defaults)
A3000D (16mhz, 2MB Chip, 4MB Fast, SCSI (300+MB), SuperGen Genlock, Kick 3.1)
Back in my day, we didn\'t have water. We only had Oxygen and Hydrogen, and we\'d just have to shove them together.
 

Offline AmigaHeretic

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 821
    • Show all replies
Re: Are there shortcuts in Workbench 3.1?
« Reply #1 on: October 02, 2009, 09:56:41 PM »
Quote from: sim085;524562
Thanks again. I managed to make the script run by using the FROM parameter as you suggested :) I then used the RUN command to run the wanted program.

I now just have to understand how I can use the CLI to run a script without actually opening the CLI window.


Do you mean run the script from the icon?

in the C folder is a program called iconX  (think it comes with the OS)

If you right click on the Icon for your script and go to properties, where it says 'Default Tool'  put

C:iconx

That should make it so the script will start just like you went to CLI and ran the script.


As for inside the script you can use run >nil: instead of just run which will keep CLI windows comming up everytime a run command is issued in the script.
A3000D (16mhz, 2MB Chip, 4MB Fast, SCSI (300+MB), SuperGen Genlock, Kick 3.1)
Back in my day, we didn\'t have water. We only had Oxygen and Hydrogen, and we\'d just have to shove them together.