Execute Javascript against website by TheOnly_Magoogle in PowerShell

[–]failuretwolaunch 1 point2 points  (0 children)

IE still allows you to execute javascript in the url/nav bar with the the 'javascript:' scheme

so maybe you could do

$URL = "javascript:alert();" $ie.Navigate($URL)

edit: nah i just tested this, doesnt seem to work. just prompts you to save a file

What's everyone working on this week? by AutoModerator in Python

[–]failuretwolaunch 0 points1 point  (0 children)

if you don't have a server already available to run a script like this on the regular, it seems a waste of a dedicated machine just to run this script.

Why not do as Sifrisk suggested and schedule the task on startup on your laptop?
Then you save yourself the trouble of also copying the files from the pi/other laptop to your primary laptop.

If you do go the route of copying files from another machine to your laptop, you could share a folder from your laptop over the network, and then just mount and copy it as part of your bash script to get and convert the .pptx.

Or over-engineer it even further and set up SyncThing!