OS4 DepotLogo by Browallia 
(anonymous IP: 18.223.43.106,0) 
 HomeRecentStatsSearchMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (602)
   o Document (24)
   o Driver (97)
   o Emulation (149)
   o Game (1011)
   o Graphics (500)
   o Library (118)
   o Network (234)
   o Office (66)
   o Utility (932)
   o Video (69)

Total files: 4399

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  UtilityBase
  IntuitionBase
  AmigaBounty


Support the site


 Readme for:  Utility » Workbench » cpointer.lha

Cpointer

Description: Centers Mouse Pointer On Screen and more.
Download: cpointer.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 10kb
Version: 2.4
Date: 26 Mar 12
Author: Allan Versasevel
Submitter: Allan Versaevel
Email: allanv/rogers com
Requirements: OS 3.X and Higher
Category: utility/workbench
License: Freeware
Distribute: yes
Min OS Version: 4.0
FileID: 7008
 
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 16  (Current version)
16  (Accumulated)

[Show comments] [Show snapshots] [Show videos] [Show content] [Show crashlogs] 
I found my old CPointer program lying around and discovered that I never
uploaded it to Aminet after all these years and it also works under Amiga OS4.
So I decided to release it for all to enjoy.

CPointer 2.4 is a simple utility that will centre the mouse pointer on boot-up
and
much more.

Runs on 68K Amigas as well as PPC OS 4.x machines. I have not tested Cpointer on
others.

Features:

- Will centre the mouse pointer on any size screen.(Default)
- User defined co-ordinates can be set.
- Left mousebutton can be activated with delay (screen activation)
- Double-click can be emulated.
- Works with native screenmodes as well as Graphics cards.


NOTE:
*****

****  CPointer is CLI only. It will promptly crash if try to run  ****
****                      it from Workbench !!                    ****


Usage:

C:CPointer XPOS YPOS DELAY DCLICK

XPOS  = X position on screen   > if the X and Y values are omittied, the pointer
<
YPOS  = Y position on screen   > is centred by defualt.                         
<

DELAY = fakes a left mouse button click after so many ticks. (50 ticks = 1
second. 60 if NTSC)
        Good for activating a screen like WorkBench after boot. 0-600 allowed (0
to 10 seconds)

DCLICK  Will execute a double click. This could be used to have the pointer
        double-click on an icon to run it. Use your imagination :)

Installation:

1) Dump CPointer to your C: dir.

2) Fire up your favorite text editor.

3) Now, just before LoadWB add this line:


~~~~~~~~~~~~~~

Run >NIL: C:CPointer XPOS=<value> YPOS=<value> DELAY=<delay> DCLICK (see below
for explanation)

C:LoadWB

EndCli >NIL:


~~~~~~~~~~~~~~

Examples:

Run >NIL: C:CPointer ; This will centre the mouse pointer on the current screen

Run >NIL: C:CPointer DELAY=0  ; This will centre the mouse pointer aswell as
activate the current screen.

Run >NIL: C:CPointer DELAY=250 ; Centre Mouse Pointer on screen. Fake a left
mouse button click 4.5 seconds
                                 after CPointer is run (activates screen)


Run >NIL: C:CPointer XPOS=100 YPOS=200 DELAY=250 DCLICK ; Position mouse at
100,200 and fake a
                                                          double click after 4.5
seconds.

You get the idea......


Now on every boot, your mouse pointer will be centred on your Workbench
Screen. Put over an icon or icon bay. Run a program through it's icon.
Do what you will. :)


Testers:
--------

Laurence Walton - Initial tests

Isaac Morris    - GFX card tests


E-Mail me at allanv()rogers.com if you find CPointer useful. Thanks.

Regards,
Allan Versaevel



History
-------

v2.4 - 05.31.03

- Optimized code. 
- Runs on both OS 3.x and 4.x systems 

v2.3 - 29.12.01

- Improved CLI parameter parsing
- Changed X and Y defaults if user inputs bad
  data.

v2.2 and lower

Copyright (c) 2004-2024 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment