[過去ログ]
Tasker 質問スレ 21 (1002レス)
Tasker 質問スレ 21 http://egg.5ch.net/test/read.cgi/android/1661597389/
上
下
前次
1-
新
通常表示
512バイト分割
レス栞
抽出解除
必死チェッカー(本家)
(べ)
自ID
レス栞
あぼーん
このスレッドは過去ログ倉庫に格納されています。
次スレ検索
歴削→次スレ
栞削→次スレ
過去ログメニュー
107: 名無しさん@お腹いっぱい。 [sage] 2022/10/07(金) 21:44:59.75 ID:LpNruUgF ●Tasker有無: 購入済み ●Androidバージョン:11 oneplus9R ●root有無: あり ●やりたいこと ・現在地の「日の出」「日の入り」の時刻を取得したい ●やってみたこと ここのサイトを参考に設定してみました。 https://androidappsea.com/tasker/12-darkmode-sunset 結果下記の時間になってしまいます。 %Sunrise -10:43 %Sunset 26:52 どこが間違っているのか分からないので何方か教えて頂けないでしょうか。 http://egg.5ch.net/test/read.cgi/android/1661597389/107
108: 名無しさん@お腹いっぱい。 [sage] 2022/10/07(金) 21:45:27.65 ID:LpNruUgF A1: Get Location [ Source: Net Timeout (Seconds): 30 ] A2: Variable Set [ Name: %location To: %LOCN Max Rounding Digits: 3 Structure Output (JSON, etc): On ] A3: Variable Set [ Name: %location To: , Max Rounding Digits: 3 Structure Output (JSON, etc): On ] A4: Variable Set [ Name: %request_para To: &lat=%location(1)&lng=%location(2) Max Rounding Digits: 3 Structure Output (JSON, etc): On ] A5: HTTP Request [ Method: GET URL: https://api.sunrise-sunset.org/json?%request_para&formatted=0 Timeout (Seconds): 30 Structure Output (JSON, etc): On ] A6: JavaScriptlet [ Code: const json = JSON.parse(http_data); var sunrise = json.results.sunrise; var sunset = json.results.sunset; var rise_hours = sunrise.substring(11,13)-15; var rise_minutes = sunrise.substring(14,16); var set_hours = sunset.substring(11,13)-15+24; var set_minutes = sunset.substring(14,16); var sunrise = rise_hours +":"+rise_minutes; var sunset = set_hours + ":" + set_minutes; Auto Exit: On Timeout (Seconds): 45 ] A7: Variable Set [ Name: %Sunrise To: %sunrise Max Rounding Digits: 3 Structure Output (JSON, etc): On ] A8: Variable Set [ Name: %Sunset To: %sunset Max Rounding Digits: 3 Structure Output (JSON, etc): On ] A9: Flash [ Text: %Sunrise %Sunset Continue Task Immediately: On Dismiss On Click: On ] http://egg.5ch.net/test/read.cgi/android/1661597389/108
メモ帳
(0/65535文字)
上
下
前次
1-
新
書
関
写
板
覧
索
設
栞
歴
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.039s