Permanently toggle function of F1 & F2 only?
I know you can toggle the function keys between their special modes and normal F1-12 operation with the setting in the keyboard control panel, but is it possible to just flip F1 and F2 from being brightness control (which does nothing on a mac pro with a wired keyboard...) to F1 and F2, leaving the other buttons as is for special functions? I could really use those buttons, but I prefer all the others as their special mode...
Go in to System Preferences and click on Keyboard and Mouse. On the first tab there's an option to use the F buttons as standard function keys (and you can use the fn button to use their "mac" functions such as volume and brightness)
Hope this helps.
Similar Messages
-
Hi All,
I have a scenario where I have to implement a toggle functionality. When the toggle is in collapsed mode there is some images and read-only data displayed next to ">" icon.
When I click ">" and bring it in expand mode, the previous images and read-only should not be visible, and some new SelectOneChoice and TextBox should be displayed. Also there is a button in the Expand mode which on click , produces a component just like the one mentioned with the same expand and collapsed functionality. Again on clicking the toggle button, the previous images and read-only data should be displayed back.
Note All read-only data and SelectOneChoice data is coming from DataControl(Web-Serviced Based).
Jdeveloper Version 11.1.5..
Please help its very critical...What component are you using for the '>' link .. is it a simple commandLink or the expand and collpaseIcons of panelHeader/showDetail etc ?
You can use the af:switcher component and place the components which would be rendered on expand in one facet and the ones which need to be hidden on expand in another facet.
Then in the action Listener /Disclosure Listener of your Toggle .. you can set Boolean variables which will render a particular facet which can be mentioned in the switchers facetName property
http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_switcher.html -
Error msg: Partner Function SH already exists (only defined once)
hi,
when i am trying to enter two ship to parties for a sold-to party, i am getting this error
Partner function SH already exists (only defined once)
Message no. F2188
Please advise why i am unable to add ONLY a ship-to party more than once, but i am able to add payer and bill-to party more than once.
I have also defined customer hierarchy. Could it be a reason?
Thanks in advance.Check the following note
Note 1415987 - CMD_API: check for unicity of partner function
G. Lakshmipathi -
Will Thunderbird function if I have only a GANDI email account with no gmail or other webmail?
I began Thunderbird with synch to my gmail. I then added a GANDI account and email address. In a couple of months, I may wish to eliminate my gmail account entirely. I shall then have no webmail at all, just a GANDI account and address. Will Thunderbird function for me with only a GANDI account?
Thunderbird will function with whatever IMAP or POP mail accounts you have.
So, Yes -
I'm having trouble with my 'sound up' and 'sound down' keys. They're doing other functions. This is only a relatively new thing.
You didn't mention what those "other functions" were. That might help!
First thing to check is System Preferences > Keyboard > Keyboard tab - make sure "Use all F1, F2, etc. keys as standard function keys" is un-checked. Hopefully that still works in Mountain Lion. -
Ipad 2 doesn't recognise wireless keyboard apart from the function keys this has only just occurred . Previously no issue at all.
Try this - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
Cheers, Tom -
Callback function may be NULL only when database handles are read-only
Hi,
I am getting some errors when trying to run my java code that will try to open a few cursors and join them to fetch the data.
ath .:/usr/src/db-4.7.25.NC/java/src:/usr/local/BerkeleyDB.4.7/lib/db.jar bdbtest
MyDbs: Callback function may be NULL only when database handles are read-only
Error on inventory secondary cursor:
java.lang.IllegalArgumentException: Invalid argument: Callback function may be NULL only when database handles are read-only
What does that error mean? How can I resolve it? I am following the sample program and I can't find anything related.
Here is my code.
import com.sleepycat.db.DatabaseException;
import com.sleepycat.db.Database;
import com.sleepycat.db.SecondaryDatabase;
import com.sleepycat.db.DatabaseConfig;
import com.sleepycat.db.DatabaseType;
import java.io.FileNotFoundException;
import com.sleepycat.db.DatabaseEntry;
import com.sleepycat.db.SecondaryCursor;
import com.sleepycat.db.Cursor;
import com.sleepycat.db.DatabaseException;
import com.sleepycat.db.LockMode;
import com.sleepycat.db.OperationStatus;
import com.sleepycat.db.SecondaryCursor;
import com.sleepycat.db.SecondaryConfig;
import com.sleepycat.bind.EntryBinding;
import com.sleepycat.bind.serial.SerialBinding;
import com.sleepycat.bind.tuple.TupleBinding;
import com.sleepycat.db.Cursor;
import com.sleepycat.db.DatabaseEntry;
import com.sleepycat.db.DatabaseException;
import com.sleepycat.db.LockMode;
import com.sleepycat.db.OperationStatus;
import com.sleepycat.db.SecondaryCursor;
public class bdbtest {
public static void main(String args[]) {
SecondaryDatabase myDatabase = null;
Database primDB = null;
Cursor cursor = null;
try {
// Open the database. Create it if it does not already exist.
DatabaseConfig dbConfig = new DatabaseConfig();
dbConfig.setErrorStream(System.err);
dbConfig.setErrorPrefix("MyDbs");
dbConfig.setType(DatabaseType.BTREE);
dbConfig.setAllowCreate(true);
SecondaryConfig mySecConfig = new SecondaryConfig();
mySecConfig.setErrorStream(System.err);
mySecConfig.setErrorPrefix("MyDbs");
mySecConfig.setType(DatabaseType.BTREE);
mySecConfig.setAllowCreate(true);
primDB = new Database("/tmp/bdb_ca_db.db",
"bdb_ca_db",
dbConfig);
dbConfig.setAllowCreate(true);
myDatabase = new SecondaryDatabase("/tmp/bdb_ca_sdb.db",
"ca_sdb_res_alias",
primDB,
mySecConfig);
String res ="in-1";
SecondaryCursor secCursor = null;
DatabaseEntry searchKey =
new DatabaseEntry(res.getBytes("UTF-8"));
DatabaseEntry foundKey = new DatabaseEntry();
DatabaseEntry foundData = new DatabaseEntry();
secCursor =
myDatabase.openSecondaryCursor(null, config);
// Search for the secondary database entry.
OperationStatus retVal =
secCursor.getSearchKey(searchKey, foundKey,
foundData, LockMode.DEFAULT);
if (retVal == OperationStatus.SUCCESS){
System.out.println("succ");
}else {
System.out.println("fail");
while (retVal == OperationStatus.SUCCESS) {
String keyString = new String(foundKey.getData(), "UTF-8");
String dataString = new String(foundData.getData(), "UTF-8");
System.out.println("Key | Data : " + keyString + " | " +
dataString + "");
secCursor.getNextDup(searchKey, foundKey,foundData, LockMode.DEFAULT);
} catch (Exception e) {
System.err.println("Error on inventory secondary cursor:");
System.err.println(e.toString());
e.printStackTrace();
finally {
// Make sure to close the cursor
try {
cursor.close();
}catch (com.sleepycat.db.DatabaseException e) {
System.out.println("All done.");
}Hi,
The error is because either the primary database or the secondary database is configured as read only and the callback to create the secondary keys is null. A quick glance of the code, it appears as if you did not set up the secondary database correctly. In the Getting Started Guide for JAVA API chap 10, we have detailed information on what needs to be done as well as a code example. Please refer to http://www.oracle.com/technology/documentation/berkeley-db/db/gsg/JAVA/index.html and look for Chap 10.
regards,
Mike Brey, Oracle Berkeley DB -
SQL function to retrieve records only if all the values are available.
Hi,
I have a sales table on which i run a parameterized query.
We pass a few week IDs to retrieve store sales.
I need to retrieve only those stores that has sales in all the week IDs passed.
If i use the in operator, i am getting the store data even if there is sales for only one week.
Is there a function in oracle to do this?
Thanks,
Sharan.Hi, Sharan,
Here's how you could use the analytic COUNT function:
WITH got_week_cnt AS
select week_id, store_id, prod_desc, sales_units_raw, sales_value_raw
, COUNT (DISTINCT week_id) OVER (PARTITION BY store_id) AS week_cnt
from sales_store_dwh
where week_id in (&&Week_ID_CSV)
select week_id, store_id, prod_desc, sales_units_raw, sales_value_raw
FROM got_week_cnt
WHERE week_cnt = 1 + LENGTH ('&&Week_ID_CSV')
- LENGTH (REPLACE ('&&Week_ID_CSV', ','))
;Notice that the sub-query got_week_cnt is just your original query, with the COUNT function added.
You didn't post your tables or results, so I can't test it.
You didn't say what version you're using, so I made a conservative guess (Oracle 9 or higher). In Oracle 11, there's a simpler way to find the number of weeks passed. -
When searching mail results only contain messages from the current year. I'd like to see results from all years. This just started after upgrading from Snow leopard to Lion.
Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
Note: ''This will temporarily log you out of all sites you're logged in to.''
To clear cache and cookies do the following:
#Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
#Under "Time range to clear", select "Everything".
#Now, click the arrow next to Details to toggle the Details list active.
#From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
#Now click the ''Clear now'' button.
Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
Did this fix your problems? Please report back to us! -
Permanently change Acrobat Pro 9 to only save as Acrobat 5
(Acrobat Pro 9.0, Windows XP, etc.)
I add to and edit the client's .PDFs with my own material. At present, his internal software only works with .PDFs that are fully compatible and saved with Acrobat 5.
I am aware of the ways in Acrobat 9 Pro to save .PDFs for Acrobat 5 (reduce .PDF size with compatibility for Acrobat 5, etc).
Question: Is there a way to permanently modify Acrobat Pro 9.0, so that it always saves (just with the saving button) in the Acrobat 5 format without having to change any options, etc?
Thanx for your help.Thanks for the info and help, Bill. Was afraid of that.
Who needs Acrobat Pro just to create a .PDF from a Word or other file? I use it to edit and save within the .PDF file many times a day. That's why it's annoying to go through several steps that should be able to be taken care of in just one.
Maybe somebody has another idea?
If not, Adobe might want to think about a fix for Acrobat 9.0.1, since a lot of us free lancerss (for a company which is a leader in its field) will be sticking with Acrobat 6.0.6 till doomsday.
Suggestion to Adobe Co.: Don't always reset the compatibility feature in the "Save As" option after a save, or after the option has been set give it the possibility to be a standard (like with the comments). -
Function do work in only one frame
this function showing in all frame on stage....i want to it within a perticular frame
function callThumbs() {
_root.createEmptyMovieClip("sliderBox",_root.getNextHighestDepth());
sliderBox._x = _root.gallery_x=30;
sliderBox._y = _root.gallery_y=30;
sliderBox.addEventListener(MouseEvent.CLICK);
var clipLoader = new MovieClipLoader();
var preloader = new Object();
clipLoader.addListener(preloader);
for (i=0; i<myImagesTotal; i++) {
thumbURL = myImages[i].attributes.thumb_url;
myThumb_mc = sliderBox.createEmptyMovieClip(i, sliderBox.getNextHighestDepth());
myThumb_mc._x = _root.thumb_height*i;
clipLoader.loadClip("thumbs/"+thumbURL,myThumb_mc);
preloader.onLoadStart = function(target) {
target.createTextField("my_txt",target.getNextHighestDepth(),0,0,1,1);
target.my_txt.selectable = false;
preloader.onLoadProgress = function(target, loadedBytes, totalBytes) {
target.my_txt.text = Math.floor((loadedBytes/totalBytes)*100);
preloader.onLoadComplete = function(target) {
new Tween(target, "_alpha", Strong.easeOut, 0, 100, .5, true);
target.my_txt.removeTextField();
target.onRelease = function() {
callFullImage(this._name);
target.onRollOver = function() {
this._alpha = 100;
target.onRollOut = function() {
this._alpha = 100;In what way do you mean the function is in all frames? If you write the function on a layer of its own and only provide one frame for it, it will only exist in that one frame.
If you mean that what the function creates lives throughout the timeline, then that is because you are creating content dynamically without securing it to an object that has a home in the timeline. Dynamically created content does not have a home in the timeline unless you make it a opart of something that has been manually affixed to the timeline, like a movieclip.
So what you might try is to manually add an empty movieclip in the frame where this code is (on a separate layer) and assign it an instance name, let's say you name it "container". Then you can change the following line from...
_root.createEmptyMovieClip("sliderBox",_root.getNextHighestDepth());
to
container.createEmptyMovieClip("sliderBox",container.getNextHighestDepth());
and that should end up retsricting the dynamically created movieclip to the frame where the container is. If there is any other content being added to the _root, that too should be retargeted to the container. -
My button function seems to work only once
When I tell Flash to go back frames the buttons cease to work, in other words, the button only works once. I've tried tracing it to find the problem and when I tell it to go back frames it won't run the function. I'm using actionscript 3 on Flash CS4.
hap.addEventListener(MouseEvent.CLICK,clickFunction2);
trace("addEventListener worked!");
function clickFunction2(evt:MouseEvent):void {
trace("clickFunction2 worked!");
this.gotoAndPlay(191);
trace("gotoAndPlay worked!");
sad.addEventListener(MouseEvent.CLICK,clickFunction3);
trace("addEventListener worked!");
function clickFunction3(evt:MouseEvent):void {
trace("clickFunction3 worked!");
this.gotoAndPlay(1,"sadness");
trace("gotoAndPlay worked!");
ang.addEventListener(MouseEvent.CLICK,clickFunction4);
trace("addEventListener worked!");
function clickFunction4(evt:MouseEvent):void {
trace("clickFunction4 worked!");
this.gotoAndPlay(1,"anger");
trace("gotoAndPlay worked!");
rewind.addEventListener(MouseEvent.CLICK,clickFunction5);
trace("addEventListener worked!");
function clickFunction5(evt:MouseEvent):void {
trace("clickFunction5 worked!");
this.gotoAndPlay(120,"happiness");
trace("gotoAndPlay worked!");Thanks for the answer. I was having the same issue with something I was writting. I was wondering, if it would be better to remove eht event listener and then add them after the frame has changed.
Would one approach be bettor or worse that the other.
-Thanks -
How do I set "JComboBox ItemStateChanged function" to do action only once
I encounter a serious problem with JComboBox.
When I use "ItemStateChanged" function,
I found out it does every action TWICE !!!!!
I need to use "ItemStateChanged" to decrease numbers by 1,
since it does action twice, the numbers are decrease by 2 everytime, which is not what I intended.
Are there anyway I could set "ItemStateChanged" to do the action only once?
Please help me outThe ItemEvent has a getStateChange() method that tells you what the state change was, "selected" vs "deselected". What you are seeing is that each item changes state twice, from delected to selected and vice versa. Check the result of this method to filter out the unwanted state changes.
BTW don't use Choice, its AWT not swing. -
Hello,
I just purchased a Samsung ML2160 printer and it doesn't work with nor my Pages program, nor the Preview (to print PDF). No matter the way I tried, the Print function doesn't work and I cannot neither print or even enter the printer preferrences menu! My MacBook Pro has worked before with other printers, but now with the Samsung it doesn't work at all... Though, if I drag and drop a document, jpg, pdf in the printer queue, it prints just fine, but that method gives me absolutely no freedom to the printing... Could it be something from the Computer -> Machintosh HD -> Library -> Printers? Because a friend of mine was recently trying to save me some disk space, and therefore erasing part of the HP printer (to remove the previous printer I owned)...
If anyone has any idea, that would be much appreciated
Thank you in advanceDo the sensible thing, as you say neither Preview nor Pages print, try other programs eg TextEdit. If none of them print then it is a System problem and very likely the printer drivers are AWOL or were never installed.
Go to Samsung's website and download their software for the Mac:
http://www.samsung.com/uk/consumer/print-solutions/print-solutions/mono-printers /ML-2160/XEU-support
http://www.samsung.com/uk/support/model/ML-2160/XEU-downloads
Peter -
Is there any bapi/Function module to change only header text in fb02
Hi ,
I want to change only header text in FB02 .the header text will come from a internal table.My Requirement is
1. open a document in FB02
2.change the header text of the document.
Right now i'm doing this through an BDC.but i'm looking for a BAPI /FM.
I Tried bapi_acc_gl_posting_post, fI_document_change..
is there any BAPI/FM for this???
Thanks,
ChallaYou can use SAVE_TEXT FM
Thanks
Seshu
Maybe you are looking for
-
HT201363 why i cant use my visa
why i cant my visa I'm right all thing but it cant workkkk
-
Run Clear Case command from java and save the out put in to a file.
Can any one help me out ... I want to execute Clear case command from a java and want to save the out put of this command to a file. I am naot able to find out how to start.. Message was edited by: chandra_verma
-
Hi there, Hope everyone is well. I have troubles with my Ai when working with a logo, I just want to move it from one point to another and it gets pretty slow to be moved. I am working on a brand new iMac and this problem surprises me a little bit. D
-
Variable Frequency Drive Simulation in Multisim 11
I'm having trouble creating a VFD simulation on Multisim 11. I've created a Delta source connected to a 6-pulse rectifier, which connects to a filter, which connects to a PWM (antiparallel SCRs), which connects to my motor. Any corrections to be m
-
My iphone 4's home button doesn't work properly..please help!!!
i have an iphone 4, I have some problems with home button. I can hear the click of button but it respondes only when I hit it hard...please help me