Jump to content











Photo
- - - - -

[Script] ExternalMediaShortcuts


  • Please log in to reply
17 replies to this topic

#1 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 12 May 2007 - 02:56 PM

Let me show some screenshoots.

My standard nativeEx_barebone looks like this:
CDShortcut1.gif

Now I insert my CD with some portable apps.
CDShortcut5.gif

And as result:
CDShortcut2.gif

When removing the CD, the first shortcut comes back.

This is the content of the CD:
CDShortcut3.gif

And here is the content of CDShortcuts.ini:
CDShortcut4.gif

Done by the new script 'Basic\Shells\Explorer Tweaks\CDShortcut.Script'.

BTW: The CDShortcuts.ini must not be necessarily on the CD.
If you have already burned CDs, CDShortcut.ini can be inside the PE ISO, containing descriptions for multiple CDs.

EDIT:
Maybe this screenshoot answers some questions:
CDShortcut6.gif

Download from nativeEx Server

Peter

Edited by psc, 18 September 2009 - 12:56 PM.
Add script screen shoot


#2 Nuno Brito

Nuno Brito

    Platinum Member

  • .script developer
  • 10545 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 12 May 2007 - 04:27 PM

Sounds a very good idea.

About the portable apps - how do you place them while building the project?

Are these portable apps modified or just copied over?

:confused1:

#3 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 12 May 2007 - 04:35 PM

Sounds a very good idea.

About the portable apps - how do you place them while building the project?

Are these portable apps modified or just copied over?

:confused1:

This first CD (separated, not PE!) is just hand made. Portable apps are only copied.
(I'm not even sure whether they all can run from CD).
This CD is only for testing the mechanism and debugging the 'detect CD' and 'create shortcuts' functionality.

I'm working on a GUI which
  • either collects several apps into one WinBuilder folder and then burns the CD
  • or builds a CDShortcut.ini from several CDs with runnable apps.
Peter

#4 Nuno Brito

Nuno Brito

    Platinum Member

  • .script developer
  • 10545 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 12 May 2007 - 04:55 PM

Very interesting!

This would be a really good addon if more scripts adopted this method (adapted as API for example) for more apps.. :confused1:

#5 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 12 May 2007 - 05:03 PM

Very interesting!

This would be a really good addon if more scripts adopted this method (adapted as API for example) for more apps.. :confused1:

The only task these scripts have to do:
Maintain the [myCD]section in %ProjectTemplate%\CDShortcut\CDShortcut.ini
(Here would the use of an API be helpful. I'll think about to add a corresponding section in CDShortcut.script.)

When the 'myCD' CD is inserted, the shortcuts of this section appear.

Peter

#6 Nuno Brito

Nuno Brito

    Platinum Member

  • .script developer
  • 10545 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 12 May 2007 - 05:12 PM

Really cool idea! :confused1:

I will start working on the API for this idea right away and then I'll post for review (I'm sure you'll probably have a good idea about it's implementation)

:confused1:

#7 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 12 May 2007 - 05:22 PM

Really cool idea! :confused1:

I will start working on the API for this idea right away and then I'll post for review (I'm sure you'll probably have a good idea about it's implementation)

:confused1:

Just for demo:
This is the current %ProjectTemplate%\CDShortcut\CDShortcut.ini:
CDShortcut8.gif

And the result after inserting my LiveXP CD:
CDShortcut7.gif

Peter

#8 Nuno Brito

Nuno Brito

    Platinum Member

  • .script developer
  • 10545 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 12 May 2007 - 05:33 PM

The screenshots really help to understand the needed syntax.

:confused1:

#9 TheHive

TheHive

    Platinum Member

  • .script developer
  • 4165 posts

Posted 12 May 2007 - 05:38 PM

Great idea.

Instead of
CDShortcut

something like
ExternalMediaShortcut

Will youre CDShortcut Idea work on DVD Media or USB media?

#10 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 12 May 2007 - 06:04 PM

Will youre CDShortcut Idea work on DVD Media or USB media?

Currently I detect only changes in CD / DVD drives, that means DVD is ok.
I'll check whether I can also detect USB stick changes.

Peter

#11 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 30 May 2007 - 09:00 AM

A new version is available.
Now it contains a GUI to manage the shortcut lists for the different external media.
fullscreen.gif

As TheHive suggested, I changed the name to ExternalMediaShortcuts.

I'm now starting to rebuild the nativeEx server, so the new version will be available in about 15 minutes.

When you download, please delete the old CDShortcut script.

BTW: The new version should also run with VistaPE.
Maybe there is somebody to test.

Peter

#12 TheHive

TheHive

    Platinum Member

  • .script developer
  • 4165 posts

Posted 30 May 2007 - 06:04 PM

Wont have time to test yet but will when I get some time.

#13 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 30 May 2007 - 06:11 PM

Wont have time to test yet but will when I get some time.

:confused1:
Peter

#14 Ove

Ove

    .script developer

  • .script developer
  • 192 posts
  • Location:Fagaras, Romania
  •  
    Romania

Posted 01 June 2007 - 10:31 AM

Really great idea!

#15 niche99

niche99

    Frequent Member

  • Advanced user
  • 235 posts
  • Location:Aberdeen, Scotland
  •  
    Scotland

Posted 12 July 2007 - 09:07 AM

Really great idea!


So this means the PC to be rescued will need 2 CD drives, 1 for Winbuilder and 1 for portable apps OR 1 CD Drive and Winbuilder loaded into RAM?

niche99

#16 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 12 July 2007 - 12:31 PM

So this means the PC to be rescued will need 2 CD drives, 1 for Winbuilder and 1 for portable apps OR 1 CD Drive and Winbuilder loaded into RAM?

niche99

Yes it does, though the later is the more likely to be used.

:yahoo:

#17 edborg

edborg

    Frequent Member

  • .script developer
  • 387 posts
  •  
    Italy

Posted 13 November 2007 - 11:05 AM

Currently I detect only changes in CD / DVD drives, that means DVD is ok.
I'll check whether I can also detect USB stick changes.

Peter

My project is built to run from RAM, booted from USB, not CD.
To keep the size og the ISO small, I only include essential programs and copy all others to the stick.
I therefore need to be able to create shortcuts to these programs.
Before seing your script I had made some attempts to this end, but couldn't find a solution myself. :cheers:

Have you done some progress to adapt ExternalMediaShortcuts to USB?
edborg

#18 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 13 November 2007 - 12:53 PM

My project is built to run from RAM, booted from USB, not CD.
To keep the size og the ISO small, I only include essential programs and copy all others to the stick.
I therefore need to be able to create shortcuts to these programs.
Before seing your script I had made some attempts to this end, but couldn't find a solution myself. :cheers:

Have you done some progress to adapt ExternalMediaShortcuts to USB?
edborg


No, I did not do any more work on it, because there seemed to be no actual demand.

That seems to change ...


Peter




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users