Script to cleanup the C drive
Hi,
I have SCOM 2007 R2 installed in our environment. I need to cleanup the C drive space through powershell script. I have already prepared a powershell script. When we manually run the script through powershell, it clears the space from temp directory
and other locations, which is futile. Now, my question is:
Can I schedule the script through SCOM so that every time the alert for C drive appears, the script could run automatically and clear the space in C drive?
Regards
Hi Gautam,
I am using PS1 file. I copied the PS1 file at the same location on couple of servers and executed the script through command line rule- scom 2007 r2.
I have one query. I have developed a powershell script to check the high memory consumption processes and created a diagnostic task for the alert "Available Megabytes of Memory is too low". Therein, during the creation of a diagnostic
task, the target was by default set to Windows Server 2008 R2 Operating System. I tried to create the task by providing the below details:
Post providing the parameters, I tried to create it, but it was throwing some error about the target, so I changed the target to Windows 2008 r2 core operating system. After the creation, the script is not yielding any results. However, when I created the
command line rule with some interval, it was running fine, but that will not suffice the requirement.
Any suggestions on that.
Kind Regards.
Similar Messages
-
I have a bunch of people who are saving their pst files all over the place. how do I write a script that does the following
searches the C:\ drive for *.pst and copies them all the E:\pstfilesHi,
How about using below command:
Move-Item c:\*.pst E:\pstfiles -force
For more details about move-item, I would like suggest you use get-help command:
get-help move-item
In addition:
Using the Move-Item Cmdlet
http://technet.microsoft.com/en-us/library/ee176910.aspx
Regards,
Yan Li
Yan Li
TechNet Community Support -
Script for getting all windows Drives freespace information
Hi All,
Any can post the batch script to get the disk drives freespace info for multiple servers.
Cheers,
GovindThis is not an Oracle Database question, so it really does not belong in this forum. You can query the WMI database in each server to find the information. Try the following search on Google:
hey scripting guy free disk spaceCharles Hooper
Co-author of "Expert Oracle Practices: Oracle Database Administration from the Oak Table"
http://hoopercharles.wordpress.com/
IT Manager/Oracle DBA
K&M Machine-Fabricating, Inc. -
What is the best way to cleanup my hard drive?
I have a 2013 Pro with the 256gig SSD. I have installed and uninstalled and moved files everywhere since I got the notebook. I am now starting to focus on my music production and was cleaning up my files and organizing folders for everything. However, I noticed there are just tons of random files everywhere in the "All Files" section in finder. They range from .txt files to other things with random names. Im not too keen on re-storing the entire computer to factory state, so I was wondering what the best way is to just cleanup and organize the entire hard drive if that is at all possible?
Freeing Up Space on The Hard Drive
1. See Lion/Mountain Lion/Mavericks' Storage Display.
2. You can remove data from your Home folder except for the /Home/Library/ folder.
3. Visit The XLab FAQs and read the FAQ on freeing up space on your hard drive.
4. Also see Freeing space on your Mac OS X startup disk.
5. See Where did my Disk Space go?.
6. See The Storage Display.
You must Empty the Trash in order to recover the space they occupied on the hard drive.
You should consider replacing the drive with a larger one. Check out OWC for drives, tutorials, and toolkits.
Try using OmniDiskSweeper 1.8 or GrandPerspective to search your drive for large files and where they are located. -
DB2 and WebSphere: having trouble running the JDBC driver script
I'm investigating WebSphere Studio Application Developer (WSAD) and want to go through one of their tutorials. They require DB2 7.1, so I installed that. There is a script in the DB2 7.1 distribution that enables the JDBC driver within WSAD. Howver, the script won't run because it says I don't have the correct permissions.
I'm running all this on Win2K, and my userid has administrator privileges, and I installed both WSAD and DB2 under that userid.
So, has anybody got WSAD and DB2 to work together? If so, how?
Thanks much in advance.
Jane Sokolow
S1Studio tech writerYou are suppose to run one of these two batch files:
C:\Program Files\SQLLIB\java12\usejdbc1.bat
C:\Program Files\SQLLIB\java12\usejdbc2.bat
I assume that you need the second one. If you take a look inside of this batch file you'll that it is only simple copy/remove files. You should be able to do those operations with your userid. Perhaps, it is a good ideea to stop either DB2 and WSAD before running this batch file (is trying to remove two files one .dll and another .exe which could be in use ...). -
I moved all my music from c: drive(because it was full) to an external harddrive and now itunes can't find any of my music. Is there a way to get Itunes to find music on external drive without having to place all the music back onto the c: drive? Thanks
Hopefully you moved the entire iTunes Media (or iTunes Music) folder to a new path on your external drive. Copy your iTunes library folder out to the root of the external drive, e.g. X:\iTunes (where X: is your external drive), then move the media folder inside it. Hold down shift as you start iTUnes and keep holding untila asked to choose or create a library. Choose the library at X:\iTunes\iTunes Library.itl. Should all be good.
Failing that, download and run my FindTracks script and point it at the new location of your media folder.
tt2 -
Trying to Install RMS application 13.2.2 and I get past the pre-installation checks and when I get to the Data Source details and enter the data source details with the check box checked to validate the schema/Test Data Source I get the following error:
Error Connecting to database URL jdbc:oracle:oci:@rmsdbtst as user rms13 java.lang.Exception:UnsatisfiedLinkError encountered when using the Oracle driver. Please check that the library path is set up properly or switch to the JDBC thin client oracle/jdbc/driver/T2CConnection.getLibraryVersioNumber()
Checks performed:
RMS Application code location and directory contents:
[oracle@test-rms-app application]$ pwd
/binary_files/STAGING_DIR/rms/application
[oracle@test-rms-app application]$ ls -ltr
total 144
-rw-r--r-- 1 oracle oinstall 272 Dec 7 2010 version.properties
-rw-r--r-- 1 oracle oinstall 405 Jan 16 2011 expected-object-counts.properties
-rw-r--r-- 1 oracle oinstall 892 May 13 2011 ant.install.properties.sample
-rw-r--r-- 1 oracle oinstall 64004 Jun 6 2011 build.xml
drwxr-xr-x 9 oracle oinstall 4096 Jun 16 2011 rms13
drwxr-xr-x 3 oracle oinstall 4096 Jun 16 2011 installer-resources
drwxr-xr-x 3 oracle oinstall 4096 Jun 16 2011 antinstall
drwxr-xr-x 2 oracle oinstall 4096 Jun 16 2011 ant-ext
drwxr-xr-x 5 oracle oinstall 4096 Jun 16 2011 ant
-rw-r--r-- 1 oracle oinstall 11324 Dec 18 09:18 antinstall-config.xml.ORIG
-rwxr-xr-x 1 oracle oinstall 4249 Dec 18 10:01 install.sh
drwxr-xr-x 4 oracle oinstall 4096 Dec 18 10:06 common
-rw-r--r-- 1 oracle oinstall 16244 Dec 19 10:37 antinstall-config.xml
-rw-r--r-- 1 oracle oinstall 689 Dec 19 10:37 ant.install.log
[oracle@test-rms-app application]$
Application installation:
[oracle@test-rms-app application]$ ./install.sh
THIS IS the driver directory
Verified $ORACLE_SID.
Verified SQL*Plus exists.
Verified write permissions.
Verified formsweb.cfg read permissions.
Verified Registry.dat read permissions.
Verified Java version 1.4.2.x or greater. Java version - 1.6.0
Verified Tk2Motif.rgb settings.
Verified frmcmp_batch.sh status.
WARNING: Oracle Enterprise Linux not detected. Some components may not install properly.
Verified $DISPLAY - 172.16.129.82:0.0.
This installer will ask for your "My Oracle Support" credentials.
Preparing installer. This may take a few moments.
Your internet connection type is: NONE
Integrating My Oracle Support into the product installer workflow...
[move] Moving 1 file to /binary_files/STAGING_DIR/rms/application
Installer preparation complete.
MW_HOME=/u01/app/oracle/Middleware/NewMiddleware1034
ORACLE_HOME=/u01/app/oracle/Middleware/NewMiddleware1034/as_1
ORACLE_INSTANCE=/u01/app/oracle/Middleware/NewMiddleware1034/asinst_1
DOMAIN_HOME=/u01/app/oracle/Middleware/NewMiddleware1034/user_projects/domains/rmsClassDomain
WLS_INSTANCE=WLS_FORMS
ORACLE_SID=rmsdbtst
JAVA_HOME=/u01/app/oracle/jrockit-jdk1.6.0_45-R28.2.7-4.1.0
Launching installer...
To make sure I have connectivity from the app server to the database (on a database server) here are the steps followed:
[oracle@test-rms-app application]$ tnsping rmsdbtst
TNS Ping Utility for Linux: Version 11.1.0.7.0 - Production on 19-DEC-2013 10:41:40
Copyright (c) 1997, 2008, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = test-rms-db.vonmaur.vmc)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SID = rmsdbtst)))
OK (0 msec)
[oracle@test-rms-app application]$
[oracle@test-rms-app application]$ sqlplus rms13@rmsdbtst
SQL*Plus: Release 11.1.0.7.0 - Production on Thu Dec 19 10:46:18 2013
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@test-rms-app application]$
[oracle@test-rms-app application]$ ping test-rms-db
PING test-rms-db.vonmaur.vmc (192.168.1.140) 56(84) bytes of data.
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=1 ttl=64 time=0.599 ms
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=2 ttl=64 time=0.168 ms
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=3 ttl=64 time=0.132 ms
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=4 ttl=64 time=0.158 ms
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=5 ttl=64 time=0.135 ms
--- test-rms-db.vonmaur.vmc ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4001ms
rtt min/avg/max/mdev = 0.132/0.238/0.599/0.181 ms
[oracle@test-rms-app application]$
[oracle@test-rms-app application]$ uname -a
Linux test-rms-app.vonmaur.vmc 2.6.18-128.el5 #1 SMP Wed Jan 21 08:45:05 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
[oracle@test-rms-app application]$
[oracle@test-rms-app application]$ cat /etc/*-release
Enterprise Linux Enterprise Linux Server release 5.3 (Carthage)
Red Hat Enterprise Linux Server release 5.3 (Tikanga)
[oracle@test-rms-app application]$
The database is created and all the batch file scripts have been successfully deployed. Now working on the application server. The Weblogic server is installed and 11g forms and reports are installed successfully.
Any help would be helpful.
Thanks,
Ram.Please check MOS Notes:
FAQ: RWMS 13.2 Installation and Configuration (Doc ID 1307639.1) -
Long story short, I attempted to use an external drive to house my iTunes library to relieve some storage space on my MBP hard drive. The external drive was formatted as FAT32 and it got hung up on an HD movie in excess of 4GB in size. I had to reformat the external drive as MacOS Extended (Journaled) to solve that problem....but then the bigger issue showed up....
While reformatting the external drive I switched iTunes back to the original library location on my local hard drive. Unfortunately, iTunes doesn't recognize all of my content that did manage to get copied to my external drive in the first attempt to transfer content to that external drive. Nearly 2200 files have exclamation points next to them. Here is my question: Can I get iTunes to re-locate all of my content at once in the original iTunes files on my local drive without having to "locate" each of the 2200 files one at a time??
HELP!try if this script works for you:
iTunes Track CPR v1.3
This script attempts to locate the files of so-called "dead tracks"--iTunes tracks designated with (!)--that you assume are not actually missing but are still located in the iTunes Music folder in their "iTunes File Order" (Music -> Artist -> Album -> file.xxx)." -
I also have an 80 gig hard drive, so I installed itunes on that,
I think and I think I have itunes pointed to have its library on the as well.
If I had to reinstall itunes because I did it all wrong,would the music I have bought from itunes be retrievable?
What would be the right way to make the itunes install, and all it constituents(i.e.media library) go on the 80gig D drive instead of the C drive?To get a better idea of what is being stored where download and run the script iTunesInfo which should output something like this:
I'm interested in the block of 4 results starting ITL location. If your profile name shows up somewhere replace it with <Name>. It is also worth checking under Edit > Preferences > Advanced to see where iTunes thinks your media is supposed to go. My script estimates the setting based on the location of the first media file it can actually find.
tt2 -
I've copied my itunes library onto an external hard drive. Is there any way I can do this and delete songs from my PC without also deleting from the external drive? Already lost two songs!!! I just want a back up - using a work PC and don't want others accessing my songs. Hope someone can help. Thanks!
I see. To get a better idea of what is being stored where please download and run the script iTunesInfo which should output something like this:
I'm interested in the block of 4 results starting ITL location. If your profile name shows up somewhere replace it with <Name>. It is also worth checking under Edit > Preferences > Advanced to see where iTunes thinks your media is supposed to go. My script estimates the setting based on the location of the first media file it can actually find.
tt2 -
I just installed a new hard drive and transfered my i-tunes library to the new drive. How can I make a bulk change of the location the program looks for the current songs. I know you can do it song by song from the "get info" tab but I need to do it for all 4500 songs. I have already changed the location that new files are stored to the new hard drive.
The pop-up lets you connect to the library file, iTunes Library.itl, on the external drive. This will, in turn, automatically update the preference for the iTunes Media folder to be the iTunes Media or iTunes Music folder inside the iTunes folder on the external drive and it will update the locations of all the content inside the media folder so that it uses the version on the external drive.
This works seamlessly if all iTunes content was inside the iTunes Media (or iTunes Music) folder (which was itself inside the iTunes library folder) before you moved/copied the iTunes folder. For content outside the iTunes Media folder iTunes should remain connected to the original location. These files should be consolidated (before or after the move/copy) and in addition, if available the library should be upgraded to the newer layout which places iPod Games and Mobile Applications inside the media folder instead of the library folder. (File > Library > Organize Library...)
For split libraries there are methods to rejoin them before moving (preferred) or repairing after the fact (e.g. my script) which I can go into if needed.
tt2 -
Renaming the C:\ drive in server 2008 R2
I have problem which I don't believe there is a resolution, but I'll ask anyway
Here is the backstory, we have a citrix environment where a certain application needs to write a file to the users' C:\ drive in order to work. In our old presentation server 4.5 farm this was no problem. When we would build the server we would rename the
C:\ drive to the N:\ drive on the server 2003 servers (using drive remap utility). When the users' session was started there would only be one C:\ visible to the app so it would correctly write to the users' C:\ drive. Now we are moving to xenapp 6.5 which
runs on server 2008 R2, and from what I have found online renaming the C:\ drive to a different drive letter (using Drive Remap64 utility) is not recommended/supported. So the app will not launch as it tries to write to the C:\ drive of the server and
is denied. So my question is now, after the server has been built is there any way to rename the C:\ drive to another drive letter? or any way to open up permissions on the root of C;\ so that the "everyone" group has modify access?have you tried diskpart?
check out links below:
http://technet.microsoft.com/en-us/library/cc757491(v=ws.10).aspx
http://www.tech-recipes.com/rx/9910/how-to-automate-windows-diskpart-commands-in-a-script/
Every second counts..make use of it. Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
IT Stuff Quick Bytes -
C drive running out of space resolve this without formatting the C: drive.
Hi every one,
i am having window xp pro sp3 running machine with 2GB of RAM, 150GB Hdd, C drive 30GB, D drive 60GB, E drive 60GB. After installing all the application its show the remaining space as 14GB but day after day the space reduced now the space is only 238MB. i Checked the properties of the C drive by selecting all the folder and it show 17.3GB. i dont know what happen to the another 15GB.i cant find which is eating the C drive space. i cant defragment the C drive because to defragment i need 15% of disk space. my doubt is it may be of antivirus (i am using norton internet security). i installed .net2008, sql2008, office,Hpprinter softwares.how can i resolve this without formatting the C: drive. Any assistance is appreciatedThis is a little list I have also put together for our 2003 servers, should work fine for XP.
O C:\WINDOWS\SoftwareDistribution\Download Not confirmed, but suspect is ok. (i have done this)
O C:\Windows\Ie7updates Not confirmed, but suspect is ok. (i have done this)
O $Ntxxxxxxx$ files can be removed from the c:\windows directory NOT $hf_mig$
O Attempt to move the page file
O Run the disk clean up utility, and compress old files, and empty the recycle bins
O The temp directories in the user profiles can be cleaned out, also check the desktops for downloaded apps for their setup file
These should be safe to remove, but probably a good idea to leave them alone as the updates may need them, be careful here.
C:\WINDOWS\Downloaded Installations
O Ok to delete log files for Symantec
C:\Documents and Settings\All Users\Application Data\Symantec\Symantec AntiVirus Corporate Edition\7.5\Logs
Configure History in SSC, right click server>all tasks>Antivirus>Configure history
C:\Program Files\Common Files\Symantec Shared\Reporting Agents\Win32\ReporterSvc.log
O Quarantine files can be removed from Symantec, usually here;
C:\Documents and Settings\All Users\Application Data\Symantec\Symantec AntiVirus Corporate Edition\7.5\Quarantine
O Ok to delete zip files from Symantec, and actually all files in here
C:\Documents and Settings\All Users\Application Data\Symantec\LiveUpdate\Downloads
O IIS web logs ok to remove C:\WINDOWS\system32\LogFiles\W3SVC1
There is no option to do this automatically, this must be scripted
O Log ok to remove C:\WINDOWS\system32\wbem\Logs\FrameWork.log
There is no option to do this automatically, this must be scripted
{} If no drivers will be needed again, c:\windows\inf holds all the drivers for new hardware. This has not been tested
{} c:\windows\downloaded installations\ This folder holds the installers for some programs you download and install, for example, Tweak UI puts its installer in this folder, and so you can repair it or update its components later. Deleting this folder won’t harm any programs I have ever seen, but you should look inside this and see what you are deleting first.
{} c:\windows\media\ These are the default windows sounds, if you don’t want them, deleting them wont hurt anything.
X C:\windows\installer can NOT be removed, although duplicate files ca be removed. this is used for uninstalls and installs of new apps
X C:\windows\assembly can NOT be removed, this is a .NET folder, do not play with or compress
X $hf_mig$ can NOT be removed, although it can be compressed. this directory tells future updates what has already been doneblankmonkey -
How to Hyperlink an image on the hard drive
We are converting to iMac from Windows and keep our photography business data in excel spreadsheets. Each image name links to an image on the PC hard drive. On the iMac in Numbers, I can link text in a cell to a webpage or an email but if I use the path to the location on the hard drive, it doesn't work. What I would like is to pop the image in Safari when I click the hyperlink in the Numbers cell. Example:
The iMac name is butterfly, the user is reniepoole and the path to the image is Documents/image.jpg. If I put file://butterfly/users/reniepoole/Documents/image.jpg into the address bar in Safari, it will render the image OK. If I use the same address as the URL when I try to insert the image as a hyperlink in a Numbers cell, it doesn't work. Does anyone know how to render the image in Safari from a link in Numbers?Here is a script doing the trick.
--[SCRIPT openFileFromNumbers]
Enregistrer le script en tant que Script : openFileFromNumbers.scpt
déplacer le fichier ainsi créé dans le dossier
<VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Numbers:
Sélectionner une cellule contenant un chemin d'accès à un fichier.
menu Scripts > Numbers > openFileFromNumbers
Le script ouvrira le fichier.
--=====
L'aide du Finder explique:
L'Utilitaire AppleScript permet d'activer le Menu des scripts :
Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
(* à vérifier avec Snow Leopard *)
Cochez la case "Afficher le menu des scripts dans la barre de menus".
--=====
Save the script as Script : openFileFromNumbers.scpt
Move the newly created file into the folder:
<startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
Select a cell containing a link to a file.
menu Scripts > Numbers > openFileFromNumbers
The script will open the file.
--=====
The Finder's Help explains:
To make the Script menu appear:
Open the AppleScript utility located in Applications/AppleScript.
Select the "Show Script Menu in menu bar" checkbox.
--=====
Yvan KOENIG (VALLAURIS, France)
2009/12/28
--=====
property useSafari : true
true = use Unix paths and open thru Safari
example : file://Macintosh HD/Users/yvan_koenig/Documents/95.jpg
false = use HFS paths and open thru Finder
example : Macintosh HD:Users:yvan_koenig:Documents:95.jpg
on run
set {dName, sName, tName, rname, rowNum1, colNum1, rowNum2, colNum2} to my getSelParams()
tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
set thePath to value of cell rowNum1 of column colNum1
end tell
if useSafari then
tell application "Safari" to open location thePath
else
tell application "Finder" to open file thePath
end if
end run
--=====
on getSelParams()
local r_Name, t_Name, s_Name, d_Name, col_Num1, row_Num1, col_Num2, row_Num2
set {d_Name, s_Name, t_Name, r_Name} to my getSelection()
if r_Name is missing value then
if my parleAnglais() then
error "No selected cells"
else
error "Il n'y a pas de cellule sélectionnée !"
end if
end if
set two_Names to my decoupe(r_Name, ":")
set {row_Num1, col_Num1} to my decipher(item 1 of two_Names, d_Name, s_Name, t_Name)
if item 2 of two_Names = item 1 of two_Names then
set {row_Num2, col_Num2} to {row_Num1, col_Num1}
else
set {row_Num2, col_Num2} to my decipher(item 2 of two_Names, d_Name, s_Name, t_Name)
end if
return {d_Name, s_Name, t_Name, r_Name, row_Num1, col_Num1, row_Num2, col_Num2}
end getSelParams
--=====
set {rowNumber, columnNumber} to my decipher(cellRef,docName,sheetName,tableName)
apply to named row or named column !
on decipher(n, d, s, t)
tell application "Numbers" to tell document d to tell sheet s to tell table t to return {address of row of cell n, address of column of cell n}
end decipher
--=====
set { d_Name, s_Name, t_Name, r_Name} to my getSelection()
on getSelection()
local _, theRange, theTable, theSheet, theDoc, errMsg, errNum
tell application "Numbers" to tell document 1
repeat with i from 1 to the count of sheets
tell sheet i
set x to the count of tables
if x > 0 then
repeat with y from 1 to x
try
(selection range of table y) as text
on error errMsg number errNum
set {_, theRange, _, theTable, _, theSheet, _, theDoc} to my decoupe(errMsg, quote)
return {theDoc, theSheet, theTable, theRange}
end try
end repeat -- y
end if -- x>0
end tell -- sheet
end repeat -- i
end tell -- document
return {missing value, missing value, missing value, missing value}
end getSelection
--=====
on decoupe(t, d)
local l
set AppleScript's text item delimiters to d
set l to text items of t
set AppleScript's text item delimiters to ""
return l
end decoupe
--=====
on parleAnglais()
local z
try
tell application "Numbers" to set z to localized string "Cancel"
on error
set z to "Cancel"
end try
return (z is not "Annuler")
end parleAnglais
--=====
--[/SCRIPT]
Yvan KOENIG (VALLAURIS, France) lundi 28 décembre 2009 18:38:42 -
Can I extend the scripting support through the SDK?
I need to create an automated process of saving different layers from documents as different file formats. Unfortunately there is no scripting support for exporting to EMF-format, which I need to do. I glanced on the possibility of calling a self-defined action from my script, but I need to automatically set the output folder and name of the exported files which apparently isn't possible.
In my frustration I've started to think about a more "advanced" solution, which is: Can I somehow extend Illustrator's scripting support, to be able to export files as EMF? I can't even find how to export files to EMF in the SDK documentation, so I feel a bit lost.
Has someone done something like this? Or even more desirable, does someone have a better solution to this?
Thanks!
JohannesDear Johannes,
If I had no experience with the SDK, and I only needed a solution as described, I would certainly prefer a scripting solution.
In that case, I would recommend saving the file to a fixed path and file name with an action or script.
Then a script could move/rename the file to where you would like it saved. As long as it was being moved to the same drive, the difference in performance would be imperceptible.
You didn't mention what scripting environment you are using, however, this would be trivial with AppleScript and most likely any scripting language you might be using. If you are using AppleScript, I could provide a one line example on how to move files...
Hope this helps.
Best.
Maybe you are looking for
-
I am using an old ibook G4 ppc with mac os x 10.4.11. A day before by default I delete one file and I think it was the startup file of os because after that when I restarted my notebook it's not running the OS only that blue screen is there. This not
-
Firefox aborts its http request silently within 60 seconds
duplicate of [/questions/1047223] *Summary Firefox aborts its http request within almost 60 seconds(period till timeout varies) and tells nothing to users. This happened with both of Nginx and Apache. *Environment Client browser: Firefox 35.0.1 Clien
-
Hello, I own a curve 8310. I recently upgraded my blackberry software from v4.2 to v4.5 Since then there have been a couple things that have not been working for me one being that I can't open any file attachments in email. For example a picture like
-
PowerPoint to Keynote Conversion
Keynote seems to convert PowerPoint slides with the .ppt and .pptx suffixes, but not the macro-enabled .pptm suffix. Is there a work around?
-
Want to insert a record using the updatable view object..
Hi, i am trying to create a new record in my first page using the updatable entity..I set the form in creat mode by default so that it will show empty fields for the first time.It works but want to know the following details.. 1.Want to set default v