Software development, photography, jokes, ....


Sites by me

 
tas-logoTransportation Administration System
snoezelkussen-logo-kleinstSnoezelkussens voor verstandelijk gehandicapten
ikzoekeenbegeleider-logoBegeleiders voor gehandicapten
Laat uw hond het jaarlijkse vuurwerk overwinnen
Betuweroute en Kunst
logo 50x50Hey Vos! Je eigen naam@vos.net emailadres?
Kunst in huis? Nicole Karrèr maakt echt bijzonder mooie dingen
nettylogo2Kunst in huis? Netty Franssen maakt ook bijzonder mooie dingen
Professionele opvang bij Gastouderbureau
Kind-Zijn
Salarisadministratie en belastingadvies bij
De Zaak Loont
Zutphense Bomenstichting

Hosting Favorites

 
ANU Internet Services
XelMedia .internet Services
register.com

Blogroll

 
Bomenstichting
LassoSoft
MacFreak
Quality that computes
The Economy of Motion
Wheel 2.0
IntrAktv



Website Hosting bij Xel Media


Marc's Place


 

[Repair] MySQL Upgrade on Mac OS X #mysql #upgrade #repair #database

Some time ago I did a MySQL upgrade without thinking ... that was not funny. So I retraced what I did to get the new version up and running and wrote it down as a sequence of steps to follow, when I need to upgrade to the next higher version.

I published these steps on the page [Repair] MySQL Upgrade (Mac OS X) , so they might be of help to you too.
View Comments
 

ICS Viewer 2.9 #icsviewer #ical #calendar #viewer #xojo #event #planning #planned #timeline

icon
The ical/ics calendar file viewer ICS Viewer is updated to version 2.9.

What is new:
- New: Added an 'Export' feature, which exports to a .csv file.
- New: Added automatic save/restore of column checkboxes and decimal separator.
- New: Added column ATTENDEES.

What has changed:
- Moved LOCATION into its own column.
- No more rounding of hours. Hours are displayed with 2 decimals.
- Open and Save dialogs are now sheet windows on Mac OS X.
- When checking/unchecking columns or loading a new file, the chosen sort-column is now remembered.
View Comments
 

Keyboard Shortcuts for Evernote #evernote #macosx #keyboardprefs #shortcut #keystroke

One of the many reasons why I love Mac OS X is the possibility to define your own keystroke / key-combinations for menu items in whatever application you like.

To make working with tables in Evernote easier, I added the following keystrokes to Mac OS X System Preferences -> Keyboard -> Shortcuts -> App Shortcuts (^ = ctrl-key):

mac-osx-keyboard-shortcuts
View Comments
 

SetEXIFData 6.0 #setexifdata #photo #foto #image #fotobewerking #exiftool #exif #exifdata #photography #fotografie #keywords #copyright #author #artist

icon (rond)
A new version of SetEXIFData , my GUI for exiftool by Phil Harvey , is now available:

v6.0
(08-april-2017)

Note:
- Serial numbers are version independent, and thus remain valid for v6.

New:
- Get the elevation (in meters) of the Geo-location into GPSAltitude.
- GPSAltitude is saved into XMP:GPSAltitude.
- Moved the 'Comment' field into the first panel. It is still being filled with the address data from the 'Keywords and Geotag' panel.
- If you click Allow or Cancel when MacOS X asks for permission to access your Contacts, your choice is saved as a preference. This new setting can be found under the menu-option 'Preferences...'
- Moved the camera info fields into their own panel, named 'Camera'. These settings are still saved when you create a preset via the Artist popup menu.
- Added CameraLabel. This tag is filled with 'CameraMake, CameraModel'.
- Added LensMake and LensModel.
- Added LensInfo as 4 individual fields: MinFocalLength, MaxApertureAtMinFocal, MaxFocalLength and MaxApertureAtMaxFocal. These settings are also saved as Camera info when you create a preset via the Artist popup menu.
- Added 'ObjectName', although read more …
- Added 'Author', although read more …

Fixed:
- GPSLongitude and GPSLatitude are now saved as is: positive or negative.
- GPSLongitude and GPSLatitude are now prefixed with the XMP: group, which was the only way to get the GPS-data into PNG images which Apple Preview will display in the Info-panel.
- GPS-data are written on a per-field basis, only if the individual fields contain data. For example, if you enter data in Latitude and leave the rest empty, only Latitude and LatitudeRef are written.
View Comments
 

Install PHPMailer on MacOS X 10.11 El Capitan or higher

Installing PHPMailer on MacOS X 10.11.6 El Capitan or higher is not as straightforward as I thought because of the new MacOS X System Integrity Protection security where one is not allowed to install stuff in /usr anymore. I wrote down my steps on how I installed PHPMailer on my Macs on this page… .
View Comments
 

Various software updates (SetEXIFData, ICSViewer and HandbrakePM)

My three main apps are updated with new toolbar icons (if applicable) and now look great on HiDPI (Retina) displays.

SetEXIFData v5.9 -> http://marc.vos.net/downloads/setexifdata/
HandbrakePM v1.7 -> http://marc.vos.net/downloads/handbrakepm/
ICSViewer v2.8 -> http://marc.vos.net/downloads/icsviewer/

Also:
- The label 'Camera mode' in SetEXIFData has been corrected into 'Camera model' - the 'l' dropped off when I reset the size of the font back to the system default.
- Bug fixed in HandbrakePM with loading Handbrake presets.
 
View Comments
 

SetEXIFData 5.8

icon (rond)
A new version of SetEXIFData , my GUI for exiftool by Phil Harvey , is now available:

v5.8
(21-february-2017)

New:
- When retrieving the date from the file name, you can now specify the time to use, if it's missing from the file's name, in the Date/Time fields. Also, if you process multiple photos with the same date immediately one after the other, you can use the Time interval fields to add or subtract hours/minutes/seconds or increment just the sequence number.
- You can now select an address from your Mac Contacts, via a pop-up menu to the right of the 'Geotag'-button, and then click on the 'Geotag'-button to get its GPS coordinates. When you select an address from the pop-up, it has precedence over entered Lat/Lon coordinates. Also, the checkbox 'Put address in comment' will automatically be checked, but can be manually unchecked.

Fixed:
- GPSLatitudeRef and GPSLongitudeRef are now also written. These values are needed while importing in, for example, Google Photos. Some of these photo-apps do not interpret postive GPS-values as default N and E.
- Interval time fields are enabled again after choosing the menu-option 'EXIF Dates or ...'.
 
View Comments
 

SetEXIFData 5.7

icon (rond)
A new version of SetEXIFData , my GUI for exiftool by Phil Harvey , is now available:

v5.7
(08-february-2017)

New:
- A pop-up menu with new choices: take the Finder's 'Date created' or 'Date modified' as the 'Date/Time original'.
- Moved the checkbox 'Retrieve Date/Time from file name' also into the new pop-up menu.
- Added an 'Auto-fill' checkbox next to 'Caption/Description', which also takes the filename and puts in the following (new) EXIF tags: Caption-Abstract, Description, ImageDescription, Title, XPSubject and XPTitle.
- 'Comment' is now also written to EXIF tag: XPComment.

Fixed:
- Preserve the File Modify Date/Time was ignored when renaming files.
- An endless loop was found when using a pattern with 'Retrieve Date/Time from file name' for which no more numbers were present.
 
View Comments
 

SetEXIFData 5.6

icon (rond)
A new version of SetEXIFData , my GUI for exiftool by Phil Harvey , is now available:

v5.6
(24-january-2017)

Fixed:
- Crash: When renaming with %x and none of the preferred sequence number-fields could be found.
- Preferences: Not being able to select any of the 'SubSecTime*'-fields when 'SubSecDateTimeOriginal' was present in the Dates-list.
  
View Comments
 

SetEXIFData 5.5

icon (rond)
A new version of SetEXIFData, my GUI for exiftool by Phil Harvey, is now available:

v5.5
(02-january-2017)

Due to an updated code environment (latest Xojo and latest MBS plugins), a few changes were needed.

Removed:
- Show/Hide Info toolbar button is no more.
- The drawer-window used for previews is also gone. Xojo does not support these anymore.

New:
- Each preview now opens in its own window, which means you can now visually compare EXIF-data of multiple images at the same time. All preview windows are automatically closed when processing or starting over.

