見出し画像

カレンダーPlusをカレンダー以外につかいたい!

2020.12.24追記
「カレンダーPlus」の「アドベントカレンダー」の24日が空いていましたので、既出ですが、本記事で埋めさせていただきました。
折角ですので、おまけとしてクリスマスにちなんだサンプルデータを掲載します。^^

ラジカルブリッジさんの「カレンダーPlus」、カレンダー以外に使ってみるのも面白そう。ということで、「ドット絵エディタ」を思いつきました。

ドット絵エディタ

いわゆる方眼紙の塗り絵ですね。ゲームのキャラクタ(スプライトっていうやつ)を作ったりするときも使います。小学生の頃、2mmグラフ用紙に鉛筆でゲームキャラクタを描くのが流行ってよく遊んでました。

カレンダーPlusのイベントは、12色に色分けできるので、あとは正方形になるような設定さえあればなんとかなるはず。

あれこれ触った結果、

既定のカレンダー表示形式 *
日別表示(リソース別)

時刻間隔 *
5分

リソース別スケジュールオプションの利用設定 ※Pro専用機能
行 (ドロップダウン)

をポイントに設定したらなんとかなりそうな感じ。よしっ!

フォームの設定

フォームの設定はこんな感じ。フィールドコードも同じです。
行のドロップダウンは、00~15まで、16種類あればOK(それ以上も可能)

カレブラフォーム01

画像4

カレンダーPlus設定

カレンダーPlusの設定はこんな感じ

カレブラ設定01b

一覧の設定

一応、一覧の設定も載せておきます。

画像7

画像7

画像7

で、あとは、ポチポチとドットに見立てたスケジュールを10分単位でいれてくだけ。色はマウス右クリックで変更できます。

だけど、これ試用版でやったので、入れるたびにポップアップが。。。^^;

そして、間違えて左クリックするとフォーム詳細画面に飛んでしまって。。。

いやいや、本来そうあるべき機能ではあるんですが、なんとも根気のいる作業でした。

もっとうまい方法はないものかと考えているうちに。。。

完成!!

画像5

ジグソーパズルが完成したような達成感がありました。^^;

CSVデータ

元データ貼っておきます。興味ある方はアプリを作ってさくっと読み込んでみてください。^^

橙色や桃色など、パレットや行の文字数を統一してるのは、テキストエディタで色々修正する場合に、桁をあわせておいた方が何かと作業しやすいためです。^-^

