EXS24 read root key from file name only
Has anyone encountered this with EXS24 in Logic 7? If you set preferences to "read root key from file name only" then EXS reads the root key from the file itself when loading samples. On the other hand if you set them to "read root key from file only" then it reads the root key from the file name. Or am I just imagining this?
P.S. if anyone from Apple is reading, could you please update EXS24? It's a bit primitive by today's standards.
Hi
Not a direct answer to your question, but if you are doing a lot of sample mapping etc, you may want to check out Redmatica's KeyMap Pro or the simpler Keymap 1:
http://www.redmatica.com
CCT
Similar Messages
-
Need help with EXS24 "read velocity range from file name"
I am trying to import 127 drum samples to a single key using the option shown here. The option says "Map to key dropped on and read velocity range from file name". I can find no documentation in the manuals on how to do this. What is the syntax required in the file name to make this work? I need to do several of these imports. The capability is cleary there, but I need help on how the file name should be formatted. My thanks to anyone who can help.
Hi
Not a direct answer to your question, but if you are doing a lot of sample mapping etc, you may want to check out Redmatica's KeyMap Pro or the simpler Keymap 1:
http://www.redmatica.com
CCT -
WCF Service and Sharepoint Form library : How i can read or access a form libray and query a item from file name and read form xml in WCF service ?
Ahsan RanjhaHi,
In SharePoint 2013, we can take use of REST API or Client Object Model to access the SharePoint objects like Form Library.
SharePoint 2013 REST API
http://msdn.microsoft.com/en-us/library/office/dn450841(v=office.15).aspx
http://blogs.technet.com/b/fromthefield/archive/2013/09/05/working-with-sharepoint-list-data-odata-rest-and-javascript.aspx
SharePoint 2013 Client Object Model
http://msdn.microsoft.com/en-us/library/office/fp179912(v=office.15).aspx
http://msdn.microsoft.com/en-us/library/office/jj193041(v=office.15).aspx
With the retrieved file, we can then use XmlDocument object to parse it and get the values you want:
http://weblogs.asp.net/jimjackson/opening-and-reading-an-xml-file-in-a-document-library
http://stackoverflow.com/questions/1968809/programatically-edit-infopath-form-fields
Best regards
Patrick Liang
TechNet Community Support -
How to read DES key from a file?
I stored the DES key in the file as follows:
KeyGenerator keygen = KeyGenerator.getInstance("DES");
SecretKey Key = keygen.generateKey();
FileOutputStream ostream = new FileOutputStream("t.tmp");
ObjectOutputStream p = new ObjectOutputStream(ostream);
p.writeObject(Key) ;
p.flush();
ostream.close();
I don't know if there is problem with the above code, I am just new to java cryptography.
I have problem read in the key and store it in the DES key object to be used for decryption.
Can someone please tell me how to do it and a simple example will be appriciated.
thanks
JeffThank you for your help. after getting the key from the file( the output of the key is com.sun.crypto.provider.DESKey@fffe786d, not sure if it is right), I use this key to decrypt the message sent from the client program.
here is the code:
ObjectInputStream ois=new ObjectInputStream(data.getInputStream());
String c = ois.readLine() ;//should I convert the byte[] data to String?
ois.close() ;
jTextField1.setText(c) ;//display the cipher text to the first textfield
byte[] ciphertext = c.getBytes() ;
// System.out.write(ciphertext) ;
// get key from file
FileInputStream in = new FileInputStream("t.tmp");
ObjectInputStream oin = new ObjectInputStream(in);
SecretKey Key = (SecretKey)oin.readObject();
oin.close();
in.close();
System.out.println(Key) ;
//decrypt
Cipher C = Cipher.getInstance("DES");
C.init(Cipher.DECRYPT_MODE, Key);
// Decrypt the ciphertext
byte[] cleartext1 =C.doFinal(ciphertext);
System.out.write(cleartext1) ;//doesn't show anything!!
System.out.println("this is cleartexxt");//doesn't even show this!!
String display = new String(cleartext1);
jTextField2.setText(display);
why there is no output from System.out.write(cleartext1)? where did I go wrong?
thank you.
Jeff -
How to read appended objects from file with ObjectInputStream?
Hi to everyone. I'm new to Java so my question may look really stupid to most of you but I couldn't fined a solution by myself... I wanted to make an application, something like address book that is storing information about different people. So I decided to make a class that will hold the information for each person (for example: nickname, name, e-mail, web address and so on), then using the ObjectOutputStream the information will be save to a file. If I want to add a new record for a new person I'll simply append it to the already existing file. So far so good but soon I discovered that I can not read the appended objects using ObjectInputStream.
What I mean is that if I create new file and then in one session save several objects to it using ObjectOutputStream they all will be read with no problem by ObjectInputStream. But after that if in a new session I append new objects they won't be read. The ObjectInputStream will read the objects from the first session after that IOException will be generated and the reading will stop just before the appended objects from the second session.
The following is just a simple test it's not actual code from the program I was talking about. Instead of objects containing different kind of information I'm using only strings here. To use the program use as arguments in the console "w" to create new file followed by the file name and the strings you want save to the file (as objects). Example: "+w TestFile.obj Thats Just A Test+". Then to read it use "r" (for reading), followed by the file name. Example "+r TestFile.obj+". As a result you'll see that all the strings that are saved in the file can be successfully read back. Then do the same: "+w TestFile.obj Thats Second Test+" and then read again "+r TestFile.obj+". What will happen is that the strings only from the first sessions will be read and the ones from the second session will not.
I am sorry for making this that long but I couldn't explain it more simple. If someone can give me a solution I'll be happy to hear it! ^.^ I'll also be glad if someone propose different approach of the problem! Here is the code:
import java.io.*;
class Fio
public static void main(String[] args)
try
if (args[0].equals("w"))
FileOutputStream fos = new FileOutputStream(args[1], true);
ObjectOutputStream oos = new ObjectOutputStream(fos);
for (int i = 2; i < args.length ; i++)
oos.writeObject(args);
fos.close();
else if (args[0].equals("r"))
FileInputStream fis = new FileInputStream(args[1]);
ObjectInputStream ois = new ObjectInputStream(fis);
for (int i = 0; i < fis.available(); i++)
System.out.println((String)ois.readObject());
fis.close();
else
System.out.println("Wrong args!");
catch (IndexOutOfBoundsException exc)
System.out.println("You must use \"w\" or \"r\" followed by the file name as args!");
catch (IOException exc)
System.out.println("I/O exception appeard!");
catch (ClassNotFoundException exc)
System.out.println("Can not find the needed class");How to read appended objects from file with ObjectInputStream? The short answer is you can't.
The long answer is you can if you put some work into it. The general outline would be to create a file with a format that will allow the storage of multiple streams within it. If you use a RandomAccessFile, you can create a header containing the length. If you use streams, you'll have to use a block protocol. The reason for this is that I don't think ObjectInputStream is guaranteed to read the same number of bytes ObjectOutputStream writes to it (e.g., it could skip ending padding or such).
Next, you'll need to create an object that can return more InputStream objects, one per stream written to the file.
Not trivial, but that's how you'd do it. -
How can I extract metadata from file names?
If I want to extract metadata from file names? How can I do that? I want to read through the file names and when I get to a certain character ("-"), I can take the string just before that character and store it in a column in SharePoint. Is this
do-able through scripting?If I want to extract metadata from file names? How can I do that? I want to read through the file names and when I get to a certain character ("-"), I can take the string just before that character and store it in a column in SharePoint.
Is this do-able through scripting?
You should be able to leverage the split method.
In PowerShell It would look like:
# Gather the file name
$file = "myawesome_filename-Month-Day-Year-Ect.doc"
#split the file name by the "-" character
$file = $file.split("-")
# Use a foreach Loop to gather the individual items.
foreach ($item in $file) {
write-host $item
#Outputmyawesome_filename
Month
Day
Year
Ect.doc
# If you want to only grab the first item, you can do $file[0] <-- powershell starts counting with zero base.
$file[0]
#output
myawesome_filename
Entrepreneur, Strategic Technical Advisor, and Sr. Consulting Engineer - Strategic Services and Solutions Check out my book - Powershell 3.0 - WMI: http://amzn.to/1BnjOmo | Mastering PowerShell Coming in April 2015! -
I post documents to our Intranet site and found out recently that Adobe Reader does not recognize certain file names in PDF files. For instance, when trying to open a PDF file with the name
filename10.5.11.pdf in Adobe Reader, the web browser will not open the PDF and the display is blank. When I'm using another computer with Adobe Standard 9, I do not have a problem opening the file.
I would like to know if anyone else has had a similar issue and why Reader will not recognize the file name and Standard does.The version is Adobe Reader 10.1.0 I will request the latest version
and let you know if that fixes the problem
Actually I had changed the name of the file so our associates could access
the file (changed the . to a hyphen) It still made me wonder why Reader
wouldn't open it at that time.
Thanks again for you assistance and I will let you know if this resolves
the issue.
Regards,
Susan
From: Ankit_Jain <[email protected]>
To: SusanPleso <[email protected]>
Date: 10/19/2011 12:56 AM
Subject: Adobe Reader does not recognize file name
(filename10.5.11.pdf) but does in Adobe Standard 9. Why?
Re: Adobe Reader does not recognize file name (filename10.5.11.pdf) but
does in Adobe Standard 9. Why?
created by Ankit_Jain in Adobe Reader - View the full discussion
Hi Susan,
Thanks for providing the information.
Could you also let me know what is the exact version of Adobe Reader on
your system. You can check the same y clicking on Help > About Adobe
Reader X.
In case its not 10.1.1, please try updating to the latest version and see
if the problem persists.
Also, does any other PDF with a different filename open in Internet
Explorer correctly?
Thanks
Ankit
Replies to this message go to everyone subscribed to this thread, not
directly to the person who posted the message. To post a reply, either
reply to this email or visit the message page: [
http://forums.adobe.com/message/3979020#3979020]
To unsubscribe from this thread, please visit the message page at [
http://forums.adobe.com/message/3979020#3979020]. In the Actions box on
the right, click the Stop Email Notifications link.
Start a new discussion in Adobe Reader by email or at Adobe Forums
For more information about maintaining your forum email notifications
please go to http://forums.adobe.com/message/2936746#2936746. -
Hi,
Is there any standard method to get a file type from file name?
File name can be C:\test.doc or C:\test(test is file) i.e. with or without file type extension.
...NaddyYou can use the Function module PC_SPLIT_COMPLETE_FILENAME
export paramter extension will tell the type of file
Sample Output
Import COMPLETE_FILENAME C:\TEST.TXT
Import CHECK_DOS_FORMAT
Export DRIVE C
Export EXTENSION TXT
Export NAME TEST
Export NAME_WITH_EXT TEST.TXT
Export PATH \ -
Batch document title from file name?
Forgive the newb question on a fairly simple matter.
I want to create File Info: Document Titles from file names, minus the extension, for about 400 images.
Is this possible with Batch rename, if so what am I missing?
Thanks,I am unclear how a batch rename will enter data into File Info: Document Title.
I have never used them but you might look at metadata templates. Several sites on web on how to set them up and what they will do for you. -
Hello,
Is there any way to move all the file from one location to another and remove the datepart from filename.
for eg:- if file name is abc_20150411.xls change to abc.xls. if file name does not contain date part then ignore it.
Can any one suggest if its possible.
Thank YouHi ,
I have created package based on your question and decribed in detail in below post:-
https://msbitips.wordpress.com/2015/04/12/ssis-removing-datestamp-from-file-name-when-moving-from-one-location-to-other/
You need package code, just add comment in this thread.
Thanks
Prasad
Mark this as Answer if it helps you to proceed on further. -
Change search options to FILE NAME only
Is there a way to change the search options to always search for FILE NAME only?
I don't know who'd saech for contents every time, that would seem like a last resort if you couldn't find what you are originally looking for and forgot the file name. We have 10's of thousands of files and having the stupid contents pop up EACH time I want to do a search wastes so much time.
Help!The only way to bypass the crippled Spotlight search is to use a tailored savedSearch. This is what I use. The system files allows finding things in the stupidly hidden user's Library:
-
How can I list my iphoto library by file name only?
How can I list my iphoto library by file name only?
There are two apps that can do that for your.
1 - the better of the two is iPhoto Library Manager. You will have to manually select those Events in Library A that are not in Library B and copy them to B. Then do the same for B to A. This also copies both the original and edited versions, keywords, titles, descriptions, faces and places.
2 - the second app is SyncPhotos. This one is automatic and will copy the original images in A that are not in B into B and the same for B to A. This does not copy edited versions or any of the metadata, i.e. keywords, etc. -
Read image direct from file server
hello, need to help me somebody.
A like to create form , what read image direct from file server, without store in database.
Please help me.Hi you may go through the below post to find what could be a better way to do that.
http://forum.java.sun.com/thread.jspa?threadID=5163829
REGARDS,
RaHuL -
Cloud does not disappear from file name?
why does it take "forever" for the cloud to disappear from file name?
I saved a numbers document to the cloud a half an hour ago, and the cloud is still there.HDash-Tech,
thanks for the tip, but since I have my iTunes Library on a NAS I have to direct iTunes every now and than via "choose library" to the folder and it doesn't make a difference...
I think it's somehow due to my iTunes Match. I know they do not sync audiobooks, but they mess up pretty much everything else within my library. Songnames here and there and especially cd covers!
Any other idea how to get it straigten out again?
Thank,
Daniel -
B2B identifying TP from file name and not Interchange
We want B2B to identify trading partner from ISA/GS segment, but B2B is taking it from file name. We have property oracle.tip.adapter.b2b.edi.identifyFromTP set to "Interchange". As I understand based on the tip.property it should always take from the ISA/GS segment in dat file.
We also have Trading Partner Identification Type set to EDI Interchange ID while setting up trading partner and it is set to the same value as Interchange Receiver Id in the Document Protocol.
Anyone has any ideas?
ThanksHello Venkat,
ideally this should work. Guess you have not restarted b2b after changing the tip.properties. If you still have issues, please raise an SR and also send the b2b.log in DEBUG mode.
Rgds,Ramesh
Maybe you are looking for
-
When i take a photo or a video using the camera on my ipod touch, the computer (windows xp) shuts down and a blue screen comes up saying "an error has occured" and a heap of oth stuff in white. It doesn't wipe the memory or anything off the ipod. Whe
-
Apple DVD Player installers won't recognize Lacie d2 16x4x12x
Greetings : My eMac has a CDR internal drive only. I just upgraded to Panther (upgrade disks) and I'm running 10.3.9. I'm trying to get the Apple installers to recognize the Lacie d2 I just got, so that I can install the Apple DVD player (software up
-
Imac i7 unable to connect to router at 270mbs on DGN2000
Hello, I have a Netgear DGN2000 router and i decided to switch the speed settings from 130Mbs to 270Mbs, but after doing so my imac was unable to connect. I tested my windows based laptop and that was working fine. I switched back to 130Mbs and it co
-
2602 AP in Stand-Alone- Utilizing Both Bands
We typically use the 2602 series AP in lightweight mode, however I have a scenario where we are going to be installing one with the stand-alone software. I understand that we will not be able to utilze certain features that you get with the WLC such
-
ICloud Email Deliverability: special requirements
Dear Team! We are developing a web-application. It sends calendar invitations from server to email boxes. Does iCloud Email service has special requirements to email deliverability? For example, DKIM and SPF signatures and MS records? Bogdan