Moving a file without using Cmd+Drag option
Is there any third party software or command such as Cmd+X to move folders on a finder window other than Cmd+Drag. I find Cmd+Drag annoying and very difficult to use in OSX as you have to keep pressed the mouse button till u have reached to the destination folder. what happens if u mistakenly release the mouse somewhere else..
I still don't understand what harm such a command could do. OSX protagonists tell that this is called cutting a file and is dangerous to the filesystem but I say I am not cutting any file/folder here.. file still stays at the same place till I have pressed something like Cmd+V which is what Cmd+Drag does...at least gives my finger a rest and time to think... Anyone else agrees with me?
Besides if unix command "mv" allows it then why not graphic UI.
ziaulhasan,
You can also use your Mac's Automator program to move Finder items from one place to another.
Open Automator. Highlight "Finder" inside the Library frame to reveal all of the Finder's Actions. Drag the following two Finder Actions to the right-hand side Workflow pane, in this order:
1) *Get Selected Finder Items*
2) *Move Finder Items* -- under Options check "Show Action When Run" so that a dialog appears, allowing you to choose a destination folder. Otherwise the action would run without user interaction, resulting in the item being moved to whatever your default location may be. Select the "Show Selected Items" radio button, and check the "To" box. Consider carefully whether to check "Replacing existing files." If this box is checked and you were to move a folder from one location to another containing an existing folder of the same name, you would overwrite the files in the folder not being moved. To keep this from happening, leave "Replacing existing files" unchecked.
From the File menu select "Save As Plug-in..." Give your plug-in a name ("Move Item" e.g.) and save it as a Plug-in for: Finder. Thereafter, you'll find the newly named action on your Finder's contextual menu, in a submenu under Automator. Your new action is now ready to be put to use when you Control-click on a file or folder in the Finder.
Note: Be careful when working inside a Finder window in Column view that you have selected the +item itself+, and not merely Control-clicked on the item while its +enclosing folder+ is highlighted. Otherwise you might find that, for example, you've moved your entire User Library folder into your Utilities folder, leaving you to wonder later how that could have happened...
Good luck!
Regards, Andrew99
Similar Messages
-
How to add Digital signature in existing file without using save as option?
Hi,
I am using Adobe acrobat x pro for editing pdf documents from sharepoint, it's working fine but when i am trying add digital signature it shows me save as diloug box which i don't need because I want to edit that file directly on server location.
plz help me to resolve this problem!!
thanks
AmjadWhen a signature is applied in Acrobat/Reader, it forces a Save As. Otherwise it can't work.
-
Saving a Text data to a PDF file without using print option
Hi,
I want to save a Text to a PDF file. I want to assign the path of the PDF file as a default one.
If I use Print options, then it ask for the file path at the run time.
Is there any method to save to a PDF file without using print option in Labview 8.2.
Regards,
RajaThis question comes up a lot. Did you try searching? It depends on the PDF printer driver that you're using. See here, here, here, ...
-
Export table data in a flat file without using FL
Hi,
I am looking for options where I can export table data into a flat file without using FL(File Layout) i.e., by using App Engine only.
Please share your experience if you did anything as this
ThanksA simple way to export any record (table/view) to an csv fiel, is to create a rowset and loop through all record fields, like below example code
Local Rowset &RS;
Local Record &Rec;
Local File &MYFILE;
Local string &FileName, &strRecName, &Line, &Seperator, &Value;
Local number &numRow, &numField;
&FileName = "c:\temp\test.csv";
&strRecName = "PSOPRDEFN";
&Seperator = ";";
&RS = CreateRowset(@("Record." | &strRecName));
&RS.Fill();
&MYFILE = GetFile(&FileName, "W", %FilePath_Absolute);
If &MYFILE.IsOpen Then
For &numRow = 1 To &RS.ActiveRowCount
&Rec = &RS(&numRow).GetRecord(@("RECORD." | &strRecName));
For &numField = 1 To &Rec.FieldCount
&Value = String(&Rec.GetField(&numField).Value);
If &numField = 1 Then
&Line = &Value;
Else
&Line = &Line | &Seperator | &Value;
End-If;
End-For;
&MYFILE.WriteLine(&Line);
End-For;
End-If;
&MYFILE.Close(); You can of course create an application class for generic calling this piece of code.
Hope it helps.
Note:
Do not come complaining to me on performance issues ;) -
Upload file without using file upload UI Element
Hi all.
I need upload a .txt file without using file upload UI Element because filename is not insert by user. The filename is generated by program. I try to use 'GUI_UPLOAD' and 'WS_UPLOAD' but don't work.
Many thanks in advance.As you correctly pointed out we cannot use the gui_upload and gui_download fm's in webdynpro because they require sap gui and WD Components generally run in a HTML or Portal environment.
The only option available is File Upload Element -
Embed flash file without using IFrame UI
Hi all,
Can any one tell me how i can embed flash file without using IFrame UI ?Hi
To run a flash file you will definetely need a platform for which you need a shockwave player or a simple browser window. From webdynpro, the purpose of making it run through a IFrame is at runtime, the frame acts as a window for the flash file to run. Hence its the direct option of running it. Otherwise, you need to use a external window to invoke it seperetely in a browser window to run the file.
If you have any specific issues, do let us know, or else its the best option @!
thanks
sathya -
Embed html file without using IFrame UI
Is there any way to embed html file without using IFrame UI?
Hi
To embed a static HTML content inside your view, Iframe is the easiest form or else, you can provide links through Linktourl UI or through a static text or a button, invoke a action and display the HTML content inside the frame or call it in a seperate (external) window.
Otherwise, we have only less options!
if you have anything specific, do let us know
thanks
sathya -
How to transfer photo's from LR to Blurb without using the Book option in LR?
Without using the Book option in LR can one transfer photo's to Blurb?
There is no way like with Aperture where you can drag your photo from Aperture to Blurb?
-
Executing bat file without using Runtime.exec()??
Hi all
From my java App ,I am running a bat file. This is what I did:
When I press 'execute' button inside my App, it runs a bat file through Runtime.exec() method. Since exec() runs it through cmd.exe, get a DOS window when I press Execute button. If I manually runs my app from command promt , I dont get it. But I have to create a short cut of my main class in the desktop. This is happening when I run my app from desktop icon.
Now I want to eleminate DOS popup everytime I press execute button. Would anyone pls give an idea how to run bat file without using Runtime.exec()? Any suggestion will be helpful.
Thanksjscell
Thanks for taking time to answer to my problem .
Here is what my problem: I create a shortcut of my main class in the desktop. Through this shortcut ,I run my java App. My App has a execute button, When I press this button , It run another bat file through Runtime.exec() method, and show some result in the result PAnel. NOw what happen , I get a DOS command window , everytime I press execute button. , Which is very annoying . But If I run my App thorugh command promt by executing: "java myApp", then I dont get this DOS popup. But I have to create a shortcut in the desktop, so other can use it conveniently.
NOw I am not sure why I am getting this DOS window in the middle of my Application. IS it for using Runtime.exec() method? or for running bat file through my application? Can anyone pls tell me? I am kind of new to java, and I am learning lot of stuff from this forum .
Would u pls suggest me about how to eleminate this DOS popup when I press execute button.
Regrds -
How to open a text file without using dialog box
I can open a file using dialog box but I want to open a file without using any dialog box for writing.
With the following commands a new file is created.
File outputFile = new File("outagain.txt");
FileWriter out = new FileWriter(outputFile);
I want to open an existing file and put some more text in it using FileWriter or any other object
rgds,
Arsalanimport java.io.*;
class UReader
BufferedReader in;
BufferedReader input;
String fileName;
public UReader(String fileName)
this.fileName = null;
this.fileName = fileName;
try
in = new BufferedReader(new FileReader(fileName));
input = new BufferedReader(new FileReader("A.b"));
catch(IOException _ex) { }
public final String getContent()
String txt = "";
try
while(in.ready())
txt = txt + in.readLine();
txt = txt + "\n";
in.close();
txt.trim();
catch(IOException _ex) { }
return txt;
public final String getLine(int row)
try
input = new BufferedReader(new FileReader(fileName));
catch(IOException _ex) { }
String txt = null;
if(row <= getRows()) {
try
for(int i = 0; i < row; i++)
txt = input.readLine();
input.close();
catch(IOException _ex) { }
} else {
txt = "Index out of Bounds";
return txt;
public final int getRows()
try
input = new BufferedReader(new FileReader(fileName));
catch(IOException _ex) { }
String txt = null;
int rows = 0;
try
while(input.ready())
txt = input.readLine();
rows++;
input.close();
catch(IOException _ex) { }
return rows;
import java.io.*;
import java.util.*;
class UWriter
PrintWriter out;
String fileName;
String[] txt;
static int NEW_LINE = 1;
static int APPEND = 0;
public UWriter(String s)
fileName = null;
txt = null;
fileName = s;
try
out = new PrintWriter(new BufferedWriter(new FileWriter(s, true)));
catch(IOException ioexception) { }
public final void addContent(String s, int i)
int l = 0;
StringBuffer sb = new StringBuffer(s);
s.replaceAll("\n\n", "\n###\n");
StringTokenizer str = new StringTokenizer(s, "\n");
String token = null;
while (str.hasMoreTokens()) {
++l;
token = str.nextToken();
str = new StringTokenizer(s, "\n");
txt = new String[l];
int k = 0;
String test;
while (str.hasMoreTokens()) {
test = str.nextToken();
if (test.equals("###")) test = "";
txt[k++] = test;
if(i == 0) {
try
for (int j = 0; j < txt.length; ++j) {
out.println(txt[j]);
out.close();
catch(Exception ioexception) { }
} else {
try
out.println();
for (int j = 0; j < txt.length; ++j) {
out.println(txt[j]);
out.close();
catch(Exception ioexception1) { }
public final void writeContent(String s)
int l = 0;
s.replaceAll("\n\n", "###");
StringTokenizer str = new StringTokenizer(s, "\n");
String token = null;
while (str.hasMoreTokens()) {
++l;
token = str.nextToken();
str = new StringTokenizer(s, "\n");
txt = new String[l];
int k = 0;
String test;
while (str.hasMoreTokens()) {
test = str.nextToken();
if (test.equals("###")) test = "";
txt[k++] = test;
try
PrintWriter bufferedwriter = new PrintWriter(new BufferedWriter(new FileWriter(fileName, false)));
for (int j = 0; j < txt.length; ++j) {
bufferedwriter.println(txt[j]);
bufferedwriter.close();
catch(IOException ioexception) { }
}Maybe they are not the best codes, i wrote them a long time ago, so dont ask why i did anything wierd. :D
But anyway it works. -
Regarding reading the data from the files without using Stremas
hai to all of u...
here i have a problem where i have to read the data from the files without using any streams.
please guide me how to do this one,if possible by giving with an example
Thanks & Regard
M.RamakrishnaSimply put, you can't.
By why do you need to? -
Urgent : How to upload a tif file without using upload element
could someone please tell me how to upload a tif file(any file) without using upload element. Function Module GUI_UPLOAD does not work. Please suggest. Appreciate your suggestions.
Hello Suri,
there's currently no way to achieve this.
Best regards,
Thomas -
I am wondering if there is a way to validate XML file without using the <!DOCTYPE... but pass in the location of the schema/DTD file as a parameter to a validating method?
thanksNone that I know of. The only thing close is to use the EntityResolver interface where you can modify the location of the DTD file before it's being loaded and parsed, but that requires a <!DOCTYPE ...> in the XML file.
Good luck. -
Is it possible to create .ncd file without using MAX?
Is it possible to create .ncd file without using MAX? I am trying to read the data given by hundreds of possible Arb. IDs on one of the CAN port without having to create it from the MAX.
Thank youHi,
the NI-CAN driver software does not provide functions/VIs to generate
*.ncd files. However the *.ncd file format is just plain XML (ASCII text). Take a
look at the example.ncd file that gets installed with NI-CAN
(<ProgramFiles>\National Instruments\NI-CAN\):
<?xml version="1.0" encoding="UTF-8"?>
<nican_config version="0.1">
<saved>8/8/2005,17:58</saved>
<message name="TransmissionFluids">
<id extended="0">82</id>
<dbc>C:\Program Files\National Instruments\NI-CAN\example.ncd</dbc>
<conflicts>0</conflicts>
<bytes>6</bytes>
<interface>1</interface>
<comment></comment>
<channel name="ClutchPressure">
<conflicts>0</conflicts>
<bitfield start="0" bits="8" order="0" type="1"/>
<linear_scaling factor="1.600000e+001"
offset="0.000000e+000" max="4.000000e+003" min="0.000000e+000"
default="0.000000e+000" unit="kPa"/>
<comment></comment>
</channel>
</message>
</nican_config>
Thus, you could generate *.ncd files with simple file I/O. Having XML-specific file I/O functions simplifies this task.
-B2k -
Can I access time capsule file without using imac
can I access time capsule file without using imac
From a time machine backup? No. If you mean just a regular file stored on there? Not directly. There are a couple of apps out there where you can indirectly get to a file but it's a pain. If you have need of accessing a file both from the mac and the iPad then I suggest DropBox. You get 2GB free and it's a good way to share information between machines and devices.
Maybe you are looking for
-
Convertion pdf file from App. server to Pre.server
Hi, I have file pdf file in application server. i want to convert this PDF file into presention server. plese send simple progrme. Thank& Regards, Madhu
-
Blog not displaying in Chrome...looks like prototype.js issue
I have an iWeb page with a blog, and the blog does not display in Chrome. If you look at the javascript console, there is an error: Uncaught TypeError: Object [object HTMLDivElement] has no method 'selectFirst' adjustLineHeightIfTooBigiWebSite.js:604
-
Hi, Plz help me find my stolen black iPhone5, I just bought it unlocked with 1200$ to be worked in Egypt and it was stollen from my luggage at JFK Airport in NYC. It was brand new and the box is sealed. It's serial no# is 013330002557961. Plz help me
-
' s:RemoteObject ' is not allowed to follow ' fx:Declarations '
Hi, I am new to Flex. I have the following hello.mxml <?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx"> <fx:Decl
-
5.1 Preferences/Cookies and Private Browsing gone haywire - BACKWARDS
There is something gone wrong, all haywire with the new version of Safari at 5.1. The Cookies settings in the Prefs has "Block" settings, and I have it set at "ALWAYS" and yet it allows for me to sign in to any webpage with my name and password, whe