"タイトル","行","パレット","開始日時","終了日時"
"XmasTree","00","黄色","2020/12/25 07:00","2020/12/25 07:10"
"XmasTree","01","黄色","2020/12/25 06:50","2020/12/25 07:00"
"XmasTree","01","黄色","2020/12/25 07:00","2020/12/25 07:10"
"XmasTree","01","黄色","2020/12/25 07:10","2020/12/25 07:20"
"XmasTree","02","黄色","2020/12/25 07:00","2020/12/25 07:10"
"XmasTree","03","緑色","2020/12/25 07:00","2020/12/25 07:10"
"XmasTree","04","緑色","2020/12/25 06:50","2020/12/25 07:00"
"XmasTree","04","緑色","2020/12/25 07:00","2020/12/25 07:10"
"XmasTree","04","緑色","2020/12/25 07:10","2020/12/25 07:20"
"XmasTree","05","緑色","2020/12/25 06:40","2020/12/25 06:50"
"XmasTree","05","緑色","2020/12/25 06:50","2020/12/25 07:00"
"XmasTree","05","赤色","2020/12/25 07:00","2020/12/25 07:10"
"XmasTree","05","緑色","2020/12/25 07:10","2020/12/25 07:20"
"XmasTree","05","緑色","2020/12/25 07:20","2020/12/25 07:30"
"XmasTree","06","緑色","2020/12/25 06:30","2020/12/25 06:40"
"XmasTree","06","桃色","2020/12/25 06:40","2020/12/25 06:50"
"XmasTree","06","緑色","2020/12/25 06:50","2020/12/25 07:00"
"XmasTree","06","緑色","2020/12/25 07:00","2020/12/25 07:10"
"XmasTree","06","緑色","2020/12/25 07:10","2020/12/25 07:20"
"XmasTree","06","紺色","2020/12/25 07:20","2020/12/25 07:30"
"XmasTree","06","緑色","2020/12/25 07:30","2020/12/25 07:40"
"XmasTree","07","緑色","2020/12/25 06:20","2020/12/25 06:30"
"XmasTree","07","緑色","2020/12/25 06:30","2020/12/25 06:40"
"XmasTree","07","緑色","2020/12/25 06:40","2020/12/25 06:50"
"XmasTree","07","緑色","2020/12/25 06:50","2020/12/25 07:00"
"XmasTree","07","緑色","2020/12/25 07:00","2020/12/25 07:10"
"XmasTree","07","灰色","2020/12/25 07:10","2020/12/25 07:20"
"XmasTree","07","緑色","2020/12/25 07:20","2020/12/25 07:30"
"XmasTree","07","緑色","2020/12/25 07:30","2020/12/25 07:40"
"XmasTree","07","緑色","2020/12/25 07:40","2020/12/25 07:50"
"XmasTree","08","緑色","2020/12/25 06:30","2020/12/25 06:40"
"XmasTree","08","緑色","2020/12/25 06:40","2020/12/25 06:50"
"XmasTree","08","紫色","2020/12/25 06:50","2020/12/25 07:00"
"XmasTree","08","緑色","2020/12/25 07:00","2020/12/25 07:10"
"XmasTree","08","緑色","2020/12/25 07:10","2020/12/25 07:20"
"XmasTree","08","緑色","2020/12/25 07:20","2020/12/25 07:30"
"XmasTree","08","緑色","2020/12/25 07:30","2020/12/25 07:40"
"XmasTree","09","緑色","2020/12/25 06:20","2020/12/25 06:30"
"XmasTree","09","緑色","2020/12/25 06:30","2020/12/25 06:40"
"XmasTree","09","黄緑","2020/12/25 06:40","2020/12/25 06:50"
"XmasTree","09","緑色","2020/12/25 06:50","2020/12/25 07:00"
"XmasTree","09","緑色","2020/12/25 07:00","2020/12/25 07:10"
"XmasTree","09","水色","2020/12/25 07:10","2020/12/25 07:20"
"XmasTree","09","緑色","2020/12/25 07:20","2020/12/25 07:30"
"XmasTree","09","緑色","2020/12/25 07:30","2020/12/25 07:40"
"XmasTree","09","緑色","2020/12/25 07:40","2020/12/25 07:50"
"XmasTree","10","緑色","2020/12/25 06:10","2020/12/25 06:20"
"XmasTree","10","緑色","2020/12/25 06:20","2020/12/25 06:30"
"XmasTree","10","橙色","2020/12/25 06:30","2020/12/25 06:40"
"XmasTree","10","緑色","2020/12/25 06:40","2020/12/25 06:50"
"XmasTree","10","青色","2020/12/25 06:50","2020/12/25 07:00"
"XmasTree","10","緑色","2020/12/25 07:00","2020/12/25 07:10"
"XmasTree","10","緑色","2020/12/25 07:10","2020/12/25 07:20"
"XmasTree","10","緑色","2020/12/25 07:20","2020/12/25 07:30"
"XmasTree","10","黄色","2020/12/25 07:30","2020/12/25 07:40"
"XmasTree","10","緑色","2020/12/25 07:40","2020/12/25 07:50"
"XmasTree","10","緑色","2020/12/25 07:50","2020/12/25 08:00"
"XmasTree","11","緑色","2020/12/25 06:00","2020/12/25 06:10"
"XmasTree","11","緑色","2020/12/25 06:10","2020/12/25 06:20"
"XmasTree","11","緑色","2020/12/25 06:20","2020/12/25 06:30"
"XmasTree","11","緑色","2020/12/25 06:30","2020/12/25 06:40"
"XmasTree","11","緑色","2020/12/25 06:40","2020/12/25 06:50"
"XmasTree","11","緑色","2020/12/25 06:50","2020/12/25 07:00"
"XmasTree","11","緑色","2020/12/25 07:00","2020/12/25 07:10"
"XmasTree","11","緑色","2020/12/25 07:10","2020/12/25 07:20"
"XmasTree","11","緑色","2020/12/25 07:20","2020/12/25 07:30"
"XmasTree","11","緑色","2020/12/25 07:30","2020/12/25 07:40"
"XmasTree","11","緑色","2020/12/25 07:40","2020/12/25 07:50"
"XmasTree","11","緑色","2020/12/25 07:50","2020/12/25 08:00"
"XmasTree","11","緑色","2020/12/25 08:00","2020/12/25 08:10"
"XmasTree","12","茶色","2020/12/25 07:00","2020/12/25 07:10"
"XmasTree","13","茶色","2020/12/25 07:00","2020/12/25 07:10"
"XmasTree","14","橙色","2020/12/25 06:50","2020/12/25 07:00"
"XmasTree","14","橙色","2020/12/25 07:00","2020/12/25 07:10"
"XmasTree","14","橙色","2020/12/25 07:10","2020/12/25 07:20"
"XmasTree","15","橙色","2020/12/25 06:50","2020/12/25 07:00"
"XmasTree","15","橙色","2020/12/25 07:00","2020/12/25 07:10"
"XmasTree","15","橙色","2020/12/25 07:10","2020/12/25 07:20"

では、皆様によいクリスマスがおとずれますよーに!

Merry Christmas!

いいなと思ったら応援しよう!