Fix:
- Increased the font size back to the system-default.
- The geo-tagging window doesn't close when 'Set startup' is clicked. Instead, the button is disabled. To set new startup coordinates, close and reopen the geo-tagging window.
- Implemented an improved map browser, which now uses webkit per default. It updates the map correctly while dragging or zooming.
 
View Comments
 

Apple Mail and Microsoft Outlook to Evernote @outlook #outlook #apple #email @evernote #evernote #applescript #veritrope #backup #cloudstorage

Bg fix in the Send E-Mail to Evernote script:

- Some splitting needed with multipart/alternative Base64-encoded e-mails.

More info on the download page.
 
View Comments
 

Direct URL 3.3 #directurl #ssb #kioskbrowser #webbrowser #internet #xojo #website #browser

A new version of Direct URL, my Site Specific Browser (SSB), is now available.

3.3
(01-january-2017)

Application Name in MacOS X
In MacOS X the application name, when running, was always 'Direct URL', regardless of the name of the website you gave the copy.
This has now been fixed. For Xojo coders who want to this too, see here for the solution: https://forum.xojo.com/37244-rename-app-on-open/

I have left the 'About' and 'Quit' menu-items untouched, so these still show 'About Direct URL' and 'Quit Direct URL'.
 
View Comments
 

Check / Identify which version of Mac OS X is on your Recovery HD partition

There is an easy way to check which version of Mac OS X is on your Recovery HD partitions.
Since you can have such a partition on each attached Mac-formatted disk, it's interesting to know if they are all up-to-date.
To find out how, click here!
 
View Comments
 

Direct URL 3.2

A new version of Direct URL, my Site Specific Browser (SSB), is now available.

3.2
(20-december-2016)

Linux version discontinued
The Linux version is discontinued. Too much hassle to keep it up-to-date.

New version-detection
- As of v3.2, the app will check for a new new version and pop-up a notification dialog with a link.

Window size
- The last known window-size will now be remembered. At startup, the window will always begin at top 45, left 1 and resize itself according to the saved width and height.

Webkit
- The app now uses webkit, if present.

Loading URL in MS-Windows
- There was a problem with loading an URL under MS-Windows. This has been fixed.

Preferences-file
- Instead of having one preferences file in use by all copies of Direct URL, each copy now gets its own preferences file, named like this: durl-[app name].ini
- If you have used the 'Preferences…', this change breaks it. You have to specify any special URLs and/or passwords again.
 
View Comments
 

SetEXIFData 5.4

icon (rond)
A new version of SetEXIFData, my GUI for exiftool by Phil Harvey, is now available:

5.4
(16-december-2016)

New:
- Added 'Set the File Create Date/Time to the Date/Time Original' which modifies the 'Date created' in the Finder.
- Added 'Set the File Modify Date/Time to the Date/Time Original' which modifies the 'Date modified' in the Finder.
Both settings use the first date found according to the order specified in under 'Preferences->File Rename settings->EXIF date fields search order'.

New (video files):
- Video formats were not accepted by SetEXIFData, although EXIFtool can handle them. The following video extensions are now accepted: moov, mov, qt ,mqv, m4v, mp4.
A note to processing video files: the individual track-sections will not be modified, only the container. Video files only allow 1 keyword. The 'Extra camera info' is not part of EXIF for video files. No preview available in the drawer.

Fix (renaming files):
- Fixed a crash with images with no EXIF dates and times at all.

Fix:
- Fixed a problem with single quotes in a file's name.
- The drawer now closes when processing is started.
- Internal code enhancements.
 
View Comments
 

ICS Viewer 2.7

icon
The ical/ics calendar file viewer ICS Viewer is updated to version 2.7.

From / To dates selection fixed.
From / To dates would take the chosen date, but with the current time as as start or endpoint.
For example: 01-01-2016 09:10:34 to 13-12-2016 09:10:34
This would cause events on 01 jan 2016 earlier than 09:10 and events on 13 dec 2016 later then 09:10 not to show up.
From / To dates now use 00:00:00 as From time and 23:59:59 as To-time.

About-window at start
The About-window will not show itself automatically anymore when opening the app.
The about window would pop-up each time you start the application until you donated; only then it would not pop-up anymore.
Since this is a bit annoying, I moved the Paypal-button to the main window. When you donate, this button wil disappear.

New version-detection
As of v2.7, the app will check for a new new version and pop-up a notification dialog with a link.
View Comments
 

SetEXIFData 5.3

A new version of SetEXIFData, my GUI for exiftool by Phil Harvey, is now available:

5.3
(28-november-2016)

New:
- Added 'Preferences...' menu-option.

New (renaming files):
- Added preferences with which you can set the search order of EXIF date/time and image number fields for renaming files. This way you can tell SetEXIFData exactly which EXIF fields to look for first, and if not present the next one, and so on.
- Added a preference where you can specify the minimum number of digits for the image number to use while renaming. Smaller numbers are prepended with zeros to match the number of digits you specified. For example, 15, formatted with 5 digits, becomes 00015.

New (geotag):
- Added a preference where you can set the default geo-coordinates to start with when you click the 'Geotag'-button.

Fix:
- If while renaming files using '%x', no EXIF image number fields are found, '%x' will be replaced by 'minimum # of digits' zeros.
- Certain RAW formats were not accepted by SetEXIFData. The following photo extensions are now accepted: 3fr, ari, ciff, cr2, crw, cs1, dcr, dcs, dng, eps, epsf, erf, fff, gif, icm, jng, jp2, jpeg, jpg, jpx, mdc, mef, mie, mng, mos, mrw, nef, nrw, orf, pbm, pef, pgm, png, ppm, ps, psd, ptx, r3d, raf, rw2, rwl, sr2, srf, srw, thm, tif, tiff, vrd, x3f, xmp

Note: although now you can drag and drop certain RAW file types on SetEXIFData, not all of these are supported by EXIFtool for writing back to. Check Phil's site for the 'Supported File Types'-table.
 
View Comments
 

SetEXIFData 5.2

A new version of SetEXIFData, my GUI for exiftool by Phil Harvey, is now available:

5.2
(22-november-2016)

Fix:
- Renaming a file without using any placeholders works again.
- When renaming a file, a minimum of 3 characters must be present in the 'Document name' field.
- Renaming with '%x' now formats sequence numbers below 1000 with leading zeros: 28 becomes 0028.
 
View Comments
 

SetEXIFData 5.1

A new version of SetEXIFData, my GUI for exiftool by Phil Harvey, is now available:

v5.1
(21-november-2016)

As of version 5, SetEXIFData is now shareware.

If you have donated for SetEXIFData in the past, please e-mail me your Paypal transaction-reference and I will e-mail you your serial number. I am asking you to take action yourself, because email addresses on file are not always actual anymore.

Fix:
- The link to Paypal has been updated to the new Paypal payment-links. You should now see who you donate to and what for.
View Comments
 

SetEXIFData 5.0

A new version of SetEXIFData, my GUI for exiftool by Phil Harvey, is now available:

v5.0
(20-november-2016)

As of version 5, SetEXIFData is now shareware.

If you have donated for SetEXIFData in the past, please e-mail me your Paypal transaction-reference and I will e-mail you your serial number. I am asking you to take action yourself, because email addresses on file are not always actual anymore.

New:
- Added 'Email address' and 'Serial number' fields and a processing limit of max 5 photos a time. When you make a donation, you will get a serial number mailed to your PayPal email address. Enter both in the appropriate fields in the 'About..'-window and the processing limit will be removed.
- Added SubSeconds (or Burst Sequence Number or ImageNumber or ImageCount) to the Date/Time settings. You can insert a value in just this field if you only want to number photos - no need to fill dates/times. It wil set the following EXIF attributes: SequenceNumber, ImageCount, ImageNumber, SubSecTime, SubSecTimeOriginal. When 'Set Creation Date/Time ...' is checked, also the EXIF attribute 'SubSecTimeDigitized' wil be altered.
- Added '%x' pattern in 'Retrieve Date/Time from file name' to retrieve 3 digits from the file's name and store that number in the previous mentioned EXIF fields. It is up to you to correctly position this placeholder. Read the manual on my website on how to do this.
- Added '%x' pattern to the rename-pattern in 'Document name' when the 'Rename' checkbox is checked. When '%x' is found, the following number from the EXIF data is taken to rename the image file with: SequenceNumber, ImageNumber, ImageCount, ShutterCount, ShotNumberSincePowerUp, SubSecTime, SubSecTimeOriginal or SubSecTimeDigitized - whichever comes first.

