Short: Puts Mouse Pointer anywhere on screen Author: splayer@attcanada.ca (Allan Versaevel) Uploader: splayer attcanada ca (Allan Versaevel) Type: util/boot Architecture: m68k-amigaos CPointer 2.3 is a simple utility that will centre the mouse pointer on boot-up and much more. 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= YPOS= 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. 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 splayer@attcanada.ca if you find CPointer useful. Thanks. If you like music and use Play16, Mpega, and Audio CD's, check out my Super Audio GUI, SPlayer at http://us1.arcnet.vapor.com/splayer Regards, Allan Versaevel History ------- v2.3 - 29.12.01 - Improved CLI parameter parsing - Changed X and Y defaults if user inputs bad data. I forget what i changed in previous versions. It has been over a year since I programmed anything....so be easy on me :)