Would like default open action to be "download a copy"
hi all,
i have a document library that i want to contain official copies of documents. when you left-click the document title, it asks to open read only or check out. i dont want either option, i want that behavior to be like the "download a copy"
button on the ribbon bar.....iow, i want it to force the end user to "save as..." a local copy.
is this possible? i noticed the button to download is a javascript, so i should be able to replace the HREF link with this javascript commmand?
thanks!!!!
~george
Hi Ge0rg3,
Please try the following code:
<script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.4.1.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
$("[class=ms-vb itx]").each(function (i, obj) {
obj.innerHTML = "<div onclick='rebindOnclick();'>" + removeHtmlTags(obj.innerHTML) + "</div>";
var rebindOnclick = function () {
setTimeout(function () { document.getElementById("Ribbon.Documents.Copies.Download-Large").click(); }, 500)
var removeHtmlTags = function (s) {
return s.replace(/<[^>].*?>/g, "");
</script>
Thanks,
Lhan Han
Similar Messages
-
I would like to know if anyone, after downloading Lion OS, lost their Quicken 2007? If so, what have they done to remedy the problem?
From the quicken website:
Converting your data from Quicken for Mac
Create a copy of your current Quicken for Mac data file.
Important: You'll want to use the copy for the conversion. Do not use your original data file.
Launch the Quicken File Exchange Utility (it's located on your Quicken Essentials disk).
Follow the on-screen instructions to locate the copy of your old data file and then convert your data from Quicken for Mac to Quicken Essentials.
Open Quicken Essentials.
If you want to import your old data into a new Quicken Essentials data file that you’ve already started using (optional), make sure that the new data file is now open in Quicken Essentials.
Choose File > Import, and then select the file that you just created during the conversion process.
The conversion file has a .QDFX extension. You’ll find it in the same folder as the copy of your old Quicken for Mac file. -
When I point and click on any link I get a drop down window asking if I would like to open in new window etc. How can I turn it off ?
Thank you the-edmeister.
I downloaded the menu editor extension but I can't open it.
Searching on the web for something to open it I get the message from the windows website:
File Type: Unknown
Description: Windows does not recognize this file type.
Any suggestions?
Thanks Steve Shmurak -
I would like to use GarageBand to remaster downloaded music files that are in iTunes. Poorly mastered files keep clipping and damaging my speakers. When I try to use an iTunes file as a new project, it greys out the iTunes songs so I can't select them. Any ideas?
As I said - look whether your original file is damaged or not. If not, I wouldn't change it and find out what in your system makes it sound like it's clipping.
Good sound file, with volume maxed out. No need to change anything.
The same song clipped - no chance to repair. -
I have an iPod Classic. I think it is a 5th generation. I would like to know if I can download games from the App store that say they are for iPads, iPhones, and iPod Touch. Will these work on my iPod Classic?
No, they won't.
(58155) -
HT202667 I would like to open a new itunes account with an existing email
I would like to open a new iTunes account using an existing email address. How can I do that?
Hi,
Thanks for providing more information on what you're trying to accomplish. If you want to create an Apple ID, the email cannot be associated with a pre-existing Apple ID account. Why are you trying to create another Apple ID? If you just want to change your Apple ID, you can simply change the primary email account.
Change your Apple ID - Apple Support
Thanks for using the Apple Support Communities!
Cheers,
Alex H. -
OSX: I would like DW opens on the 2nd screen
I use DW CS5 on a MacBook Pro with a 2nd monitor connected.
I would like DW opens on the 2nd screen (because it's much bigger) and so used the MacBook screen for my browser tests.
But I can not find the way to move DW to 2nd screen.
Am I really stupid or not ?
Thank you
Marcopifouxx wrote:
Am I really stupid or not ?
Not really. You are thinking like Einstein was thinking when he wanted his kitten to go in the small hole he drilled specifically while the kitten's mum had her own big hole. To his surprise both went through the same big hole and he said what a waste of time drilling the small hole!!!!
You haven't said how you have connected the two monitors. Are you using some switches like KVM switches that can do the job most efficiently? <http://www.kvms.com/Product/GCS78.aspx>
There must be some cheap ones in your area so just shop around.
Alternatively, Just connect one monitor (big one) to your machine which you work on and to view your pages you will need to upload the files somewhere so that your other machine can connect to them using the browser like any other websites. You need two machines to do this, of course! -
I recently purchased a used imac with os 10.6 The problem I am having the admin in accounts in system preferences I would like to change so I can download some items I have tried different things to do this but I cannot figure it out. thanks in advance.
Thats the problem I bought it from a very large thrift store. i went back asked the person where I bought the computer he said we can not give you the password. I thought buying it there was a good idea because not only was it a nice deal but it was like I was maknig a donation. I know that i messed up because i do not have the installation disk. I bought it without thinking. Until recently I was still using an old G4 9.0 os. I guess you can say I have been out of the loop for a while.
-
I would like t open a second iTunes account for a different country, but still be able to access my original account. It was not clear inthe documentation I read on this subject if this was indeed possible - using the signing out/in, create new account procedure.
How recently did you switch? If it's less than 60 days, then Verizon simply reinstates your previous account. The fact that you were on the EDGE plan and mailed the devices back, and they apparently are somewhere in the system, could cause complications, and it might just work out that you just go back on the same plan and they set you up with the same devices. I'm not sure how it will go - but since you are still being billed for the devices...
-
I purchased the design suite for PC but would like to install my second licensed download on a mac. Can I do this?
Your Windows license might only be installed on a Mac if you install Windows emulation software.
While it might be possible to swap to the Mac platform, which depends on which version is involved, that means giving up the Windows license. -
I have 2 displays 1920x1080 and 3840x2160,
I use 1920x1080 for every day work, some pages I would like to open in or redirect to the 3840x2160 display, is this possible?No, but there is a developer tool that you can add a custom size to. It is called Responsive Design View.
-
I would like to open a PDF file from my downloads and read it without all the resistance
When I try to open a PDF Adobe file from my downloads I get a screen that resists further use, I cannot open the file. Adobe seems to suggest that I have to purchase something or that the file is corrupted. All these files cannot be corrupted. This should not be so difficult, in the 21st century. Would like to be a smooth user.
Hi smoothuser,
We are sorry for the inconvenience caused to you.
Please let me know which application of Adobe you are using including the version.
Attach a screen shot of the problem to get better understanding about the problem you are facing if there is an error.
Regards,
Ajlan Huda. -
I just recently downloaded a xpi and i head that it is an addon for firefox and i couldnt open it and i would like to know wat do i use to open it with.
Go to Tools -> Add-ons (CTRL+SHIFT+A) -> Click settings button on the top ->
Select Install Add-on From File... option. Locate your .xpi file and Firefox will automatically install the add-on. -
Hello,
My name is Mimose Francois, I would like to start a new document but I can't find the option to choose either a blank or a line paper. When I click on "Open" a list of downloaded or scanned documents came up. Can you help me? thanks.Close Windows Media Player.
Use Windows to locate the folder(s) in which the song files reside. It might be "My Music."
In iTunes, use the command File > Add Folder to LIbrary. When the dialog comes up, point it to the folder that has the music. -
When I click a link on a webpage or other software, I would like for it to open in a completely new window.
You can hold the Shift key and click the left mouse button a link to open that link in a new window.
The setting in Tools > Options > Tabs is only for links that specify a target window and you can divert such a link to a new tab instead.
Maybe you are looking for
-
What is the correct USB 3.0 PCIE card for Z800?
I'm looking to buy the correct USB 3.0 PCIe card for a Z800, but I cant find any thru HP. Any have any info> There's 12 and 60 dollar HP cards on EBAY, but I don't know if those are correct ones. This question was solved. View Solution.
-
File usage report from Premiere
Hello good people, Is there any way to export or view a report on what files are used on the actual timeline? If not, I believe that this would be a great function to add. You would be able to: * View/Export complete lists of actually used clips. * V
-
What am I doing wrong? Enterprise Webservices arent working but...
Hopefully this caught your attention. I am having a problem with the Enterprise Services that are delivered in the different enhancement packs for ECC 6.0. My landscape is as follows: CE 7.1, PI 7.1, and ECC 6.0, and using the ESR (Service Registry
-
Lost cs4 extended manual - is there a pdf?
I have been looking for a pdf file for the manual that comes in the box. I recently lost mine and it was my lifeline :( anyone know where I can download another?
-
Material No. Mandatory with account assignment category K
Dear, Can i make Material No. Mandatory with account assignment category K Please advise Rami