Update:
- The main window is now resizable.
- No readme cq. manual included in the download any more. The always up-to-date version can be found by clicking the link on this 'About...'-window.

Fix:
- 'Autofill' caused problems with processing multiple images.
- 'Titlecase' did not always work. Now you have to explicitly execute it by clicking a button. This way you can titlecase keywords and afterwards lowercase individual words, like 'and' and 'or', by hand.
- Possible crash while renaming files based on EXIF dates is repaired.
- Various internal improvements.
 
View Comments
 

SetEXIFData 4.7 PPC

A new version of SetEXIFData for PowerPC, my GUI for exiftool by Phil Harvey, is now available:

Version 5.0 is also out, but that one is Intel-only and as of now also shareware.
You can keep using this PPC version for as long as you like.
The PPC version will receive no functionality updates, only bugs will be fixed.

v4.7
(20-november-2016)
Fix:
- 'Autofill' caused problems with processing multiple images.
- Possible crash while renaming files based on EXIF dates is repaired.
View Comments
 

CSVviewer - Quicklook CSV files #utility #macos #linux #windows #csv #database

CSVviewer (formerly known as TABviewer) is a tool which shows the contents of text files, where data of each line is equally separated by either a semicolon, a comma or a tab-character.

You can download it here.
20160926-csvviewer
View Comments
 

SetEXIFData 4.6

A new version of SetEXIFData, my GUI for exiftool by Phil Harvey, is now available:

v4.6
(26-september-2016)
On request:
- Compiled a Universal Binary (UB) version for use on PowerPC and older Intel Macs. You can download it from my site.
- Added 'Save as set' for Geotags. If 'Put address in comment' is checked, the Comment (street address) is saved with the GPS coordinates.
New:
- A double-click on a row in the EXIF-list inside the drawer, copies the value of the right column to the clipboard.
Fix:
- Improved test if 'exiftool' has been installed.

A note about the Universal Binary (UB) version
Since september 2016 there is a UB version available, for PowerPC and Intel Macs. The UB version is still 1:1 the same with the current Intel version, but may differ in the future, since I use my old Powerbook G4 to keep the UB version current. When it dies, the UB version developments will also stop. Until then I will do my best to keep both versions the same qua functionality.

v4.5
(08-july-2016)
Fix:
- Negative intervals lower than -9, like -10, could not be entered.
 
View Comments
 

Save and Restore Mac OS X Finder Windows, with Tabs and Positions

Since Apple released Mavericks (10.9), the Finder doesn't save and restore its open windows, and the tabs inside these windows. I find this a real nuisance and it wonders me why Apple haven't been able to fix this. I tried writing 'defaults' settings, with no effect.

Anyway, then I decided to write my own solution, in AppleScript. You can download them from this page, second entry.
 
View Comments
 

Make a new folder inside a selected folder with Applescript

I wrote an Applescript with which one can create a new folder inside a current selected folder, or inside a current window or inside a folder containing a selected item.
You can read more and copy the code from my Scripting-page.
 
View Comments
 

SetEXIFData 4.4

A new version of SetEXIFData, my GUI for exiftool by Phil Harvey, is now available:

v4.4
(20-june-2016)
Fix:
- TAB-bing order of input fields corrected.

v4.3
(09-may-2016)
Fix:
- Hitting the DEL or BACKSPACE key on an empty line in the list window gave an OutOfBounds exception.
 
View Comments
 

Apple Mail and Microsoft Outlook to Evernote

Today I modified a copy of my version of the Send E-Mail to Evernote script to work with Microsoft Outlook on Mac OS X.
Since I now have two scripts, I renamed them accordingly :
  • Send E-Mail (Apple Mail) to Evernote
  • Send E-Mail (MS Outlook) to Evernote

More info on the download page.
 
View Comments
 

ICS Viewer updated to 2.6

The ical/ics calendar file viewer ICS Viewer is updated to version 2.6.

CATEGORIES added as a new column.


 
View Comments
 

SetEXIFData 4.2

A new version of SetEXIFData, my GUI for exiftool by Phil Harvey, is now available:

v4.2 (29-apr-2016)
New:
- Set EXIF dates and times based on a date [and time] in the file name of the image.

See the web page for more info. Look for 'Retrieve Date/Time from file name'.
 
View Comments
 

Various software updates (SetEXIFData, ICSViewer, HandbrakePM and DirectURL)

My four main apps all have now their own webpages instead of being part of the old accordion page.

SetEXIFData -> http://marc.vos.net/downloads/setexifdata/
HandbrakePM -> http://marc.vos.net/downloads/handbrakepm/
ICSViewer -> http://marc.vos.net/downloads/icsviewer/
DirectURL -> http://marc.vos.net/downloads/directurl/

ICSViewer has some new additions:
  • Sheet windows instead of modals,
  • Link to new webpage,
  • Better display of bigger text on Windows,
  • 'Line No.' column now has a line number,
  • ’Start at’ and 'End at' columns now also include the date in ISO format for better sorting.

View Comments
 

SetEXIFData 4.0

A new version of SetEXIFData, my GUI for exiftool by Phil Harvey, is now available:

v4.0 (17-apr-2016)
New:
- Renaming your photos based on EXIF dates and times.

See the web page for more info. Look for 'DocumentName'.
 
View Comments
 

SetEXIFData 3.4

A new version of SetEXIFData, my GUI for exiftool by Phil Harvey, is now available:

v3.4 (1-apr-2016)
New:
- Tabbed panes to reduce window-height. The high window was a problem on small screens.
- The Artist & Copyright pop-up memnu now also saves 'Camera make', 'Camera model' and 'Extra camera info' fields.
Fix:
- Tab-order is fixed. Using the TAB-key, the fields are now selected in the right order: top-down, left to right.

View Comments
 

ICS Viewer updated to 2.4

The ical/ics calendar file viewer ICS Viewer is updated to version 2.4.

A multi-line SUMMARY, which I did know could exist, is now handled correctly.

Thanks to Phil Birch for pointing this out.

 
View Comments
 

ICS Viewer updated to 2.3

The ical/ics calendar file viewer ICS Viewer is updated to version 2.3.

DTEND with All-Day Events is now handled correctly: DTEND minus 1 day is actually the last day of the All-Day Event.

Thanks to Kevin Edwards for pointing this out.

 
View Comments
 

E-Mail to Evernote

I fixed some other flaws in my version of the Send E-Mail to Evernote.scpt:

Update 22 dec 2014:
- I repaired a situation where a piece of a HTML-email 'header' is no header, but contains a <style> … </style> segment, which contains semi-colons and which does not contain ampersands. And that is where the script crashed. This is the case with 'Order confirmation'-emails coming from DAZ 3D. I added the test if the part does also not contain a } and then it went through. Fixed. Now wait for the next email-formatting-idiocrazy for which the script has no solution.

See also my previous posts regarding this script.
 
View Comments
 

ICS Viewer updated to 2.2

The ical calendar file viewer ICS Viewer is updated to version 2.2.

A crash when no DTEND entry was present has been repaired. This seems to be possible with Google Calendar events.
 
View Comments
 

Cool Unix-Shell Prompt

At the shell-prompt in Terminal or some SSH session, copy/paste the following line:

export PS1="\n\u@\h \A \w $ "

and see the following nice shell-prompt:

shellprompt
You will have the following information always present:
  • Who you are
  • On which machine you are
  • The current system time
  • The current working directory cq. folder you are in
  • The $ as the separator
  • And a new line after a command
To have this prompt permanent, add the line mentioned above to the file /etc/profile

 
View Comments
 

Mijn FileMaker Pro toepassingen geactualiseerd

Ik heb mijn FileMaker Pro 5 toepassingen op verzoek geconverteerd naar recentere versies. U kunt de toepassingen nu downloaden voor alle versies vanaf versie 5. Voor elke compatibele versie heb ik een download-knop gemaakt, zoals in onderstaand voorbeeld wordt getoond:

Screen Shot 2014-10-13 at 14.00.03
 
View Comments
 

Wireless network connections in hotels and on the road

If you ever try to be smart and add some hi-speed DNS servers to your WiFi DNS settings ... don't. I thought I was and the last months I have been wondering why I couldn't connect to wireless LANs in hotels and trains - and they didn't know either.

Today, at Hotel BB (good hotel btw) they put me in contact with their WiFi-provider and after a going through every detail, we found the reason: my manual DNS entries. Why did I put them there? Well, at home I sometimes use NameBench to find the best DNS-servers. And since Google's DNS servers are mostly the fastest, I thought it a good thing to add those two (8.8.8.8 and 4.4.4.4) permanently to the DNS of my WiFi connection! Which then blocked and confused the routers in the hotels I was staying or the trains on which I travelled. And I thought what a shitty stuf do these guys have... hum hum ;-)

So.... I created a separate location for when I am mobile and I called it Mobile (DHCP). I leave it totally empty so routers in hotels and trains can discuss with my Macbook Pro what is the best connection and which DNS-servers to use. Here's how in images:

1-network-prefs
 
2-edit-locations
 
3-add-location
 
4-turn-wifi-on
 
5-connect
 
and click Apply when the Mac asks you to!

Now, whenever I go out and take my MacBook Pro with me, I first choose this Mobile (DHCP) location so whatever WiFi-router I connect to, I have a good chance for internet access.
 
View Comments
 

E-Mail to Evernote

I fixed some other flaws in my version of the Send E-Mail to Evernote.scpt:

Update 13 aug 2014:
- I repaired a situation where there is no content-type found in the email headers. I now set it to text/plain in such a case.

Update 5 aug 2014:
- I repaired the strange time formatting (1=3=4=5 instead of 1345) when adding multiple email messages at once.
- And I added a dialog when the script has successfully finished processing for when Growl is not active.

See also my previous posts.
 
View Comments
 

Quickly transfer MySQL databases to a new server

