Thursday, August 31, 2017

The Notes UI and Sending a Link to a File Part 2

The Notes UI and Sending a Link to a File Part 2


Thanks to everyone who responded yesterday. Ive considered and tested the responses to find the method which will be simplest for our users.

What follows is a set of instructions....

We start our instructions by identifying the file we want to link to. Often for me, this will be a MPEG, AVI or giant PDF (because why else would you link rather than attach?) but in this example, Im just using a MS Word Document.


You can see my path here is:

M:DeptIT2010DevelopmentExtraNetConcepts

and my file name is

Proposed Extranet Login Systems.doc

Thus; my entire path and filename would be;

M:DeptIT2010DevelopmentExtraNetConceptsProposed Extranet Login Systems.doc

Already by working the actual filespec out were stepping slightly beyond the boundaries of the typical user.

Next, we type our email and highlight the words we want to link to a file;


Then we click the new "LINK" icon in Notes 8.5

This gives us a nice little box in which to type our URL. If this was a web link, it would be easy. Of course, being a file link, its a different story.

You might think that at this point, you could simply paste a link to;

M:DeptIT2010DevelopmentExtraNetConceptsProposed Extranet Login Systems.doc

but youd be wrong. Notes will throw this out to the operating system as a URL. If your browser accepts all kinds of different URLs, (like Google Chrome does - and I presume future browsers will) then it wont know what protocol to use.

Just pasting the path in caused a lot of problems for me.

So... this is what you need to do to modify your URL.
  1. Prefix it with file://
  2. Change all backslashes to forward slashes (actually this should happen automatically).
Your new URL should look like this;

file://M:/Dept/IT/2010/Development/ExtraNet/Concepts/Proposed Extranet Login Systems.doc

Paste your new URL in and send your email. It should all work. Well, mostly work... If your users have firefox, you might discover that it actually blocks local links for security reasons unless you use these workarounds.

Im not sure whether to provide these instructions for my users or not. In my opinion, its still too difficult for them. I guess it wouldnt be too hard to create a button which did it - or even better, if IBM were to adjust the links button in future versions of Notes to allow browsing and selecting files on local resources.

download file now

Continue reading ...

Wednesday, August 30, 2017

The fastest way to delete large file s on Linux

The fastest way to delete large file s on Linux


Go to the container directory and run this command:

perl -e for(<*>){((stat)[9]<(unlink))}

download file now

Continue reading ...

Saturday, August 26, 2017

The location of r studio R markdown template file in a Ubuntu machine

The location of r studio R markdown template file in a Ubuntu machine


This is a log for the file location. Replace this file with your template file, so every time when you start a new Rmd file, RStudio will use this template, rather than the default one.

/usr/lib/rstudio/resources/templates/r_markdown.Rmd

download file now

Continue reading ...

Saturday, August 19, 2017

The file AdobePDF dll is needed Acrobat 8

The file AdobePDF dll is needed Acrobat 8



Windows 7 or 8 64-bit version


Manually extract the file "adobepdf.dll_64" from the data1.cab file before installing Acrobat. When the prompt appears, navigate to this file and select it.


  1. Navigate to the folder that contains the setup.exe file for your Acrobat 8 installation.

  2. Locate the file "data1.cab" and open it (you sometimes need a  third-party compression utility, such as WinZip, to extract the file).

  3. Inside the content listings, locate the file "adobepdf.dll_64" and copy it to your desktop.

  4. Run the installer setup.exe and when the prompt appears, choose browse and select the file you copied to the desktop.

    Note: If the file cannot be selected, change the file type drown down in the dialog box to "Files of All Types." Or, rename the file to "adobepdf.dll" by removing "_64" from the end of the filename extension.

download file now

Continue reading ...

Friday, August 18, 2017

The Notes UI and Sending a Link to a File

The Notes UI and Sending a Link to a File


Yesterday I found myself explaining to a new but technical user that Notes/Domino is, like Blackberry. An amazingly powerful and capable piece of software capable of everything that the competition is capable of - plus a whole lot more.

....and hampered by what is still one of the worst user interfaces in the world.

Sorry Notes UI team - I know youre doing your best. The same goes for the blackberry team. I know that theyre doing their best too. Its just that the user interfaces have so far yet to go.


So, this morning, the same user asks me how to send a link to a file on our common drives without sending the attachment everywhere.

Hes already cleverly tried attaching the .LNK file, but our policies dont allow that as its considered to be an executable file.

I said to him that I didnt actually know. 18+ years of using the product and I still really dont know how to do this. I know several workarounds but I dont know of any one all-encompassing method.

Its sad.

Even sadder is the fact that as I received the call I was clicking the SEND button on a PDF I was sending around in the required manner.

How did I do it?

I added a button into my mail and dumped a chunk of code which uses the windows ShellExecute API call into the lotusscript section.

