English Amiga Board


Go Back   English Amiga Board > Support > support.Other

 
 
Thread Tools
Old 03 January 2021, 13:28   #1
mrv2k
Registered User
 
Join Date: Apr 2020
Location: England
Age: 53
Posts: 431
Custom Start For Different Drives

Hi

I want to make an entry to user-startup that runs a script if a specific drive is mounted. Here's an example of what I've sone so far...
Code:
if EXISTS art:art-startup
   execute art:art-startup
endif
The only problem is if the drive isn't mounted, I get a pop up when the system boots.

Is there any way around this?
mrv2k is offline  
Old 03 January 2021, 15:44   #2
-Acid-
Registered User
 
Join Date: Oct 2012
Location: South Shields
Posts: 812
Quote:
Originally Posted by mrv2k View Post
Hi

I want to make an entry to user-startup that runs a script if a specific drive is mounted. Here's an example of what I've sone so far...
Code:
if EXISTS art:art-startup
   execute art:art-startup
endif
The only problem is if the drive isn't mounted, I get a pop up when the system boots.

Is there any way around this?
Perhaps
Code:
if EXISTS art:art-startup
   execute art:art-startup
ELSE
   do something else
endif

Last edited by -Acid-; 03 January 2021 at 15:50.
-Acid- is offline  
Old 03 January 2021, 16:13   #3
Arnie
R.I.P Smudge 18-08-16
 
Arnie's Avatar
 
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
Create a mountlist using Giggledisk then mount it using acids' script, replacing "do something else" with
"Mount from Devs:<your mountlist>
execute art:art-startup
Arnie is offline  
Old 03 January 2021, 17:21   #4
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 6,985
Quote:
Originally Posted by mrv2k View Post
The only problem is if the drive isn't mounted, I get a pop up when the system boots.

Is there any way around this?
Code:
assign >NIL: exists art:
if not warn
  if exists art:art-startup
    execute art:art-startup
  endif
endif
thomas is offline  
Old 07 January 2021, 18:11   #5
mrv2k
Registered User
 
Join Date: Apr 2020
Location: England
Age: 53
Posts: 431
Thanks. Appreciate the help!
mrv2k is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Cases mancity Amiga scene 21 06 June 2015 16:05
Drives, Drives Everyehere! Mick_AKA Retrogaming General Discussion 46 08 July 2008 14:05
replacing amiga floppy drives with hard drives Gordon support.Hardware 2 06 March 2007 00:44
command line to start a confil + start the game Unregistered New to Emulation or Amiga scene 4 17 October 2004 10:31

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:45.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.06663 seconds with 13 queries