Again I needed to transfer all data from one server to another. I knew I documented the transfer of MySQL databases somewhere (it's deep inside in the Replication-how-to) and decided to post them again here, so they're quicker to find.

One can transfer MySQL databases in various ways:
  1. Using mysqldump and zip + ftp
  2. Zip the database itself + ftp (you might need to repair the tables after unzipping)
  3. Use Navicat's Data Transfer module (not always good for tables with millions of records or blob data)
Personally, I prefer to use option 2, like below, in Terminal or an SSH session:

$ cd /var/mysql/ (or /var/lib/mysql/)
$ sudo zip -r ~/[database].zip [database]

Do this for each database that you want to copy. Then send all zip's per FTP to the new server.
Start an SSH session with the remote server and enter the following commands:

$ cd /var/mysql (or /var/lib/mysql/)
$ sudo unzip ~/[database].zip
$ sudo chown -R _mysql:admin [database]

For the above chown, check first with ls -l if _mysql:admin are the right owners. Then do this for each unzipped database.

Next, start Navicat and now you should see your databases in the connection of the new server. If not, you probably forgot to either do a Refresh Connection or the chown-command.

If you can access the tables and view data, good! If not, right click the table and choose Maintain->Repair Table->Quick or ->Extended and then try again.
 
View Comments
 

E-Mail to Evernote

I fixed a bug in the Send E-Mail to Evernote.scpt where it would crash if the HTML at some point would contain &nbsp; or other ISO encoded characters. You can download a new version here.

If you maintain your own changes in this script, here's the fix. Change the following lines inside the function htmlFix:

     --TEST FOR / STRIP OUT LEADING SEMI-COLON
     
if item 1 of paraSource contains ";" then

into this:

     --TEST FOR / STRIP OUT LEADING SEMI-COLON (skip &nbsp; stuff)
     
if item 1 of paraSource contains ";" and item 1 of paraSource does not contain "&" then
 
 
View Comments
 

E-Mail to Evernote

A while ago i was looking for a way to shrink my list of mailboxes and the 1000s of mails therein. I already use MailSteward Pro to backup my emails to a remote MySQL server, but that is just in case everything gets lost at Apple's iCloud. Which isn't very likely.

Since my Apple Mail is starting to crash every few days since the latest Mavericks updates and is getting really slow in opening old and getting new mail (although I run on SSD), I am looking for another way to archive old emails and still have the same easy access with all search capabilities. This where Evernote comes in! Googling a bit I found this AppleScript: Apple Mail to Evernote.

The script works perfectly under Mavericks and I added some code to get the date/time in the title of the note. A screenshot of how an email in Evernote looks when my modified version of the script has done its job:

Screen Shot 2014-05-15 at 10.49.19

What you'll miss though is the grouping of the 'Conversation'-view which you have in Apple Mail.

So you can download the original or download my version.

Thanks to Veritrope for this very useful script!
 
View Comments
 

Allow LoginWindow only for some users on Mac OS X Server

Looking for the way to disallow regular users to login via VNC or Apple Remote Desktop?

- Open Server Admin in /Applications/Server/
- Connect to and select your server.
- 10.5 Server: select Settings -> Access
- 10.7 Server: select Access
- Then select Services -> For selected services below -> Login Window.
- Then select Allow only users and groups below on the right, and add yourself and whoever else you want to grant access.

10.5 Server:
Allow LoginWindow for some Users Mac OS X 10.5 Server

10.7 Server:
Allow LoginWindow for some Users Mac OS X 10.7 Server

I have no idea if this method is still present in 10.8 or 10.9 server.
View Comments
 

ICS Viewer v2 is out. View and export .ics calendar files

Version 2 of ICS Viewer was released today. Someone reported a crash, which had to do with the order of VEVENT entries. This, among other things, has been fixed. Enjoy!

View Comments
 

Connect your Mac to the Tor Network

I created a page how to 'Connect to the Tor Network', which describes the steps to connect your whole Mac, not just clients with their own proxy settings, to the Tor Network. It's really simple and not complicated at all.

Happy free and anonymous browsing!

View Comments
 

SheepShaver - Mac OS 9.0 Classic Emulation on Mac OS 10.8

If you do not want to spend much money on upgrades for software you hardly use, just because you are running the latest Mac OS, try a Mac OS emulator! These are free and run nice and fast on the new Macs.

Let's take FileMaker Pro 6 for example. A piece of software I need, for a regional tree foundation I do some work for, but rarely use. And I do not want to upgrade - too expensive for the infrequent usage. So I looked at installing it on Windows in Parallels, since I have that software anyway - but that is a bit too much overhead just for running FileMaker 6. WINE did a bad job so I ditched that. Then I got a 500MHz G4 Cube! The advantage was that it runs all my older software too, like the Starwars Episode 1 Racer. But it is a bit much work turing that Mac on and off, just to do some administrative work in FileMaker 6.

So I still want to be able to run FM6 on my iMac, in Mac OS 10.8, because it is simply more convenient. I tried SheepShaver a long time ago, but then it did not work for me, somehow. But today I came across it again while searching for Mac OS emulators for Moutain Lion, and saw '2012' in the SheepShaver's blog, so that means it is still actively supported. I gave it a try and it works fantastic! And it runs my FM6 applications - and some old games, of course, like BreakThru! Really cool!

If you want to try it too, download SheepShaver and download a ROM file and the OS9 System. READ and follow these instructions and you should be ok.

SheepShaver
View Comments
 

Daily Script on Mac OS X Server did not clean up /tmp

Lately my /tmp folder was piling up with files (krb5cc*) without any signals that these files were regularly deleted. A bit of googling showed that these come from the Open Directory Server, but that's something I cannot control. So I went to investigate why the daily script would not delete them. I googled a bit again and found out where the parameter file for the daily, weekly and monthly cleanup-scripts is located: /etc/defaults/periodic.conf. There, I found these settings for /tmp :

# 110.clean-tmps
daily_clean_tmps_enable="YES"           # Delete stuff daily
daily_clean_tmps_dirs="/tmp"            # Delete under here
daily_clean_tmps_days="3"               # If not accessed for
daily_clean_tmps_ignore=".X*-lock .X11-unix .ICE-unix .font-unix .XIM-unix"
daily_clean_tmps_ignore="$daily_clean_tmps_ignore quota.user quota.group"
                                        # Don't delete these
daily_clean_tmps_verbose="YES"          # Mention files deleted


The one to look for is where it says "3". This indicates that the routine should clean up old files not accessed for 3 days. But it did not - and the files were not mentioned in the ignore-parameters. Even rm -rf krb5cc* returned immediately an error that its argument list was too long. Therefore I started reading what the exact values for this parameter should be.

Well, it turns out that the value needs a qualification, like d(ays) or m(months), etc.. I found that out by reading /etc/periodic/daily/110.clean-tmps and studying how find uses -atime, -ctime and -mtime and how to add or subtract values. Here are a few find-commands, copied from /etc/periodic/daily/110.clean-tmps, which I tried to make sure that what I just read was right:

$ cd /tmp
$ sudo find -dx . -fstype local -type f -atime +1h -mtime +1h -ctime +1h
$ sudo find -dx . -fstype local -type f -atime +1d -mtime +1d -ctime +1d
$ sudo find -dx . -fstype local -type f -atime +2d -mtime +2d -ctime +2d


Further reading suggested to use override-files, so I sudo'd into vi to create the file /etc/periodic.conf with the following contents:

daily_clean_tmps_days="2d"

Yes, 2 days. Three days is too long for a server, in my opinion. The file's attributes look like this:

marcvos @ ~ $ ls -l /etc/periodic.conf
-rw-r--r-- 1 root wheel 27 Oct 25 16:38 /etc/periodic.conf


Next, delete the file daily.out:

$ sudo rm /var/log/daily.out

Reboot the server. Check your /tmp folder and /var/log/daily.out the next days.

With me, I now finally saw all those files getting deleted.
 
View Comments
 

SetEXIFData 3.3

A new version of SetEXIFData, my GUI for exiftool by Phil Harvey, is now available:

v3.3 (8-sep-2012)
Fix:
- Found a way to reactivate the app after processing so it responds to mouse clicks again. Hopefully this solves the problem where the app would not come forward.

v3.2 (07-sep-2012)
New:
- Added support for a sticky Growl message when processing has finished, which lists all processed images.
Screen Shot 2012-09-08 at 18.05.18
Changes:
- Replaced the 'Done'-window with a text below the list-window, since the sheet-window-state did not react to mouse clicks when the app was in the background and ready with a conversion.
- Changed the sheet-window into a movable modal.

View Comments
 

HandbrakePM 1.5

A new version of HandbrakePM, the batch video conversion tool based on the famous HandBrake video converter, is now available:

v1.5 (8-sep-2012)
- Found a way to reactivate the app after processing so it responds to mouse clicks again. Hopefully this solves the problem where the app would not come forward.

v1.4 (7-sep-2012)
- Replaced the 'Done'-window with a text below the list-window, since the sheet-window-state did not react to mouse clicks when the app was in the background and ready with a conversion.
- Changed the Growl-scripts so now they should work on newer MacOS and Growl installations.
- Made Growl-notifications sticky, like Handbrake does.

Screen Shot 2012-09-08 at 17.50.58
View Comments
 

Adobe Photoshop Elements 10 Editor and Mac OS Lion 10.7

Yesterday I purchased Adobe Photoshop Elements 10 Editor in the Mac App Store, for my wife's Mac. Of course I installed it on my Mac too and the application seems to runs just fine, but I could not save any image I edited. Huh!? When I tried to save edits made to an existing image, PSE10 constantly showed messages about disk errors (-38) and problems writing to the scratch disk and then froze itself somehow.

Well, I also have Photoshop CS5 installed and with that application I have no problems at all, and it uses the same scratch disk: my internal HD. There is no other disk and that disk is ok – which means that the error from PSE10 has in fact nothing to do with the disk. Therefore, the error must have something to do with the file(s).

My gut feelings started to probe all information I have about files under Mac OS 10.7.4, and suddenly a thought popped up that it might have to do with the new OS X Lion's file locking 'feature'. That somehow PSE10 does not use Apple's file I/O routines or this version of PSE10 (v10.0) doesn't know about this 'feature' in Mac OS X Lion. The images I edited were from 30.5.2012 and when I opened them in Preview, the word 'Locked' showed in the titlebar.

I googled shortly and found a way to turn this 'file locking' off, and it is really very simple. But the setting is not where I would expect it to be, it's hidden in the 'Time Machine'-preferences' Advanced settings, whereas I would rather search it under 'Security'-preferences. At Mac|Life I found a short how-to: How To Disable Mac OS X File Locking

After turning it off, my Mac began to act strange - a few apps started to crash, others suddenly hung. So, hop, restart that Mac! Luckily that solved it all and what is more, since I turned it off, PSE10 works without problems - no more 'disk'-errors. And ... I have about a few 100MB more free memory and the free memory remains stable, it doesn't get 'eaten' anymore! That might be subjective, but the numbers don't lie.

I can really recommend PSE10. It's fantastic! Thumbs up Adobe! Features from applications like iResizer, inPaint and others are all built-in into PSE10! Time to clean up the application folder!

Now if there only would be Adobe Illustrator Elements for that price.... I would not be needing CS5 anymore.
View Comments
 

Boekhouden in Apple Numbers

Het was weer eens tijd voor een geheugen-opfrissertje wat boekhouden betreft - zo vaak doe je het als werknemer niet - en daarvoor had ik een oud Teleac boek gevonden op een rommelmarkt. De bijlagen etc. zaten er allemaal niet bij, maar met mijn al aanwezige, vervagende kennis begreep ik er weer steeds meer van. Het doel was om de kosten van een nieuwe Filemaker Pro licentie voor Mac OS Lion te vermijden, aangezien ik dat FM Pro enkel en alleen nog gebruik voor de boekhouding van de Zutphense Bomenstichting. Nu draai ik FM Pro nog op een mooie, antieke Apple G4 Cube, maar dat moet een keer ophouden. En ik heb ook geen zin om alleen voor die paar boekingen voor de stichting steeds een virtuele Windows te moeten starten, dus... ajuus FileMaker Pro en welkom Apple Numbers.

Tijdens het lezen van het cursusboek kwam ik er achter dat er eigenlijk geen eenvoudige Numbers of Excel-boekhouding te vinden is en besloot ik er dan zelf maar een te maken, in Apple Numbers. Omdat dat programma zo handig is en het boekhouden-document is de eerste stap om de simpele administratie van de Zutphense Bomenstichting over te hevelen naar een spreadsheet.

En hier is het resultaat: Numbers Boekhouden of een export vanuit Numbers naar Excel Boekhouden

De sheets Rekeningschema en Boekingsvoorbeelden (zie afbeelding hiernaast) dienen uitsluitend ter informatie. Er wordt niet aan gerefereerd.

In het Grootboek plaatst men de boekingen. De Balans-tabellen zijn geheel geautomatiseerd, behalve als er een nieuwe rubriek bij moet; deze moet men dan handmatig toevoegen door een bestaande rij te kopiëren en aan te passen. Ik heb getracht zoveel mogelijk help-tekst toe te voegen die, in ieder geval voor mij, van belang is om te bewaren omdat je dit soort dingen zo snel weer vergeet.

De velden met de omschrijving van de Balans- en Grootboekrekeningen bevatten pop-up menu's (zie afbeelding hiernaast) zodat overal dezelfde beschrijving voor een rekening wordt gebruikt. Deze pop-up menu's kunnen, voor zover ik weet, in Numbers niet programmeerbaar worden samengesteld uit Rekeningschema, maar ze zijn eenvoudig handmatig aan te passen voor nieuwe Grootboekregels waarvoor een nieuwe rubriek nodig is.

Let op: Alles is fictief, wat hier geboekt en beschreven is - je moet zelf de hele bups aan je eigen situatie aanpassen.

Het document bevat de volgende tabellen:
boekhouden

Pop-menu in tekstvelden:
balans
View Comments
 

MySQL Replication on Mac OS X

Last week I finally had the time to take care of a backup server and set up a database backup scheme. I chose to use the built-in MySQL replication tools since I do not have to replicate between different database brands. I described the steps it took to get everything up-and-running in 'Setup MySQL Replication'.
View Comments
 

'Transfer services from server to server' mind map

Using mind maps to follow your thoughts and track your findings is really a superb experience, every time again. And especially MindMeister, because it is 'in the cloud', i.e. web-based and can be accessed from anywhere and almost anything.

Every one of my personal projects goes into MindMeister if it involves more than just a few scribbles. In this mind map, I have noted all steps I must take, with all peculiarities that arise in the process, to transfer web sites and services from one server to another, in this case from a virtual CentOS server to a co-located MacMini Server from 2011. Mind you, the MacMini Server is no toy anymore - it is blazing fast!

I find this mind map quite interesting and since I am not the only one in the world doing stuff like this, I thought I'd share it so you, reader, might find the information in it somehow useful.

to_MacMINIthumb
View Comments
 

Put documents on your Mac in iCloud for GoodReader

If you want to store documents from your Mac in iCloud for, say GoodReader, there is an easy way to do this!

First step to take is to store a document in iCloud from within GoodReader.
Next step is to setup your Mac to use iCloud. You might need Mac OS X Lion for this to work.
The last step is to open the Library folder inside your Home folder. By default, this folder is hidden in Mac OS X Lion, but you can open it or make it permanently visible by using one of these methods.

Inside ~/Library you'll find a folder named Mobile Documents.
If all has been setup well, GoodReader's iCloud folder should be visible there. Inside that folder is a Documents folder. Simply drag a document into that folder and it is auto-synced into iCloud. You are then able to see the document in GoodReader's iCloud folder and download it from there onto your iOS device.

MobileDocuments

I have made an alias in my Finder window's sidebar to the Mobile Documents folder, so I have quick access to it.

sidebar
View Comments
 

Use SmartSynchronize with Coda (= replace opendiff)

Here's a small how-to replace opendiff (FileMerge) with SmartSynchronize. This way you integrate SmartSynchronize with Coda and possible other SVN-GUIs or IDEs.
View Comments
 

Relocate SVN repositories with SmartSVN

Today I had to move our SVN repositories to a new server, because the old one (an Xserve G5) is being emptied and then either sold or thrown away. So if you're interested in an early 2005 Xserve G5, send me a note. Anyway, relocating a repository was easier than I thought. A bit of reading and googling revealed the steps I had to take and to help you, I wrote them all down, sort of collected steps-to-take, and posted them on this page.
View Comments
 

Encode/Decode BASE64 scripts for Coda

Here you will find two scripts for use with Panic's Coda, which take selected text and encode it to BASE64 or decode it from BASE64, inside the current editor (base64coda).
To add the scripts to Coda's scripts-menu, click the menu and select 'Open Enclosing Folder':
coda20110929a
Drag the scripts in the opened folder, go back to Coda and select 'Reload Scripts' from the scripts-menu. You should see the two new scripts:
coda20110929b

Now, select some text and choose BASE64 Encode and then BASE64 Decode to see your text again.
View Comments
 

Multiple MySQL instances on Mac OS X Client or Server

A new project and a server in the basement, drove us to research how we could replicate MySQL databases of two other servers onto the one in the basement. Quest: we need multiple instances of MySQL on the server, with each its own setup. Our findings and how to set this up on Mac OS X Client (your regular desktop Mac) or Mac OS X Server (your co-located Xserve, Mac Pro or Mac Mini Server) are described on this page.
View Comments
 

SetEXIFData 3.0

Version 3.0 of SetEXIFData is out, with the following changes:

New:
  • Added a checkbox which can be set on to remove all keywords (and not add any new ones) from all the files in the files-list.
  • Added a checkbox which can be set on to titlecase all keywords, which was previously done automatically. It is set on by default.
  • Added a checkbox which can be set on to autofill the document name property of each photo listed with the current file name.

Bug fix:
  • Problem with assigning keywords for Preview, Photoshop CS5 and iPhoto has been fixed. Turns out these programs let '-subject' overrule '-keywords' for keywords.

View Comments
 

My installation of Mac OS X Lion

This installation of Mac OS X Lion took my weekend and then some, to figure it all out and get things to work. Making the backup took almost a day. The order of the steps taken is now what it should have been, had I been able to see in the future. I hope these steps can help you to speed up your installation of Lion.

1) I downloaded Lion from the Mac App Store

