Hi Adeel Below is the script that you want. But there an unresolved problem with this script. Is that you can't close EDAclient cleanly went you invoke a macro inside EDAclient. The client close but send you lot error message in win98. I think it's better to close manualy. (suppress the last run process for that). I want to show you an other point of your need.Is that when you want close all open document,you must reopen it all when you reload Protel. In fact i think it's better to just invoked saveall open documents (with shortcut)and close manualy EDAclient.
Regards Eric BOBILLIER FRANCE Protel 99 SE Sp6 Pentium 4 1.7hz - 256Mega RAM Windows 98 sp1 Email : [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 'speedclose save and close all open document and exit protel '*************************************************************** Sub main RunProcess "Client:SaveAllDocuments" RunProcess "Client:CloseAllOpenDocuments" RunProcess "Client:QuitFromEDAClient" End Sub > -----Message d'origine----- > De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > la part de Adeel Malik > Date: mercredi 2 f�vrier 2005 08:51 > �: 'Protel EDA Discussion List' > Objet: [PEDA] Script editing and running in Protel 99SE > > > Hi All, > I intend to write a script in Protel 99SE that should do the > following actions if a particular Key or Key combinations are pressed: > > 1. Save all the files of the existing Database. > 2. Close all the files of existing Database. > 3. Close the Database itself. > 4. Repeat the steps from 1 to 3 for other opened Databases. > 5. Then exit from the Protel 99SE. > > Can someone help me writing script and then assigning it to a process or > a key press ?. > > Regards, > Adeel Malik. > > ____________________________________________________________ > You are subscribed to the PEDA discussion forum > > To Post messages: > mailto:[email protected] > > Unsubscribe and Other Options: > http://techservinc.com/mailman/listinfo/peda_techservinc.com > > Browse or Search Old Archives (2001-2004): > http://www.mail-archive.com/[email protected] > > Browse or Search Current Archives (2004-Current): > http://www.mail-archive.com/[email protected] > > ____________________________________________________________ You are subscribed to the PEDA discussion forum To Post messages: mailto:[email protected] Unsubscribe and Other Options: http://techservinc.com/mailman/listinfo/peda_techservinc.com Browse or Search Old Archives (2001-2004): http://www.mail-archive.com/[email protected] Browse or Search Current Archives (2004-Current): http://www.mail-archive.com/[email protected]
