Want to launch Pulsar by double-clicking .PRO?

Tips and advice for getting the most from Scope. No questions here please.

Moderators: valis, garyb

Post Reply
doodyrh
Posts: 292
Joined: Tue Apr 03, 2001 4:00 pm
Location: Neither here nor there.

Post by doodyrh »

First off, this is a half-cocked imperfect bodge solution to a daft omission in SFP so please read the caveats at the end. It requires that you dispense with the concept of NewProject.pro after first renaming it.
Secondly it's Windows only although I daresay it can be done ten times easier on a Mac.

That said, depending on your way of working it might be useful. I did it cos I get irritated at waiting for NewProject to load before I can open another project (I'm not a patient chap). So here goes:

Rename or copy NewProject.pro to something_different.pro.
Paste the following commands into Notepad and save as a batch file, say pulsar.bat

@echo off
copy %1 C:SFPAppSFPAppNewProject.pro
c:
cd SFPAppBin
start /belownormal sfp.exe

Then from Windows Explorer
Tools menu,
'Folder Options...',
'File Types' tab
Click New
associate .pro with pulsar.bat

CAVEATS - PLEASE READ

1. In case you didn't figure it out, this simply overwrites NewProject.pro with the selected project name and then launches SFP at 'belownormal' priority (change to low if prefered). Therefore PLEASE save your NewProject under a different name first.

2. If you make any changes remember to use 'Save as...' the selected project before closing the project. If not it'll save as NewProject which will get overwritten next time. It helps to fill in the project name in the LiveBar so you remember the name (another daft SFP shortcoming).

3. If you double-click a .pro file when a project is already open nothing seems to happen. Thankfully. :grin:
User avatar
wayne
Posts: 2377
Joined: Sun Dec 23, 2001 4:00 pm
Location: Australia

Post by wayne »

Nice one, doodyhr :smile:
doodyrh
Posts: 292
Joined: Tue Apr 03, 2001 4:00 pm
Location: Neither here nor there.

Post by doodyrh »

Tip part II (For the chronically amnesiac.)
Also known as "How to tell which project is currently open
(cos what's written on top of the LiveBar ain't necessarily so)"
Ready?

Click the x on top right of LiveBar.
Project name is the bit after "Save changes to ".
Click cancel.

Next week. How to boil an egg.
Post Reply