2) Located it in /Applications, copied it to a backup disk.

3) Right-clicked it and chose 'Show package contents'
   - Opened the Folder 'Contents'
   - Opened the Folder 'SharedSupport'. In there is a file 'InstallESD.dmg'

4) Inserted a 8GB USB Flash Drive into an USB-slot of my Mac

5) Started Disk Utility
   - Selected the USB-flash drive in the bar on the left
   - Selected the pane 'Partition'
   - Chose 1 partition
   - Clicked 'Options' and selected 'GUID table'
   - Partitioned the drive
   - Selected the USB-flash drive in the bar on the left
   - Selected the pane 'Restore'
   - Dragged the USB-flash drive to the field 'Destination'
   - Dragged the 'InstallESD.dmg' to the field 'Source'
   - Clicked the 'Restore'-button
Now I can always boot from the flash drive and (re)install Lion.

6) I deactivated licenses of the following software (advise from OnOne):
   - All OnOne Software tools
   - RapidSearch (just to be on the safe side)

7) Updated the following software:
   - Tuxera NTFS
   - Glimmerblocker
   - Dockstar (Mail plug-in)
   - MailTags (Mail plug-in)
   - Drobo Dashboard
   - FileMaker Pro 6 (PPC-only) to 7 (Universal)
   - EyeTV
   - Perian
   - Flip4Mac WMV
   - ChronoSync and ChronoAgent

8) Removed following apps
   - DivX and 3iVX (Uninstallers are in their respective folders in /Applications)
   - FlagIt! (Mail plug-in) -> uninstalled this, development halts and Lion has now 7 flags of different colors. I also went into System Preferences and uninstalled SpiceShaker and removed the SpiceRack Prefpane since nothing else but FlagIt! was using this.
   - Adobe AIR (removed everything from '/Application Support' and '~/Application Support' folders)
Apple has made the folder 'Library' in the home folder invisible. But I can get to it via SHIFT-CMD-G and by entering the following path '~/library'.

9) Restarted my Mac
At the bongggg, I held down the SHIFT-key until a progress bar appeared: Mac starts in Safe-mode. From our national Apple Doctors (CARD Services) I learned that it is best to install major updates while in 'safe mode'.

10) When logged in, I attached a 1TB backup disk and used Carbon Copy Cloner to backup my Mac OS X startup disk.

11) After the backup had finished, I shutdown the Mac and disconnected all external hard disks, including my Drobo.

12) Started my Mac again in Safe-mode

13) Installed Mac OS X Lion
On my iMac, I simply clicked the Lion icon in the Dock. I booted my MacBook Pro from the USB-flash drive and installed Lion from there.

14) After installation, I let the Macs boot normally and logged in.

15) Performed Software Update; restarted normal

16) Opened 'App Store' from the Dock and downloaded 'Xcode'
   - I installed Xcode by starting 'Install Xcode' in /Applications

17) I rely on FastCGI (for Lasso 9), which is not included in Lion anymore. So I had to restore the file 'mod_fastcgi.so' from the backup disk, made in step 8. The Lion installer also removed the file 'Lasso8ConnectorforApache2.2.so' which is needed for Lasso 8. I copied both of them back. If you need these, you can find them and copy them to '/usr/libexec/apache2/' (same folder as in 10.6)

18) Then, my iPhone was not recognized, because somehow either the Lion or Xcode installers have removed a file call 'usbmuxd' and support files. To get this working again, I had to reinstall iTunes from scratch, like this:
   - Via 'Terminal', deleted iTunes: 'sudo rm -R /Applications/iTunes.app'
   - Next, I followed the steps outlined here: support.apple.com/kb/ht1747
   - Then I downloaded iTunes from Apple's site and installed it.
iPhone is back!

19) Activated the software licenses again (see step 6).

20) If you run Windows in Parallels 6 off a Bootcamp partition, and it won't start with Parallels, do what is described here: http://kb.parallels.com/en/111629

21) And the last thing I did was repair disk permissions via Disk Utility.

22) A restart and back to business.

23)
If QuickTime Player X is behaving strange, like when you click a player's window, you click through it, get rid of old files in the Preferences folder. Open Terminal and type the following exactly as written:
cd ~/Library/Preferences
rm *QuickT*X*


 
View Comments
 

