Skip to main content
15 events
when toggle format what by license comment
Feb 8 at 9:03 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Oct 11, 2023 at 8:01 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Jun 13, 2023 at 3:06 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Feb 13, 2023 at 3:03 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Oct 16, 2022 at 2:08 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Jun 18, 2022 at 1:01 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Feb 18, 2022 at 0:07 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Oct 21, 2021 at 0:06 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Jun 23, 2021 at 0:05 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Feb 22, 2021 at 23:07 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Jan 23, 2021 at 22:23 answer added user3439894 timeline score: 1
Jan 23, 2021 at 22:11 comment added JVC I'm not a trained coder, I'm just using whatever works so, it doesn't surprise me that there are poor coding practices here as I have no coding practices. Interesting suggestions on the temp file though, I may see if I can just inject a plist value and use that and then remove it. Since I'm already using a plist anyway, would keep it clean.
Jan 23, 2021 at 18:10 comment added user3439894 That said, I see three different variable coding styles in your code and IMO this just is a poor coding practice. Choose a single style and carry it throughout the coding of the script. That's not to say there are not exceptions, however choosing a single style and being consistent makes the code easier to read and maintain.
Jan 23, 2021 at 18:10 comment added user3439894 If I was doing something such as this for myself, I would simply write the contents of "code" to a temporary text file then use osacompile to create the AppleScript application bundle and then delete the temporary text file. Doing it in this manner you should not have do deal with the single-quotes passed in a variable.
Jan 22, 2021 at 4:51 history asked JVC CC BY-SA 4.0