control click variables


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting control click variables
# 1  
Old 10-22-2008
control click variables

I want to be able to control click (Mac) and be able to select from a context menu...run file....and have it dynamically run based on the control click.

How do I get the control click absolute path of the filename? Are there different variables like directory, fullpath, extention?
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Reading control characters into variables

Hi, I am trying to write a shell script to help with some digital signature work currently being undertaken where we have a file that contains a number of rows ending with ^M. What I need to do is concatenate this using shell scripting and retain the control character. E.G. abc^M... (5 Replies)
Discussion started by: chris01010
5 Replies

2. OS X (Apple)

How to Right Click On Laptop

I have had an apple mac book for several months. I have been learning about it, I even got the snow leopard manual. It says nothing about right clicking on the apple mouse interface(trackpad?). How do I do this? Thank You.:b: (2 Replies)
Discussion started by: N-Training
2 Replies

3. Shell Programming and Scripting

control variables...

Hi. I´ve a question to a running script: i=0 #fill an Array with all files in a folder ending with .sys for Par in *.sys ; do Par2="$Par" ; i=$((i... (1 Reply)
Discussion started by: Lock3
1 Replies

4. UNIX for Dummies Questions & Answers

For loop control with two variables in csh shell

Hi All How can i control for loop with two different variables in csh shell Regards Nikhil (1 Reply)
Discussion started by: Nikhilindurkar
1 Replies

5. UNIX for Dummies Questions & Answers

Using Variables for Bandwidth control

Hi, I am very new to scripting and have a question regarding variables and their use in a bandwidth monitoring script. I have identified a few primary variables being; Bandwidth CIR Download=32kbits <- these match as per the script below Bandwidth PIR Download=96kbits Bandwidth CIR... (1 Reply)
Discussion started by: vinnir
1 Replies

6. UNIX for Dummies Questions & Answers

Left click select,right click copy

Hi all, when i ssh into my linux machine, i can do a double left click and then right click to paste it anywhere i need. However, on the actual machine, in the terminal, i cannot do a double left click and right click to paste it. i need to right click and select Copy followed by click click... (1 Reply)
Discussion started by: new2ss
1 Replies

7. Post Here to Contact Site Administrators and Moderators

Click here to search

This is a niCe idea. BUT it is makeing my eyes cross due to the color contrast of the letters. can you do it in a matching yellow/white/black anything other then the red would be great. it makes it annoying to look at that portion of the screen. But it is a great idea. (2 Replies)
Discussion started by: Optimus_P
2 Replies
Login or Register to Ask a Question
wm2(1)							      General Commands Manual							    wm2(1)

NAME
wm2 - Small, non-configurable Window Manager for X SYNOPSIS
wm2 DESCRIPTION
wm2 is a window manager for X. It provides an unusual style of window decoration and as little functionality as I feel comfortable with in a window manager. wm2 is not configurable, except by editing the source and recompiling the code, and is really intended for people who don't particularly want their window manager to be too friendly. wm2 provides: -- Decorative frames for your windows. -- The ability to move, resize, hide and restore windows -- No icons. -- No configurable root menus, buttons or mouse or keyboard bindings. -- No virtual desktop, toolbars or integrated applications. USING wm2 To run wm2, make sure you're not already running a window manager, make sure the DISPLAY variable is correctly set, and then execute the file "wm2". There are no command-line options or X resources, and there is no start-up file. If your X server doesn't support the Shape extension, wm2 will exit (and will never work on your server); if it can't find the required fonts or allocate the required colours, it will also exit (but you should be able to fix this by changing the definitions in Config.h and recompiling). Available window manipulations are: -- To focus a window: Move your mouse in the window. If you want a different focusing policy, you'll have to recompile wm2 (see the README for info). -- To raise a window: click on its tab or frame, unless you have auto-raise on focus set in Config.h. -- To move a window: make sure it's in focus, then click and drag on its tab. -- To hide a window: make sure it's in focus, then click on the button at the top of its tab. -- To recover a hidden window: click left button on the root window for the root menu, and choose the window you want. -- To start a new xterm: use the first item on root menu ("New"). -- To delete a window: make sure it's in focus, click on the button on the tab, hold the mouse button for at least a second and a half until the cursor changes to a cross, then release. (I know, it's not very easy. On the other hand, things like Windows-95 tend to obscure the fact that most windows already have a perfectly good Close option.) -- To resize a window: make sure it's in focus, then click and drag on its bottom-right corner. For a constrained resize, click and drag on the bottom-left or top-right corner of the enclosing window frame. -- To lower a window: click with the right mouse button on its tab or frame. (This was the only new feature in the second release.) -- To exit from wm2: move the mouse pointer to the very edge of the screen at the extreme lower-right corner, and click left button on the root window for the root menu. The menu should have an extra option labelled "Exit wm2"; select this. (This is a new feature in the third release.) All move and resize operations are opaque. Focus policy. This is a compile-time option. To rebuild, see the README in /usr/share/doc/wm2/README.gz CREDITS
wm2 was written by Chris Cannam, recycling a lot of code and structure from "9wm" by David Hogan (see http://www.cs.su.oz.au/~dhog/ ). 9wm is written in C, so very little of the code is used verbatim, but the intention was to reuse and a lot of the resulting code is recognis- able. (Also 9wm's minimalism was rather inspiring.) I've made enough changes to make it very probable that any bugs you find will be my fault rather than David's. wm2 also uses version 2.0 of Alan Richardson's "xvertext" font-rotation routines. The sideways tabs on the window frames were Andy Green's idea. If you want to hack the code into something else for your own amusement, please go ahead. Feel free to modify and redistribute, as long as you retain the original copyrights as appropriate. AUTHOR
Chris Cannam, cannam@zands.demon.co.uk BUGS
The principal bug is that wm2 now has too many features. That aside, if you find a bug, please report it to me (preferably with a fix). wm2(1)