I looked around the notes client to see if there was a new way (like that wonderful new way of adding web links). Nope... I couldnt see anything.

I tried Create as hotspot... it spat the dummy about spaces in the file path.

I enclosed in quotes and tried again... this time it almost worked. I changed the beginning of the path to "file://" and it worked - but of course I know that some browsers wont accept file:// urls for security reasons.

Im none the wiser.

I did a web search and found the following;

A set of instructions...
http://en.allexperts.com/q/Using-Lotus-Notes-1427/send-link-via-Lotus.htm

Nope... Im not telling my users to do that. Its too hard and Id rather tell them that they cant do it. Try again.

An External Application
http://www.virtualobjectives.com.au/notesdomino/linkhotspot.htm

Youre kidding right? I mean, kudos to the guys who found an empty market niche but theres no way Im going to accept that we need to install a third party app for this. It should be built in. In any case, the application does a sort of manual DAOS (Domino attachment and object service). It still stores the attachment in a second place - inside a database in the notes/domino system.


My Code
I guess I should make my button code available for everyone - well, everyone who has a designer client - so, not the majority of my users...

1. Add a button.
2. Change it to Run on Client - LotusScript
3. In the declarations section put this code...

Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (Byval hwnd As Long, Byval lpOperation As String, Byval lpFile As String, Byval lpParameters As String, Byval lpDirectory As String, Byval nShowCmd As Long) As Long

Declare Function GetDesktopWindow Lib "user32" () As Long

CONSTANTS
Const SW_SHOWNORMAL = 1
Const SW_SHOWMAXIMIZED = 3
Const SW_SHOWDEFAULT = 10

4. Create a new subroutine as follows;

Sub RunShellExecute(sTopic As String, sFile As Variant, sParams As Variant, sDirectory As Variant, nShowCmd As Long)
EXAMPLE: Play wav file with associated app RunShellExecute "Play", "c:windowsmediaNotify.wav", 0&, 0&, SW_SHOWNORMAL
EXAMPLE: Play avi file with associated app RunShellExecute "Play", "E:VB GraphicsaviCogs.avi", 0&, 0&, SW_SHOWNORMAL
EXAMPLE: Open txt file with associated app RunShellExecute "Open", "c:My Documents undll.txt", 0&, 0&, SW_SHOWNORMAL
EXAMPLE: Open txt file with notepad RunShellExecute "Play", "C:windows otepad.exe", "c:My Documents undll.txt", 0&, SW_SHOWNORMAL
Dim hWndDesk As Long
Dim success As Long
Const SE_ERR_NOASSOC = &H31
Const vbTextCompare = 1
Dim HashPos As Integer
HashPos = Instr(1, sFile, "##" , vbTextCompare)
If HashPos > 0 Then
sTopic = Left(sFile, HashPos -1 )
sFile = Right(sFile, (Len(sFile) - (HashPos+1)))
End If
The desktop will be the default for error messages
hWndDesk = GetDesktopWindow()
Print "RunShellExecute: " + "Topic=[" + sTopic + "]" + " File=[" + sFile + "]"
Execute the passed operation
success = ShellExecute(hWndDesk, sTopic, sFile, sParams, sDirectory, nShowCmd)
End Sub

5. Write the click routine as follows; (with the LaunchPath pointing to your file).

Sub Click(Source As Button)
Const LaunchPath = "L:VideosITHacking Fraud Example.avi"
RunShellExecute "Open", LaunchPath, 0&, 0&, SW_SHOWNORMAL
End Sub


There.... Easy! ... erm... not.


DAOS
The new Domino attachment and object service helps a lot in this regard. It only stores the attachment once - and without any user-intervention. Its almost a solution but not quite.

You see, in this day and age, we often want to make video and audio recordings of our conferences available to our internal staff without having to store even a single copy on our mail server. After all, sometimes these recordings are several gigabytes because the conferences can last for days.

Sometimes we just want to point people to a particular folder and not to file.


No Answer?
Well, thats it from me. Ive been using Notes/Domino for longer than I was at school and yet I still dont know an easy way to send a link to a file.

Has anyone out there got any ideas?


download file now

Continue reading ...

Wednesday, August 16, 2017

The file extension WD3 what it contain

The file extension WD3 what it contain


i got a file in .WD3 extension ,  many questions in my mind

i noticed there`s a file "Descr.WD3" in each folder....
what is this file and how can i view his content?

or should i delete it??
So at last find an answer

Descr.wd3 files reside in each directory Offline Explorer creates and contain information regarding all downloaded files in the directory:
- file name
- original file URL
- date of the last modification on Web server (to check for updates)
- file MIME type as it was returned by Web server (this is useful for offline browsing)
- a sign, if a .primary file was created or not.

Although all these files could be deleted, it is not recommended because this may make Web site updates and offline browsing less reliable.

download file now

Continue reading ...