Projects that use Python can be compiled to native, and an application could have an embedded interpreter, but if the framework is expecting to have some kind of system Python installation available, then no.
Post
Replies
Boosts
Views
Activity
Note that desktop and mobile devices use different operating systems and processors. You would need to build a version of Python that can be embedded into your iOS app.
Apps need to be self-contained and can't read or write data outside their containers, or download or execute code that change its features or functionality, but there are applications in the store that contain interpreters to run code - Pythonista, for example (not to mention web browsers). But yes, for a library it would be better to build one from Python code rather than embedding a multi-megabyte interpreter for it.
Regular AppleScript is limited to what you can do with display dialog, but AppleScriptObjC can be used to access the Cocoa APIs. For something like the password input, you would be looking at using an NSAlert with a couple of NSTextFIelds in an accessory view.
You would need to declare some kind of input (URLs, web content, etc) in order for the system to know when to list the service.
No, you need to be the age of majority in order to enter into legally binding agreements. A parent or guardian can share a (preferably new) account with you, but it will be under their name, since they would be the responsible party. You can transfer stuff to your own account when you are old enough.
No, the name will be that of the parent (the developer's personal name). You might be able to use an organization/company (not a sole proprietorship or single person business), but that is a whole different can of worms (organization entity, D-U-N-S number, etc).
Your link is the current documentation, and includes that method. The template just has the basics; you are expected to add other delegate methods and configure the Info.plist as desired. Note that you can set up your own project and file templates, although information about that is difficult to find.
That "bunch of files and folders" are the sources to build it yourself - check the README. They also have forums, which would probably be a better place to ask your questions.
Errors in folder actions will fail silently unless you trap them. You can use a try statement, but in your snippet you are ignoring any errors, such as:AppleScript itself doesn't know about file names, so you need to use something that does, such as Finder;The shell uses spaces as delimiters between arguments, so you need to make sure they are used as needed when appending the various text items;File paths should be quoted or special characters (spaces, etc) otherwise escaped to prevent misinterpretations.I don't know the purpose of passing the folder name in addition to the full path (also note that a list of the dropped items are passed to the handler in the added_items argument), but after fixing the above items, your snippet would be something like:on adding folder items to this_folder after receiving added_items
try
tell application "Finder" to set filename to name of this_folder
set p to quoted form of POSIX path of this_folder
do shell script "/path/to/script " & p & space & quoted form of filename
on error errmess number errnum
display alert "Error " & errnum message errmess
end try
end adding folder items to
Your timing might just be bad, but the reference would be to the toilet paper shortages that are one of the headline items of the current pandemic. It would appear that they don't want apps of this kind in the App Store, but you would need to continue your discourse with the review team.
When using the repeat with X in Y form of the repeat statement, the loop variable X is actually a reference to an item in the list Y. Depending on what you are doing with the variable X, the value may not be dereferenced (yet), so comparisons can fail. To be sure you are using the value of X instead of its reference, you can coerce it to the desired class or get its contents, for example:if contents of X = "whatever" then somethingAlso note that index is reserved word (note the different font in the Script Editor), and may result in unexpected behavior if used as a variable name.(Edit: ninja'd by hhas01)
In AppleScript, the words of a string are where there is a continuous series of letters, numbers, and certain symbols, so an easy way to get rid of that whitespace would be to get the first word, for example:first word of fileCount
Your installer would need to place the file there before it can be used like that. You can also place the icon file in the application bundle's Contents/Resources folder and access it using path to resource.
All the open handler does is pass on the items that were dropped onto the application, it doesn't have anything to do with the type of files. Has the Info.plist been modified? Does it do the same thing from a new user account?