How to get list of fonts on current system(forms6i)
Does anyone know how to get list of all available fonts on system. I want to add available fonts to list item (forms 6i) dinamicaly.
depending on what exactly you want to know:
System.getProperty("java.version")
System.getProperty("java.vendor")
System.getProperty("java.vm.version")
System.getProperty("java.vm.vendor")
System.getProperty("java.vm.name")
Nick.
Similar Messages
-
How to get list of orders for current date.
Hi,
My requirement is to get list of orders for the date on which order was created such that I don't have to change the date in my application.
Every time I run my application it should generate orders created on that current date without manually giving current date.
This has to be done directly using BAPI and without creating a RFC.
I tried with bapi " BAPI_ALM_ORDERHEAD_GET_LIST " using parameter OPTIONS_FOR_START_DATE but there I can't enter sy-datum and hence, every time I hence to change the date.
Please tell me if there is any possible way to get fulfil above requirement.
Thanks.
Shilpi Agarwal.Hi Shilpi,
This looks simple to me.
Just create a variant in IW38 with U_your UserId as shown in the picture (Dynamic date selection for Created On set to Current Date)
The status settings obviously would be
Jogeswara Rao K -
How to get list of company codes with current period not opened?
Hi,
How to get list of company codes with current period not opened?
Is there any way we can check whether the current period is opened for all company codes.
If not how, can we generate a report which having information of period and company code. Also please tell me, which table will have info on posting periods and company codes.
Thanks
Vineeth VargheseHi,
The MM periods details can be viewed In Table MARV . On the selection screen you have the option of entering the company codes , current period, year current period etc. so make the required entries and you get the all details relevant to MM periods. Also it can be downloaded as a report.Thanks -
How to get List of SharePoint Groups to which Current Users belongs using Javascript ?
How to get List of SharePoint Groups to which Current Users belongs using JavaScript? Not JSOM
Here is the code that worked for me:
var userid= _spPageContextInfo.userId;
var requestUri = _spPageContextInfo.webAbsoluteUrl + '/_api/web/CurrentUser/Groups?$select=Id,Title';
alert(requestUri);
var requestHeaders = { "accept" : "application/json;odata=verbose" };
$.ajax({
url : requestUri,
contentType : "application/json;odata=verbose",
headers : requestHeaders,
success : onSuccess,
error : onError
function onSuccess(data, request){
var s='';
for (var i = 0; i < data.d.results.length; i++)
s +=data.d.results[i].Title+'\n';
alert(s);
function onError(error) {
alert("error"); -
How to get the number of files currently open?
hi,
does any one know how to get the number of files currently open in windows OS?
e.g. lets say .txt files...
any comment will be really appreciated.
thanksAssuming that you don't want to actually do this from within Java code (which would obviously require native code), here's a utility that will give you a list of which file handles are opened by which processes (on Windows):
http://www.sysinternals.com/ntw2k/freeware/handle.shtml
- K -
How to get list name through javascript?
Hi,
I wrote javascript for getting list items but here I'm hard coded list name as "Projects"(my list name). How can I get list name automatically with out hard coding,
Appreciate if anyone help.
Thank you.
function DoLogicalDelete()
var clientContext = null;
var oList = null;
var oListItem = null;
// var lstItmIsDeleted = null;
var itmID = getQuerystring('ID');
clientContext = SP.ClientContext.get_current();
oList = clientContext.get_web().get_lists().getByTitle('Projects');
// var oListItemID = SP.ListOperation.Selection.getSelectedItems(clientContext);
oListItem = oList.getItemById(itmID); // getting ID
clientContext.load(oListItem,"Title", "IsDeleted"); // load items to oListItem
oListItem.set_item('IsDeleted', true);
oListItem.update();
clientContext.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceeded),Function.createDelegate(this, this.onQueryFailed));Not sure on which context you are executing the code. If you executing this from the list form and trying to get the current list, then you may need to get the list name from the breadcrumb/list title field. Refer to the following posts for more information
http://sharepoint.stackexchange.com/questions/39008/how-to-get-list-name-from-js-object-model-list-name-from-url-problem
http://itrob.be/sharepoint-get-all-lists-names-in-javascript-spservice-and-jquery/
--Cheers -
How to get list of software installed in a system
How to get list of softwares installed in a system?. should i use registry to get information or control panel?
is there any package available for this? how should i start with/
thanksHow to get list of softwares installed in a system?.Using native code, if at all.
should i use registry to get information or control panel?Linux has neither.
is there any package available for this? how should i start with/ Learn the Windows API or Google for some native tool. -
Indesign CS3: How to get the number of the current layer?
Hallo!
How to get the number of the current layer in a page?
Thanks,
Alois BlaimerInterfacePtr<ILayerList> layerList(documentUIDRef, UseDefaultIID()); <br /><br />int32 layerCount = layerList->GetCount();<br /><br />To findout layer name use<br /><br />IDocumentLayer* documentLayer = layerList->QueryLayer(layerIndex);<br /> <br />PMString layer=documentLayer->GetName();
-
[CS3][JS] How to get the file type of current document
Hi,
How to get the file type of current opening document (e.g., tif, jpeg, png) using JavaScript with Photoshop CS3.
I am using file object the open the files one by one in the folder (the files sometimes don't have the extensions).
If the current document is in tiff format then I need to convert to 8-bit, if its an Jpg image then needs to ignore the file.
Regards,
KarthikDo you really need to know the file type? What about just checking the bit depth?
var doc = activeDocument;
if (doc.bitsPerChannel != BitsPerChannelType.EIGHT) {//Not 8 bit
doc.bitsPerChannel = BitsPerChannelType.EIGHT;
//do your save etc
}else{
//Ignore -
How to get the name of the current tab.
Hi Experts,
I have two tabs in my tab strip and a button common to both the tabs.Can you please let me know how to get the name of the current tab in the event method of the push button.
Thanks in advance.
Regards,
Arun1.Declare an Action for OnSelect event of Tabstrip. This event is triggered whenever any change in tab occurs.
2. Declare an Import Parameter in this method
Tab type String.
3. This parameter has value of the selected TAB.
4. You can set this value in some Attribute in Attribute Tab in this event only (OnSelect):
wd_this->Att = Tab.
Att is the attribute created by you in Attributes Tab of View. ( of type String)
5. Now the selected Tab ID is stored in this Attribute Att.
6. In the Onaction of Button , retrieve the selected tab value from this attribute using :
Data : lv type string.
lv = wd_this->Att
Now lv has your selected TAB ID.
I hope it would help you.
Edited by: Saurav Mago on Oct 13, 2009 2:22 PM -
How to get list of docs for particulat billing type on plant wise
very urgent
is there any t-code, report to look thi
how to get list of billing docs grnerated for particulat billing type and if possible on plant wise also
very urgetnt
points to be rewarded
eagerly waitng from sap gurusDear chakri
As you may be aware, in VF05 you need to enter either Payer Code or Material Code and then based on the selection criteria, the report will generate. Please give the (ensure that this code is exist in billing document) Payer code and now select "Further sel.criteria" and DONT forget to enter the date in from column of "Billing docs.date". By default, there you can see one month date range.
Still if you get error message, please let me know the error message.
thanks
G. Lakshmipathi -
How to get list of drives present in local file system?
Hi all,
I want to show all drives and their contents using JTree.
Does anybody know how to get list of drives present in local file system?Thank you!
I have new question.
I want to disply size and file type. Can you give ur suggestion in order to do that?
I want to provide following using JTree
+ root <Dir> 50KB
- file1 <txt> 10KB
- file2 <bmp> 20KB
+ root2 <Dir> 200KB
-file1 <jpeg> 50KB
Is this possible?
Plz reply..........
bye -
How to get list of tables used in packages
Dear All
Can you pls tell me how to get list of tables used in packages
Regardsselect referenced_name
from user_dependencies
where name = 'your_package'
and referenced_type = 'TABLE'Regards,
Rob. -
How to get the actual font name from a font file?
Hi
I have only the font Path I have to get the font name from that path. Any idea how to get the actual font name?
Thanks,I would ask you these questions:
Why do you need to do this? What are you ultimately trying to accomplish?
Are you really asking about the InDesign SDK?
Do you really need to get the "name" of a font from an arbitrary file? Or do you want information about a font installed on the system? If so, what OS?
Do you need to be able to handle any font format?
Which font "name" do you mean?
What language do you want the name in?
(1) It's not clear what you're trying to accomplish. A bit more information about your ultimate goal would be helpful.
(2) This question is not at all specific to the InDesign SDK. Are you really trying to do something in the context of an InDesign plug-in? If so, you probably want to look at IID_IFONTFAMILY and the IFontFamily::GetFamilyName function.
(3) If you are asking more generally, Windows and Mac both have system API calls to get this information, although those tend to deal with installed system fonts, not with arbitrary font files per se.
Also, you can parse the name table from a True Type or Open Type font without using any system APIs; as True Type and Open Type are well-documented standards. I would start by reading these:
The Naming Table
Font Names Table
(4) Although there are other standards, such as Type 1 (PostScript) fonts, and True Type Collection files and other formats, especially on Mac.
(5) Also, when you start down this road, you will quickly realize that your seemingly simple question is actually ambiguous, and that the answer is kind of complicated, because a font can have many names (a family name, a full font name, a style name, a PostScript name, etc.).
(6) And not only does a font have multiple names, it can have each of those names in multiple languages and encodings.
Any clarification would make this a better question. -
How to get list of file names from a directory?
How to get list of file names from a directory?
Please helpIn addition, this:
String filename = files;Should be this:
String filename = files;
That's just because he didn't use the "code" tags, so [ i ] made everything following it become italicized.
Maybe you are looking for
-
How do I add pics from my PC to my phone in several folders?
I would like to find a simple tutorial for this function but all the tutorials deal with music and I have ZERO interest in putting music on my phone. I would like to put pictures from my PC on my phone. I have managed to transfer entire folders sever
-
ITunes "can't find" certain songs when I sync my phone
When I sync my iPhone with iTunes, I get an error message saying that certain songs cannot be synced because they cannot be found, and yet, there they are on my phone! I've tried deleting the songs from my iTunes library, and then adding them back in
-
I cannot open Keynote as I usually would. Apparently there is a error -600 ocurring. Please can someone help? Thank you..
-
Shortcuts stopped working for text messages after installing iOS 6. How do I fix this?
Also emoji does not show up either. I have even restarted my phone. Reinstalled the App. Restarted my phone again
-
I was printing a Microsoft Excel document when I got the message that the program has unexpectedly quit, Now I can't even open Word or Excel, Any suggestions or help would be greatly appreciated. Thanks in advance