How to use a mouse command to close a tab?
Is there anyway to set a certain mouse combo (such as middle click + right click) to close a tab?
I know this use to be the case, but I can't seem to do it anymore. Originally it was middle click would close a tab. However now my middle click is assigned to "ctrl".
You can middle click on a tab on the Tab bar to close that tab. If you have disabled that feature by reassigning the middle mouse button then you won't be able to do it unless you have a close button on each tab to click on.
Similar Messages
-
How to use ls-l command in SAP ??
Hi,
can any one suggest how to use ls-l command of unix in sap to get the details of file like creation date,etc.
Thanks.Hi Krishna.
These are the steps you need to follow.
tables: specify the table.
data: begin of fs_...
end of fs_ " Structure Field string.
data: t_table like
standard table
of fs_...
data:
w_file TYPE string.
data:
fname(10) VALUE '.\xyz.TXT'.
select-options: if any.
PARAMETERS:
p_file LIKE rlgrap-filename.
w_file = p_file.
select .... statement
OPEN DATASET fname FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
*OPEN DATASET fname FOR OUTPUT IN BINARY MODE.
LOOP AT t_... INTO fs_....
write:/ .....
TRANSFER fs_... TO fname.
or
TRANSFER t_... TO fname
ENDLOOP.
CLOSE DATASET fname.
Reward points wisely and if you are benefitted or ask for more detailed explanation if problem not solved.
Regards Harsh. -
How to use "Open Stream" command?
How to use "Open Stream" command in the iTunes application.
File > Open Stream > Enter a URL > Click OK > Listen. Obviously the URL needs be a valid media source like an mp3 file or a streaming radio station.
tt2 -
How to use Operating System Commands while using define in sqlplus
How to use Operating System Commands while using define in sqlplus . The Host OS is Linux
define report_name=PROD_${host date "+%b"}.html
The above is not working.
The output should be
define report_name=PROD_JAN.html
Regards,
DBof course I was talking nonsense: the problem here is the mixing of bind variables and DEFINE variables.
With the following changes the script should work (the conditions for begin_interval_time are perhaps not what you want):
variable snap1 number
variable snap2 number
variable rptname varchar2(20)
begin
SELECT min(snap_id) into :snap1 FROM dba_hist_snapshot WHERE CAST(begin_interval_time AS DATE) >= SYSDATE-1;
SELECT max(snap_id) into :snap2 FROM dba_hist_snapshot WHERE CAST(begin_interval_time AS DATE) >= SYSDATE-1;
end;
col file_name_value new_value report_name noprint
select 'PROD_'|| to_char(sysdate,'MON') || '_' || to_char(sysdate,'DD') file_name_value from dual;
define report_type = 'html'
define num_days=2
define begin_snap=:snap1
define end_snap=:snap2
@@?/rdbms/admin/awrrpt.sql -
How to use ignore=check_min_mem Command
Hi Guru's,
I was trying to install Hana on VMware in laptop. But I am having 8GB ram.
I heard that ignore=check_min_mem command can be used to skip the check.
Can anyone tell me how to use this command
My installation path is - ./setup.sh /tmp/hanainstdir /tmp/hana.model
Pl note - I am installing this for my learning purpose.
Thanks in advance.
Saurabh Vaidya.Hi Atul,
I had brought the server on rent to install the hana db, but it could not be completed
I had followed below steps, Pl let me know if these were right or wrong
1. I had used hana life cycle management to install, I stuckup at stage "Starting the system" (4th step, sub step 2)
2. how much time does hana installation takes? ( it took almost 4 hrs) but could not start the system
3. When I used "Top" command, I could see processes with something like (hdbindexserver, hdbpageserver......) was it going on well?
Thanks in Advance
Saurabh Vaidya -
Hi all,
DATA: BEGIN OF i_mgmt OCCURS 0,
btrtl TYPE pa0001-btrtl,
btext TYPE t001p-btext,
perm TYPE pad_amt7s ,
con TYPE pad_amt7s ,
perm2 TYPE pad_amt7s ,
con2 TYPE pad_amt7s ,
perm3 TYPE pad_amt7s ,
con3 TYPE pad_amt7s ,
tot TYPE pad_amt7s ,
avg TYPE pad_amt7s ,
END OF i_mgmt.
This my int. table and i need to calculate tot. row wise How can i use do varying command in this condition. Or any other way to calculate tot. row wise...Plesae help me
Thanks.Hi,
Check this example program how to use DO VARYING ..
REPORT ZTEST_NOTEPAD.
DATA: BEGIN OF text,
word1 TYPE c LENGTH 4 VALUE 'AAAA',
word2 TYPE c LENGTH 4 VALUE 'BBBB',
word3 TYPE c LENGTH 4 VALUE 'CCCC',
word4 TYPE c LENGTH 4 VALUE 'DDDD',
END OF text.
DATA: word TYPE c LENGTH 4,
char1 TYPE c LENGTH 1,
char2 TYPE c LENGTH 1,
leng TYPE i.
FIELD-SYMBOLS <word> LIKE text-word1.
DATA inc TYPE i.
DESCRIBE FIELD text LENGTH leng IN CHARACTER MODE.
leng = leng / 2.
DO leng TIMES VARYING char1 FROM text(1)
NEXT text+2(1) RANGE text
VARYING char2 FROM text+1(1)
NEXT text+3(1) RANGE text.
WRITE: char1, char2.
char1 = 'x'.
char2 = 'y'.
ENDDO.
DO 4 TIMES VARYING word FROM text-word1 NEXT text-word2.
WRITE / word.
ENDDO.
DO.
inc = sy-index - 1.
ASSIGN text-word1 INCREMENT inc TO <word> RANGE text.
IF sy-subrc = 0.
WRITE / <word>.
ELSE.
EXIT.
ENDIF.
ENDDO.
Thanks
Venkat.O -
How to use Runtime.getRuntime("command") in win?
I dont know how to use this method in win entironment, for example about file opertions, where there is some documents on detail about it?
Huh?
There is a method called Runtime.getRuntime(). It does not take any parameters. The javadocs describe it.
Is that what you are asking about? -
I have a large set of product, architecture, and other subject-specific photos, that I’m preparing for a new website; all to be placed in various galleries.
For each photo, I want it to have the same background. If I were doing this manually, I would simply “place” the subject photo into the background, and save it – back to the original photo name.
In other words, doing this manually, PRODUCT_001.TIF gets placed into STANDARD_BKGRND.TIF, (thereby automatically correctly sizing and centering it), and then saving the result back to PRODUCT_001.TIF; either overwriting the original, or into a new folder. (I have the original file somewhere else, and am working with an intermediate copy).
But since I have several hundred photos, how do I create an action (and really – a droplet) that will save the resulting file to the desired name? Typically placing photo ‘PRODUCT_001’ into photo ‘B’, alters photo ‘STANDARD_BKGRND’, so I can’t save the result back to ‘PRODUCT_001’. Said differently, in a droplet, each time it's run saves the result back to the same filename 'STANDARD_BKGRND'.
The end result – I want to apply that droplet to all the PRODUCT_***.TIF files in a given folder, and end up with the same file names as before.
Thanks in advance for your help!
Jerry
PS - I have no scripting experience in PS, but have written code in other applications/scenarios.Actions don't have access to the document name (where the file name is). Scripts do, however.
If your products are sequentially numbered, you're in luck. You can overide the "Save as command" and make sure that your naming uses a sequence which you can set to the same starting number as your product. Here is an example of how to configure File -> Automate -> Batch (assume the set and action are your hand built one)
Instead of "Document name" you'd type "PRODUCT_" per your example and choose a 3 digit Serial number.
The "Starting Serial #" is where you can change if your products are numbered say, 101 and up. -
How to use cvs checkout command in java
Hi,
I am using Ubuntu
I have installed cvs client in ubuntu
I have one problem running 'cvs checkout' command through java..
"cvs" -d ":ext:[email protected]:/var/cvs" co -P "Auto/test"
When i run the above command in terminal, i got one prompt like '[email protected]'s password:' in the terminal if i give the valid password the folder 'Auto' checked out successfully..
I have tried following steps but i don't know how to give the password to the terminal using java
First i created the 'checkout.sh' file.
In this i have typed "cvs" -d ":ext:[email protected]:/var/cvs" co -P "Auto/test"
Then i call it using java by the following code
=================================================================
String cmd[] = {"bash","checkout.sh"};
Runtime.getRuntime().exec(cmd).waitFor();
=================================================================
Anyone let me know how do I achieve this in java?
Thanks in Advance
Kulandaivelumasijade. wrote:
PhHein wrote:
Maybe you need to modify your links to be more obvious :P
[*>>klick me<<*|http://www.jcvs.org/]
Nah! Attention to detail is one of most crucial attributes for a programmer in any language. ;-)
Edit: The urls seemingly don't like h1 and color tags. ;-)Nope, they don't and I couldn't be bothered to try.
Gratz on Gold! -
PC & Mac Sharing 1 Monitor and KB Setup - How to use KB/Mouse for both?
I am purchasing a Mac Mini to replace my personal computer. I have one monitor/KB/mouse setup shared between my work and personal PC, switched back and forth via a USB KVM switch (http://www.iogear.com/product/GCS632U/)
I want to go with the Apple bluetooth mouse and keyboard with the purchase of my mac mini, but how can I make it so it will work with both my work PC (Windows XP Dell laptop docked) and my new mac mini?
Should I purchase a USB bluetooth dongle and connect that to the mini KVM switch? Or should I just plug the USB dongle into my docked laptop and pair with both the mini and the PC (if pairing to both is even possible)?
Thanks in advance.If both are on your intranet, try Synergy.
I personally use the Wormhole. You can drag between desktops. -
How to use customize mouse cursor?
Hello everyone
i want to use my own pictures as the mouse cursor. How can I make it?
Thank youTry using ToolKit.getDefaultToolKit().createCustomCursor() as a first step.
-
How do use an Import Command from DB2 into a java program
I have to use a csv file to load data into a table, after connecting to the database and using the execute, it does not recognise the import statement.
How do i import that file into a table using a java programImport is a DB2 utility program which uses sql Insert to write data into a table. Insert is called from the CLP (command line processor), not from Java. If you want to do this job using Java, then you need to establish a connection to the database, and write your own sql insert statements.
-
Hi,
my cards tell me as response to get-data 0066 command, that they are using SC02 option 15:
Global Platform version : 2.1.1
Global Platform Secure Channel Protocol: 02 option 15
What are the right parameters for GPShells open_sc command?
h3. GPShell help says:
open_sc -keyind x -keyver x -key xyz -mac_key xyz -enc_key xyz -kek_key xyz -security x -scp x -scpimpl x -keyDerivation x
For OpenPlatform 2.0.1' card only -keyind, -keyver, -mac_key and -enc_key are necessary.
For GlobalPlatform 2.1.1 cards -scp and -scpimpl should be not necessary to supply. But you must also specify -kek_key. If your card supports a Secure Channel Protocol Implementation with only one base key, specify this key with -key and omit the other keys.
If you have a card which uses key derivation you must enable the derivation mode with the -keyDerivation option and you must specify with -key the master (mother) key. -kek_key, -mac_key and -enc_key are not relevant, because they are calculated from the master key. See the sections #Options and #Key Derivation.
h3. GP-2.1.1-Spec says for SC Protocol 02 with option 15:
Initiation mode explicit, C-MAC on modified APDU, ICV set to zero, ICV encryption for CMAC session, 3 Secure Channel Keys,
h3. So, What are the right parameters for GPShells open_sc command?
Assumtions:
1. As my cards support GP 2.1.1 I sould not need to supply -scp and -scpimpl (acc. to GPShell help)
2. SCP 02 option 15 has three Secure Channel Keys (acc. to GP2.1.1. Spec) and does not support SCPImpl with only one base key (as mentioned in GPShell help).
Questions:
1. Are the 3 Secure Channel Keys mentioned in the Spec the keys -mac_key -enc_key -kek_key mentioned in GPShell help?
2. Where can I look for the correct values of -keyind and -keyver?
3. How can I check wether my card uses key derivation?
4. Can I freely choose the -security parameter from [ 0: clear, 1: MAC, 3: MAC+ENC ]
or is this determined by the SCP 02 option 15 to 1: MAC?
5. GPShells listgp211.txt uses
open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f // Open secure channel
But that does not work for me (in fact: how can one open_sc command match for all GP Cards, if they use different
SCP 02 but with different options (as it is 15 in my case?)
It is no prob for me to dig into the specs, but I feel like there are some points not too clear there,
so I need experience too: trial and error.
That would be fine for me but locking all these cards does not feel so well, I'd be glad to perform some successful auth
to reset that damn counter ;)
Cheers,
MaxI managed to connect sucessfully to J2A-Card:
Main insight is that you have to specify 3 keys (can be the same key three times)
open_sc -security 1 -keyind 0 -keyver 0 -mac_key x -enc_key x -kek_key xh1. GPShell Trace:
mode_211
enable_trace
establish_context
card_connect
select -AID a000000003000000
Command --> 00A4040008A000000003000000
Wrapped command --> 00A4040008A000000003000000
Response <-- 6F658408A000000003000000A5599F6501FF9F6E06479181023100734A06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864886FC6B03640B06092A864886FC6B040215650B06092B8510864864020103660C060A2B060104012A026E01029000
open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f -kek_key 404142434445464748494a4b4c4d4e4f
Command --> 80CA006600
Wrapped command --> 80CA006600
Response <-- 664C734A06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864886FC6B03640B06092A864886FC6B040215650B06092B8510864864020103660C060A2B060104012A026E01029000
Command --> 805000000860A1D92C0D5BA76800
Wrapped command --> 805000000860A1D92C0D5BA76800
Response <-- 00000093014854952092FF020004B1B79602B1CB9486C7A12DEB85139000
Command --> 8482010010273C6B2808F0F5391350C479076D6951
Wrapped command --> 8482010010273C6B2808F0F5391350C479076D6951
Response <-- 9000
get_status -element 10
Command --> 80F21000024F0000
Wrapped command --> 84F210000A4F008EB97807E3B04F9200
Response <-- 07A000000003535001000108A0000000035350410948454C4C4F4A434F500100010A48454C4C4F4A434F50419000
List of Ex. Load File (AID state Ex. Module AIDs)
a0000000035350 1
a000000003535041
48454c4c4f4a434f50 1
48454c4c4f4a434f5041
get_status -element 20
Command --> 80F22000024F0000
Wrapped command --> 84F220000A4F00530272F4C196EACD00
Response <-- 07A000000003535001000948454C4C4F4A434F5001009000
List of elements (AID state privileges)
a0000000035350 1 0
48454c4c4f4a434f50 1 0
get_status -element 40
Command --> 80F24000024F0000
Wrapped command --> 84F240000A4F00F4B9DB41BAF2486E00
Response <-- 0A48454C4C4F4A434F504107009000
List of elements (AID state privileges)
48454c4c4f4a434f5041 7 0
card_disconnect
release_contexth1. JCOP Tools Trace
--Opening terminal
/card -a a000000003000000 -c com.ibm.jc.CardManager--Waiting for card...
ATR=3B F8 18 00 FF 81 31 FE 45 4A 43 4F 50 76 32 34 ;.....1.EJCOPv24
31 43 1C
ATR: T=1, FI=1/DI=8 (31clk/etu), N=-1, IFSC=254, BWI=4/CWI=5, Hist="JCOPv241"
=> 00 A4 04 00 08 A0 00 00 00 03 00 00 00 00 ..............
(24218 usec)
<= 6F 65 84 08 A0 00 00 00 03 00 00 00 A5 59 9F 65 oe...........Y.e
01 FF 9F 6E 06 47 91 81 02 31 00 73 4A 06 07 2A ...n.G...1.sJ..*
86 48 86 FC 6B 01 60 0C 06 0A 2A 86 48 86 FC 6B .H..k.`...*.H..k
02 02 01 01 63 09 06 07 2A 86 48 86 FC 6B 03 64 ....c...*.H..k.d
0B 06 09 2A 86 48 86 FC 6B 04 02 15 65 0B 06 09 ...*.H..k...e...
2B 85 10 86 48 64 02 01 03 66 0C 06 0A 2B 06 01 +...Hd...f...+..
04 01 2A 02 6E 01 02 90 00 ..*.n....
Status: No Error
cm> set-key 255/1/DES-ECB/404142434445464748494a4b4c4d4e4f 255/2/DES-ECB/404142434445464748494a4b4c4d4e4f 255/3/DES-ECB/404142434445464748494a4b4c4d4e4f
cm> init-update 255
=> 80 50 00 00 08 51 C6 9C 29 E2 B2 9E 89 00 .P...Q..).....
(49458 usec)
<= 00 00 00 93 01 48 54 95 20 92 FF 02 00 05 BD 1A .....HT. .......
6B E9 D3 D5 5C 10 15 5A 3B FE 74 3B 90 00 k...\..Z;.t;..
Status: No Error
cm> ext-auth plain
=> 84 82 00 00 10 80 2B 5E A2 9A E4 CB AC FB 4B 10 ......+^......K.
A2 5F E3 1A 87 ._...
(52746 usec)
<= 90 00 ..
Status: No ErrorCheers,
Max -
How to use the telnet command line in Labview
Hi, someone can help me, I need to use a Telnet session in Labview but without using the http protocol, in this application I can only access the Telnet session using command line, here is an example of how I can access:
From my computer, click on Start, then Run and then type in CMD.
In the command line enter “telnet 192.168.0.1 5454” (without the quote marks) to bring up a blank DOS screen with a blinking cursor.
Type “AT” and press the ENTER key, you should receive an “OK” response.
Type in capital letters “AT+CMAR=1234” (without the quote marks)I had a similar situation and here is what I did...
In MAX (Measurement and Automation eXplorer)
Select Devices and Interfaces
Select VISA TCP/IP Resources
Create a new resource
Select Manual Entry of Raw Socket
Enter the IP address and port (23 is the standard telnet port)
Give it a name. (VISA Ailas)
Now this "Device" will show up in the VISA drop down just like any other VISA device.
Use the VISA read and write just like you were communicating through a com port.
Since Telnet does not have a stop bit like serial, make sure you enable the termination character.
On your VISA reads set the number of characters to a big number, then VISA will read until it gets the termination character.
See my attached snippet of my Telnet read vi
Message Edited by RTSLVU on 06-16-2010 01:49 PM
Message Edited by RTSLVU on 06-16-2010 01:50 PM
Attachments:
telnet.png 40 KB
max1.png 33 KB
max2.png 31 KB -
How to use 'right click' command of windows in mac firefox
how do i use the windows 'right click commands in mac firefox
== This happened ==
Every time Firefox opened
== begininghttp://kb.mozillazine.org/Ui.click_hold_context_menus
type '''about:config''' in the URL bar and hit Enter
Pref Name = '''ui.click_hold_context_menus'''
Double-click to Toggle to '''True'''
Maybe you are looking for
-
Creative Cloud Packager - Post-Install Update Enabling
Hi, I have created a package for deployment in our enterprise and did a little mistake while selecting option. I have disabled updates and now users cannot update their products that are installed on their computers. I was wondering if there is a fil
-
No Response from Application Web Server - j2ee when running a long report
Using Oracle Application server, 10.1.2 and a j2ee application which uses Oracle Reports to create pdf report output. When a report takes 5 mins or more to be produced, the following error message occurs, ending the session. The report request howeve
-
Error while activating 2LIS_13_VDITM
Hi All, I have activated the 3.x datasource for 2LIS_13_VDITM from T Code RSDS , activated the infosource etc from the business content. It is fine till here.Now when i try to migrate the data source to 7 flow, it is throwing an error " Internal erro
-
Calling VC Function in R/3 from IPC - Jco parameters
Hello, Is there anyone who has worked on development of VC Java Function in IPC? I basically create a JCO connection to R/3 and call the VC Function from R/3. I am currently storing the JCO connection parameters like the userid,password etc..
-
Program to read ecg and determine r to r minute segment
Hello, I'm doing a final project that is a bit late to change now, and is unfortanutely quite over my head. My group tested about 15 people, while an ecg signal. The ecg segment we saved is about a minute long. 30 seconds leading up to the "test" an