Mac OS X Dock Separators

Here are some Mac OS X Dock separators (dock-separators(apps-intel)). These are mainly dummy apps and folders with a transparent icon and names that consist of only spaces. The apps are all Intel-only. The .zip contains 6 apps, the first one has a name of 1 space and the 6th one has a name of 6 spaces, and 3 folders with the same transparent icon and spaces as names. Here's how I use them:

Screen Shot 2011-07-25 at 13.42.08
View Comments
 

ICSviewer

iconA small program to convert a calendar-export (.ics-file) to table-format and calculate working hours, so you can copy and paste the results of your calendar entries into an invoice or a spreadsheet.
Download here.
View Comments
 

Growl for REALstudio / REALbasic / Xojo

If you want an easy way to implement Growl notifications into a REALstudio project, download this zip-file: growl-for-realbasic It contains the following objects:

Growl.rbo
growlNotifyScript.scpt
growlRegisterScript.scpt
growlRunningScript.scpt


I added the check if the GrowlHelper application is running before issuing Growl-commands.
To use the class, copy the four files into your project's folder and all four objects into your REALstudio project and then double-click the Growl-class to open it. Inside is a Notes-section which explains how to use it.
(Original source code can be found here at BitBucket)
View Comments
 

HandbrakePM - A batch video encoder

Handbrake is the video converter ... but it lacks one thing: batch encoding. This is where HandbrakePM comes in handy. Simply drag and drop a whole series of files onto the app, select your options and press 'Convert'.
You can
read more about it or choose for a direct download (Mac Intel only).
View Comments
 

PTViewer on Mac OS X

If you want to install ptviewer.jar (view 360° images) in /Applications, it won't start right. After you move it into /Applications, modify the permissions of the file: select the file, press CMD+I or select File->Get Info... from the menu bar:

ptviewer
Click on the lock (1) and enter the administrator's username and password. Usually that's you.
Next (2), set 'Everyone' to 'Read & Write' and close the window.

Now it works.
ptviewer1
I made some photos of my office with my iPhone4, turning my desk chair 360 degrees and stitched them together on my iPhone with AutoStitch. Looks great in PTViewer!
View Comments
 

Deskovery is fun

Deskovery (-> website) is handy and also for fun. Drop all other 'green button'-resize plug-ins or apps. This is the one to use!

deskovery2

And it makes dragging windows funny! I took the screenshot while dragging a window with Deskovery enabled.

deskovery1
View Comments
 

Certified Lasso Developer 'Bragware'

As stated in their email in which I received this medal: pure bragware! In that case ... Let's brag! Pasted Graphic 1

First-100-new
View Comments
 

Coding Lasso with RapidWeaver as a framework

I have created a page of how I recently found a cool way to use #RapidWeaver, #Lasso and #Coda at the same time and use RapidWeaver only for the framework, which it does very good.

View Comments
 

Using Kaleidoscope with Coda

Here is a short description of how to replace opendiff so Coda coda uses Kaleidoscope kaleidoscope instead of Apple's FileMerge.
 
View Comments
 

Starter-app for Yaoqiang BPMN Editor

I have made a starter-app which starts the Yaoqiang BPMN Editor .jar-file. It's only meant for use with the Mac OS X dock, because you can't position a .jar-file in the application section of the dock.
You can find it on my REALbasic page.

Screen shot 2010-12-08 at 18.02.15
View Comments
 

At the Lasso Developer Conference 2010



The Euro Lasso Developer Conference 2010 was held in Berlin on 30 and 31 of october 2010 @ GLS Campus Berlin. Organized by ANU Internet Services, this was a great idea and happening. The brand new Lasso 9 was discussed very much; various demos and presentations of code and sites built with Lasso 9. LassoSoft announced they found an investor and were getting back on track! Only good news - of course!
It was nice to meet fellow developers who I normally only have contact with by reading and posting to mailing lists.
Thanks to Chris Wik from ANU for his spontaneous idea and rapid put-together of a well done DevCon!

Presentation Videos:
The Eurolasso Channel @ Bambuser

More links:
Database Versioning by Johan Sölve
L-Debug and L-Benchmarking by Ke Carlton
Twitter
Flickr

View Comments
 

Install Lasso 9 from svn on Mac OS X client

I have put together instructions on how to install Lasso 9 from the svn repository on a Mac. The content is derived from pages at LassoTech, extended with stuff I came across during installation or via email exchange with fellow coders.
View Comments
 

Remove headers and footers from PDF documents

Ever wanted to get rid of disturbing headers and footers in PDFs? Here's an easy way to do this (when you have Mac OS X 10.6 running).
View Comments
 

ThrashBoxes stack editable background

For the ThrashBoxes stack from SymfoniP, for use with Stacks from Yourhead, I created a layered Photoshop file which can be used to create a different background. Read on...
View Comments
 

Use OpenMeta to find files in OS X's Finder

The Finder supports OpenMeta in its search options. To have the possibility at hand, you must add the option to the menu first. Otherwise you have to select it first, every time you open a search in the Finder. To add Tags to the options menu, take the following steps:

1) Open a new finder window



2) Enter search mode.
The default is to search in the contents of files, but... when you hold down the shift key with the menu open, the Find item changes into Find by Name...



3) Open the 'Kind' menu by clicking on it and choose 'Other...'





4) Tags
Scroll down or type 'meta' in the search field and look for the entry named 'Tags'. Check the box in the column 'In Menu' and click OK.



5) Search using Tags
When you leave the search field blank, 'Contents' or 'File Name' are not used in the search.
With Tags-search, you can enter multiple keywords, separated by a space.



If you want to use a command line tool to write metadata to files yourself, you can download an installer right here.
If you are looking for GUI clients, look here.
View Comments
 

Lasso syntax coloring file for gEdit

I created a Lasso language file for gEdit. Download it here.
View Comments
 

Using FTP in Lasso

I created a page about the various ways to use the FTP protocol with Lasso, from and to various systems. Find it here. I have been trying to get it work the last few days and now that it does, I wanted to share what you can do. Of course there are probably installations where it all works out-of-the-box, but this time not with me.
View Comments
 

SetEXIFData 2.9

A new version of SetEXIFData is on-line. You can find it here.
Changes:
  • Added a checkbox to set if the address data from Google Maps should be put into the comment field.
  • Added a 'Set startup' button on the geotag window so you can set your own startup coordinates when the window loads.
  • When 'Start over' is pressed, all new fields are now cleared too.
View Comments
 

SetEXIFData 2.8

A new version of SetEXIFData is on-line. You can find it here.
Changes:
  • Added fields for camera info: Make, Model & Extra Camera Info.
  • Added a field for a Document Name. You can store the original name of an image here.
  • Added a field for a Comments (goes into 'usercomment').
  • The Caption/Description is now also stored in 'imagedescription'.
View Comments
 

Inhoudsopgaven iCreate 1 t/m ...

Ik heb een abonnement op iCreate en omdat F&L dit magazine niet digitaal uitbrengt, houdt ik de inhoudsopgaven digitaal bij in Evernote, zodat ik ze toch kan doorzoeken naar een bepaald onderwerp. Ik heb dit Evernote notieblok shared gemaakt, zodat iedereen kan het gebruiken om te zoeken naar een artikel: http://www.evernote.com/pub/macvos/icreateinhoud

Rechtsboven is een zoekveld en daarmee kan je alle inhoudsopgaven doorzoeken naar steekwoorden, ook die met plaatjes of PDF inhoud. Evernote haalt de tekst er uit en slaat die apart, doorzoekbaar, op! Echt super!

Links zie je een knop 'Attributes'. Als je op het pijltje klikt volgen er submenus. Als je die opent door op het pijltje te klikken, krijg je extra filters waarmee je het overzicht kan aanpassen. Bijvoorbeeld 'Attributes->Contains->PDF' laat alleen de inhoudsopgaven zien met PDF inhoud. Dat heb ik gelukkig niet allemaal zelf hoeven te regelen, daar zorgt Evernote voor!

evernote


[De link naar Evernote bestaat niet meer - ik heb mijn abonnement opgezegd en zag geen reden om de oude inhoudsopgaven te bewaren]
View Comments
 

Image dimensions in MacJournal

