2018年10月10日 星期三

Google Photos Edit Date and Time (googlePhotosEditDateAndTime.exe)

I write a program to auto set the timestamp and time zone of google photos by photo's file name.


SYNOPSIS: googlePhotosEditDateAndTime.exe Firefox_Profile_dir url [time_zone]
EXAMPLE: googlePhotosEditDateAndTime.exe C:\Users\cc932168\AppData\Roaming\Mozilla\Firefox\Profiles\lcn61zo9.default https://photos.google.com/album/AF1QipMJaDedz6M6Byr6EAX7B0hIF-XjFEMTxf50PPWv/photo/AF1QipOO52M6GtDXmAz3krX_2gOS4m7OaH5raq9wVCve GMT+09:00

Firefox_Profile_dir: Firefox_Profile_dir
url: album or photo url
time zone: optional

Note:
  1.  Photo file name should be in the format: yyyy-mm-dd_hh-mm*.*
    "-" or "_" can be replaced with any other separators.
  2. Only works with Firefox.
  3. Download geckodriver.exe and put it in C:\Program Files\Green\Selenium\.
  4. Run this program as administrator if there is permission issue.
  5. Wait 1 min for browser to start.
Hope it helps.

file link:
https://drive.google.com/drive/folders/1i71e5Hr_eTnDU7FcjoRZFGgFCrW48VFA?usp=sharing

Version history:
  • 2.8: 2019-08-09
    • bug fix: Changing time zone changes timestamp.
  • 2.7: 2019-08-01
    • adapt program to the changed Save button
  • 2.6: 2019-06-06
    • bug fix
  • 2.5: 2019-02-02
    • accept album url
  • 2.0: 2018-12-20
    • Almost rewrote everything. Much more robust.
    • set window size
    • auto click info button
    • if no time zone argument, no change to time zone
    • ck time zone
    • change time zone then timestamp
    • wait for date changed message
  • 1.0: 2018-10-10: bday
tag: googlePhotos, timestamp