I want to receive an incoming file (for example, if the file is opened through my application) and store it in a variable. Can it be done?
Post
Replies
Boosts
Views
Activity
`set theName to text returned of (display dialog "Please, enter name of your file:" default answer "" with icon note buttons {"Cancel", "Continue"} default button "Continue")
set New_script_path to "/Users/" & theUser & "/Library/Application Support/GD Saver/Scripts/" & theName & ".txt"
--I need to create a text file in New_script_path
I have path /private/tmp/test.txt, need to convert it into POSIX file (I need just convert "/private/tmp/test .txt" to "StartUpDisk:private:var:tmp:test.txt)". Can I do it?
Thanks :)
It's application, written on AppleScript using Script Editor
I'm trying to add a SpriteKit scene to my view using
SpriteView(scene:SKScene(fileNamed: "SceneName")!). This works well, but how can I interact with the scene?
Thanks in advance for your answer ❤️