MacJournal is a great blog and notebook program! However, you cannot see or edit the image's dimensions. You can drag the bottom-right corner when you want to resize an image, but also then there is no feedback regarding the image's dimensions. There is a way, though, to find out what the dimensions are, before you post. Use Art Directors Toolkit ($39.95, upgrade $19.95) or ARTIS Screen Tools ($9.95) rulers. Here is a screenshot of how you can measure an image in MacJournal with Art Director:

Screenshot2010-02-16at16.37.48-2010-02-16-16-40
Here is also a screen shot with ARTIS rulers. Note that Art Director's rulers move as one block - they're connected like on a drawing table. But ARTIS Screen Rulers float independent from one another. So it is what you prefer.

Screenshot2010-02-16at17.15.24-2010-02-16-16-40
Both these rulers always stay on top, and that is what is most important.

I looked at Free Ruler but those rulers are just like a document window - they do not float on top of everything. Then there is Rulers which places two rulers at your screen's top / left borders. They float on top of everything and you measure by placing horizontal and vertical guide lines on the screen. Both are not good for my purpose. For those who need it, ARTIS also offers grids and guides on your screen in the Screen Tools package as separate programs, which are, in my opinion a much nicer solution than Omnidea's Rulers.

Update 13-11-2015: Since then Xscope has emerged. Use that one, it is very good.
 
View Comments
 

SetEXIFData 2.7

A new version of SetEXIFData is on-line. You can find it here.
This new version has the possibility of adding/subtracting a fixed amount of time and a minor repair.
View Comments
 

Geocodes for SetEXIFData

Ah, I finally got the Geocoding right! I was wondering why the pawn always jumped to the nearest known location or why it always gave the nearest known location although I put the pawn in the middle of nowhere. After examining lots of example's on Google's website I finally got it : the real geocodes are in the response.name field. So now I return those to the caller - in this case SetEXIFData.

You do not need to update; it's all on the web-server side of things.
 
View Comments
 

Smart Mailboxes in Apple Mail

Smart Mailboxes in Apple's Mail are cool! I have set up an In & Sent smart mailbox which shows me all my incoming and sent messages, grouped by thread. Here's how to set it up:

First, create a Smart Mailbox:

Screenshot2010-01-21at19.01.24-2010-01-21-18-56

Then and add all Inboxes and Sent mailboxes from the email accounts you use. Choose the rule 'Message is in Mailbox' for every entry as I did in the example below.

sm1-2010-01-21-18-56

Next, drag the Smart Mailbox to the top in sidebar. Then you have it at hand all the time.

sm3-2010-01-21-18-56

And last, set the view to Threaded:

sm2-2010-01-21-18-56
View Comments
 

SetEXIFData 2.5

A new version of SetEXIFData is on-line. You can find it here.
This new version has
Geotagging and some minor repairs.
 
View Comments
 

Bootcamp partition

I use Parallels Desktop for Mac (have used VMWare Fusion, but found it really slow) but I find it too slow to work with on a daily basis. Therefore I thought I'd switch to a Bootcamp partition and boot the Mac directly into Windows. That way it would a) be faster and b) at last I could use my cheap Windows USB film scanner and digital Blocknote, which Parallels was never able to recognize. So said, so done. But yesterday two things happened :
  • My MacbookPro wouldn't boot off the Windows partition anymore - it simply remained stuck in the startup process. I don't know why... it's just disappointing after so many hours.
  • In my email I saw an announcement of Parallels 5.
I started reading about Parallels 5 and it said that at last it would recognize all USB hardware, was Snow Leopard ready and could boot off a Bootcamp partition. A few seconds later I had my upgrade serial numbers and was installing P5 over P4.

After installation I started my normal Windows XP virtual machine and let P5 upgrade it. Then I quitted the machine and backed up the 40 Gb file to my Drobo. Then I clicked the big + to add a new virtual machine and chose 'Bootcamp' and hoped that it would pick it up. It did! After a while P5 was ready to start and so I did. P5 created a 2Gb virtual disk - I don't know why and booted the Bootcamp Windows XP without any troubles. And you know what? It runs almost 10x faster off the Bootcamp partition as with its normal virtual disk structure. With P4 and the virtual disk, MS-Excel 2003 took ages to start up. But now, it's like a flash - as if I've booted directly into Windows. And... it recognized indeed my cheap Prolectrix film scanner and my cheap Medion digital blocknote. Great, really great! Of course I immediately backup up the 2Gb virtual disk and the bootcamp partition to my Drobo. You can backup and restore a Bootcamp partition with Winclone.
View Comments
 

Virtual host order on Mac OS X Server

I am in the process of converting my website forwarding setup to actual host names (A-records). I was quite reluctant to do this at first, because I could not oversee the consequences and googling didn't reassure me either. But on the LDC09, I talked to Chris who kindly explained to me how easy and unproblematic this actually is. Being a sceptic, I did not start by converting all entries at once, but I do convert one entry per day - when it succeeds.

The first one went wrong already because of my logical thinking as a programmer. I pointed the subdomain name to our Mac OS 10.4 server and setup the site there, putting the default (*) at the bottom. Hey, where is a catch-all entry for!? It belongs at the end, just like with a if/else/end - the last 'else' is the catch-all. But from that moment on, every site landed on my newly created domain, so I quickly swapped the two site entries so that the catch-all was the first one again. Now it worked.

So I made a whole plan : setup a subdomain on one afternoon and check if it works the next morning. This way I set some others up on this 10.4 server and they all work.

Then comes the day I needed to setup the same construct on a Mac OS 10.5 Server. So I deleted the website forwarding entry, created the A-record, created the site on the OS X server, leaving the catch-all at the top and waited until the next morning. The domain name worked all right, but landed on /library/webserver/documents/ (the www-root) instead of the path I put into the site. I have been struggling for two days with this 10.5 server. I checked and double checked, changed the site's path, etc.. Nothing worked, it kept landing on the webroot. And today I thought, what if I swap the site entries and put the default (*) at the bottom (as I did at first on the 10.4 server) and ... it worked! I tested the other sites which have no domain name yet (website forwarding) and they all work ok.

So the order for site entries on MacOS 10.4 Server differs from MacOS 10.5 Server. You can see that in the
sites folder inside the Apache folder (/etc/httpd/ on 10.4 and /etc/apache2/ on 10.5). Sites are loaded by including sites/*.conf and the order is determined by the name of the conf-files (10.5 example):

-rw-r--r-- 1 root wheel 1659 Nov 1 17:12 sites/0000_any_80_my.site.com.conf
-rw-r--r-- 1 root wheel 1857 Nov 1 17:12 sites/0001_any_80_default.conf
-rw-r--r-- 1 root wheel 566 Nov 1 17:12 sites/virtual_host_global.conf


So it seems on 10.5 the catch-all sites are loaded last.
View Comments
 

ScreencastsOnline

Don McAllister of ScreenCastsOnline made a great show this weekend on the new Services-setup in Snow Leopard. Check it out here. BTW, Don has a lot of good podcasts on Mac software - a must-view for Mac users! Very useful tips for those, like me, who rarely use the Services or Automator!
 
View Comments
 

At the Lasso Developer Conference 2009

LDC09-2009-10-5-22-17

From october 1 thru 4, the Lasso Developer Conference 2009 was held in Amsterdam. For me, this was the first time because a) it was in Amsterdam and b) Lasso 9 would be introduced and c) at last I would meet quite a few fellow Lasso-ers in real life.
There were some round-tables and workshops presented by Lasso-ers themselves, where some interesting topics were discussed and great solutions to returning questions were offered.
LassoSoft picked a real cool location: Spaces at the Herengracht. You can see some photo's of it here.

It was great. Thanks Lassosoft and everyone for this opportunity!

DSCF0114-2009-10-5-22-17.JPG

LDC09 Video's :
YouTube - LassoSoft's channel

Here are some links to LDC09 material :
LassoTech
At_begin URL-handling and REST
Version Control Systems
L-Migrator presentation
itPage presentation
Lfor presentation
Encoding and Character-sets
File permissions
jquery Week calendar

Check out the lively Lasso community at LassoTalk
And Brian's blog-post
View Comments
 
See Older Posts...
© 1997- Marc Vos (and others) Contact Me