Trixology
WeatherCat => WeatherCat Feature Requests => Topic started by: wurzelmac on October 26, 2015, 02:16:12 PM
-
How about an additional entry in Tools: Upload Custom Web Now (similar to Update Weather Now)?
If I change anything in my WeatherCat controlled Website (Custom Web) I have to wait for the next scheduled upload or quit and restart WC if I do not want to wait (in my case) 15 minutes to see how the changes take affect.
Test Web Pages Locally is not a good alternative, because it clutters the screen, opens up apps like TextWrangler and TextEdit and opens every single WC-created page in a new browser tab. Apart of this no CSS structures are recognized.
Cheers,
Reinhard
-
That would definitely come in handy from time to time!
Alan
-
Dear Reinhard, Alan, and WeatherCat web spinners,
How about an additional entry in Tools: Upload Custom Web Now (similar to Update Weather Now)?
This isn't as convenient but close. Run this tiny AppleScript and it will cause WeatherCat to upload on the next weather sync. Here is the code:
-- Force processing of WeatherCat custom web.
--
-- Running this script will cause WeatherCat to immediately
-- process custom web templates and upload them to your
-- server
tell application "WeatherCat"
set RunCustomWeb to true
end tell
The AppleScript is also attached to this posting. You should be able to just download it, decompress it, load it into the AppleScript editor, and finally run it.
If you do this a lot. You might want to save it as an AppleScript application so that you can just double-click on it to cause WeatherCat to upload on the next data fetch.
Cheers, Edouard
-
Thanks for the script, Edouard! I will keep it in the toolbox for sure.
Alan
-
Added, thanks for the suggestion [tup]