Post

Replies

Boosts

Views

Activity

How to create a text file in Apple Script?
`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
2
0
1k
May ’22
How to create a text file in Apple Script?
`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
Replies
2
Boosts
0
Views
1k
Activity
May ’22
How to get an incoming file in Apple Script
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?
Replies
6
Boosts
0
Views
1.4k
Activity
May ’22
Apple Script: posix alias to posix file
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
Replies
2
Boosts
0
Views
1.3k
Activity
May ’22
Combining SwiftUI & SpriteKit
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 ❤️
Replies
6
Boosts
0
Views
1.7k
Activity
Oct ’23